Commit Graph
334 Commits
Author SHA1 Message Date
Jacques Le Roux 14adf43d86 * Especially fix a bug in fieldlookup.js.
When using description-field-name in a layered lookup called from another layered lookup (recursively or not) the description-field-name parameter (target2) in the call from the 2d lookup button was not modified, therefore the link was not working.

Miscellaneous:
* Format and fix some typos in fieldlookup.js
* Removes now useless commented out functions set_value and set_values in lookup.ftl
* Improves comments in FormWidgetExampleForms.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947392 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 10:08:21 +00:00
Jacques Le Roux fda988d301 Closes "Allow to open a layer lookup from a layer lookup recursively" (https://issues.apache.org/jira/browse/OFBIZ-3693) - OFBIZ-3693
This commit removes all remaining <presentation="window">

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946073 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 07:36:02 +00:00
Erwan de Ferrieres ebbef0d683 As suggested by Bruno in this thread, refactoring in charts
http://ofbiz.135035.n4.nabble.com/Charting-in-OFBiz-td2219378.html#a2219378

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945523 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 07:14:50 +00:00
Erwan de Ferrieres a877c6fc4b Adding the capacity to create charts in OFBiz. Examples are based on the example component, and examples must be created to show charts.
Charts are using the flotr library (http://code.google.com/p/flotr/) which is under a MIT license and is based on the Prototype Javascript Framework.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945044 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 09:29:38 +00:00
Jacques Le Roux 62976e36fb We still have a problem with the find button in recursive cases (ie LookupWorkEffort and LookupContent).
It's not related to previous patches committed but an issue which is remaining and we have to face now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944647 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:13:03 +00:00
Jacques Le Roux 2cec8a31b0 client-autocomplete-field="true" is useless since it's the default value (thanks to Scott for the reminder). I was thinking about lookup descriptions, but Bilgin has activated it by default at r936638, so nothing is needed :o)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942667 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 06:36:43 +00:00
Jacques Le Roux b759c6031b Show client-autocomplete-field usage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942576 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 18:39:03 +00:00
Jacques Le Roux d8e6120200 By default, the layer is not centered anymore.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942574 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 18:20:47 +00:00
Jacques Le Roux b9ccc674b9 Clarify things a bit more (from a question on user ML)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942573 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 18:20:04 +00:00
Jacques Le Roux c44089d6a9 As it's the default, presentation="layer" is not needed anymore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942572 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 18:13:01 +00:00
Scott Gray 0f30714350 Set svn properties on all freemarker files that were missing them
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942386 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 13:51:19 +00:00
Jacques Le Roux dd11ac1b1a A patch from Ankit Jain "Allow to open a layer lookup from a layer lookup" https://issues.apache.org/jira/browse/OFBIZ-3446 - OFBIZ-3446
Uncomment the line to return the name in the calling screen

I have also added groupName in the name returned (when looking for  partyGroup)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940401 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 09:10:49 +00:00
Jacques Le Roux 465213125f Temporary workaround to fix an issue in the lookup in lookup Example
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940248 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 15:48:53 +00:00
Jacques Le Roux 4891c2f0cd A modified patch from Sascha Rodekamp "Missing Buttons on LookUp Search" (https://issues.apache.org/jira/browse/OFBIZ-3745) - OFBIZ-3745
For the pagination issue in bluelight and droppingcrumbs, the calendar issue in bluelight still exists
I have also added 2 lookup and calendar test fields in the 2d lookups.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940234 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 14:15:34 +00:00
Jacques Le Roux ad20beb7a9 An improving patch from Chris Snow "Provide better user help" (https://issues.apache.org/jira/browse/OFBIZ-3702) - OFBIZ-3702
Answers 3 of 4 points Scott outlined on dev ML



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939216 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 06:39:25 +00:00
Scott Gray 52b08f4574 Removed all references to the deprecated GenericDelegator method findAll(String)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@938947 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 11:30:23 +00:00
Jacques Le Roux 2f6a7c3d09 A slightly modified patch from Chris Snow "Provide better user help" (https://issues.apache.org/jira/browse/OFBIZ-3702) - OFBIZ-3702
Provides help by hovering over the field label. See Example for... an example :o) And also https://issues.apache.org/jira/secure/attachment/12442717/fieldLabelTooltip2.png


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@938844 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 10:02:57 +00:00
Jacques Le Roux 4cd873d37c A slightly modified "only one lookup decorator" patch from Sascha Rodekamp related to "Replace popup lookups by layer lookups" (https://issues.apache.org/jira/browse/OFBIZ-3442) - OFBIZ-3442
Merge the 2 lookup decorators in only one and dynamically adapt the rendered content

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935578 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 14:03:41 +00:00
Jacques Le Roux cda9848407 Labels for r935075 ("Change the lookups in example to better demonstrate the differences between popup and layer")
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935084 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 21:52:30 +00:00
Jacques Le Roux f390b092a3 Change the lookups in example to better demonstrate the differences between popup and layer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935075 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:38:53 +00:00
Bilgin Ismet Ibryam 82a5bf6b02 A patch from OFBIZ-3555 "Show lookup value descriptions". This enhancements allows displaying a description for the IDs in lookup fields. To enable this feature set widget.lookup.showDescription to Y in widget.properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933130 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 07:54:10 +00:00
Scott Gray bc0607b0c8 Remove some unused view-maps that point to a non-existent screen def
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931987 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 16:01:09 +00:00
Scott Gray cce3a162fb Fix wrong location path
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931791 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 05:52:48 +00:00
Adrian Crum da42890638 A patch from Blas Rodriguez Somoza - XHTML validation errors (framework excluding widget) (https://issues.apache.org/jira/browse/OFBIZ-3622).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930701 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 15:29:58 +00:00
Bilgin Ismet Ibryam de0b52bfe6 Removed hardcoded width and height pixels from google map template, which now allows setting them also in percentages.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928733 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 11:51:49 +00:00
Jacques Le Roux 5a64b4b0da In order to fix issues after issues, I commit this patch from Sascha Rodekamp that fixes "Allow to open a layer lookup from a layer lookup" (https://issues.apache.org/jira/browse/OFBIZ-3446) - OFBIZ-3446
This patch does not fix an issue with calendar in layered lookups. So I will create a new Jira for that.
Also it introduces a small drawback: you can't no longer close a layered lookup with the right left cross button. But Esc. is still working, so it's not a blocker. I will have a look at this and if needed will create a new Jira 







git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928292 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 21:56:24 +00:00
Hans Bakker e237fe0ba6 if menu and portalpage options are mixed, tomahawk did not display correctly in the example component and other places as reported by Bruno in the mailing list. should work now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928131 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 03:39:08 +00:00
Scott Gray 6109808c8a Tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924378 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:28:01 +00:00
Jacques Le Roux ca38a526fa Following r921421, here is the right and simplest solution (KISS way).
Simply encoding the tooltip (why I did not think about that before, really sometimes I wonder how my brain is working, I need to stop working for it to begin to work)
There are no needs to encode char like >, but of course < is needed (in he XML file) since else there is a problem in the XML labels file (always the same issue: around vs inside)
So yes, it's only a matter of encoding at the right place, ie before the "around vs inside" issue arises
Good night ;)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@921643 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 00:20:57 +00:00
Jacques Le Roux 248b851c03 Better explanation of lookup fields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@921432 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 16:23:29 +00:00
Jacques Le Roux be7c45c096 You can't use double quote in tooltips. I tried to find a quick way to allow this in MacroFormRenderer.appendTooltip() but gave up, too narrow need.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@921421 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 16:12:30 +00:00
Jacques Le Roux 9fbb7f392c Fix a small encoding bug found in Example Widget form
Set default values for fields 4&5 (time dropdowns)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@921401 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 15:29:44 +00:00
Jacques Le Roux 9014106755 A modified patch from Sascha Rodekamp "Some improvements for the layer lookup" (https://issues.apache.org/jira/browse/OFBIZ-3524) - OFBIZ-3524
A little fix for the faded background and make fading as default.
I have also refactored a bit the lookups examples fields

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@920061 13f79535-47bb-0310-9956-ffa450edef68
2010-03-07 19:23:42 +00:00
Jacques Le Roux 423ce79a21 A slightly modified patch from Sascha Rodekamp " Some improvements for the layer lookup" (https://issues.apache.org/jira/browse/OFBIZ-3524) - OFBIZ-3524
A flag was added to fade the background behind the layered lookup (ie all the screen but the lookup) when a layer is opened.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917940 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 10:02:04 +00:00
Jacques Le Roux b632244a4f A patch from Sascha Rodekamp "Refactor fieldlookup.js" (https://issues.apache.org/jira/browse/OFBIZ-3491) - OFBIZ-3491
Mostly changes in the fieldlookup.js to make the code a little bit smaller. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917250 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 18:54:15 +00:00
Bruno Busco 41aeeb3317 Added "create" classes to pertinent buttons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911187 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 22:02:54 +00:00
Erwan de Ferrieres e717e378ed The auto-completer (in lookup fields) default behavior is "%fieldValue%" (contains operation).
This allows to change the behavior to "fieldValue%"(statrWith operation) when setting to "Y" the searchTypeStartWith field

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910587 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 16:42:00 +00:00
Jacques Le Roux 1aaa73329d Label for ExampleLookupFields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909925 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 22:48:12 +00:00
Bilgin Ismet Ibryam 7a33922084 Removed freemarker expressions from labels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907610 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 10:26:40 +00:00
Jacopo Cappellato ef303e9b41 Added missing license headers.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907415 13f79535-47bb-0310-9956-ffa450edef68
2010-02-07 11:52:35 +00:00
Jacopo Cappellato 75a3c9f270 Added a bunch of missing license headers; we'll have to pay more attention on this in the future.
Still some work needs to be done in order to have the codebase inline with the ASF policies as it used to be.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907413 13f79535-47bb-0310-9956-ffa450edef68
2010-02-07 11:24:45 +00:00
Erwan de Ferrieres 522b4ef150 Reverting rev906020 as it was introducing a dependency with commonext in the framework
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907308 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 21:05:41 +00:00
Jacques Le Roux 4e1b11a80e Begin to fix things a bit in the example component (related to the layered popups effort)
* consistent names and actions (lookup by Id is not by Name)
* introduces a layered popup for the features
* continue to use height and width as demonstration but with appropriate values

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907270 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 18:37:46 +00:00
Erwan de Ferrieres 95f44ea337 Fixed a missing license header, tabs to spaces and removed trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906981 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 15:56:01 +00:00
Erwan de Ferrieres 5734f37e47 Simplifying example menus writings, closing XML tags directly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906980 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 15:51:41 +00:00
Jacques Le Roux 2b1c7c2292 The syntax of the new attributes introduced by the layer lookup were verbose.
We know we are in a lookup element and no attributes interfere. So I reduced the verbosity by removing the "lookup-" part everywhere it was possible (ie everywhere)
So we go from
    lookup-presentation
    lookup-height
    lookup-width
    lookup-position
to
    presentation
    height
    width
    position
in the lookup element

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906584 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 18:02:38 +00:00
Jacques Le Roux 06aaa2d4b5 Temporary workaround to avoid a bug in FormWidgetExampleForms.xml (complete r906526)
In r906526 I let the tooltip I put while looking for a solution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906538 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 16:07:55 +00:00
Jacques Le Roux dc54b43982 Temporary workaround to avoid a bug in FormWidgetExampleForms.xml.
Looks like it's related to an UEL interpretation error but it's deep rooted and I did not get enough time to debug now. Anyway not a big deal, and I will get back to it soon..

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906526 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 15:33:27 +00:00
Erwan de Ferrieres c0d92376ab changeOrgPartyId.groovy wasn't called in the example component, and then was producing errors when accessing the component with dropping crumbs theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906020 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 12:05:22 +00:00
Jacques Le Roux 4e78c6d974 A patch from Sascha Rodekamp "UI upgrade, new lookups" (https://issues.apache.org/jira/browse/OFBIZ-3374) - OFBIZ-3374
It's not perfect, but hopefully this time I will not have to revert it. I think it's time to introduce it, to let everybody have an idea and test.
Anyway, it can't hurt as it's only used in the Form Widget Examples screen for now. To test: https://localhost:8443/example/control/FormWidgetExamples

I find that the positioning mechanism is only working with the bizznesstime theme (at list centering, the only case I tried with all themes). But it should not be a big deal to fix since it works already in one theme.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904047 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 11:57:12 +00:00