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
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
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
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
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
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
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
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
* 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
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
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
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
The leftbar content is now defined using the "left-column" ApplicationDecorator section instead of setting the variables "leftbarScreenName", "leftbarScreenLocation" and "MainColumnStyle".
The logic that checks if the "left-column" section has content, and thus if a left column must be rendered, has been moved from the GlobalDecorator to the ApplicationDecorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894330 13f79535-47bb-0310-9956-ffa450edef68