1. Better screenlet collapsible implementation.
2. New widget: horizontal-separator.
The id attribute is no longer required for collapsible screenlets. Just use collapsible="true".
The horizontal-separator widget can be used to divide complicated screens - as an alternative to using screenlets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667723 13f79535-47bb-0310-9956-ffa450edef68
Changed attribute-based ajax calls to on-event-update-area elements. Fixed bug in autocomplete. Cleaned up some of the rendering code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661450 13f79535-47bb-0310-9956-ffa450edef68
I'm in the process of finishing the widget code that implements this, but I wanted to get this out there right away due to the parallel Ajax efforts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661345 13f79535-47bb-0310-9956-ffa450edef68
The original Ajax work was a great start, but there were limitations. These changes open things up a bit: 1) Ajax rendering falls back to plain HTML when the user has JavaScript disabled. 2) You can have more than one area updated during an event.
IE7 updates only <div> elements, so be aware of that when using the Ajax feature.
See the Example component for a demonstration.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658281 13f79535-47bb-0310-9956-ffa450edef68
The form widget defaults to 10 items per page. That setting can be changed with the <form> element view-size attribute.
This commit eliminates the need for setting VIEW_SIZE and VIEW_INDEX parameters in the screen definition. I updated an Accounting screen in this commit to demonstrate.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655550 13f79535-47bb-0310-9956-ffa450edef68
The attribute autocomplete="on/off" is supported by most browsers in input fields of type "password" and "text" and also in the "form" element and it controls the autocomplete features of the browser.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@614619 13f79535-47bb-0310-9956-ffa450edef68
Also when overriding a form field you can now override whether the field is required or not. This involved updating the form widget schema to remove the default value, so it won't have any effect until I update the website.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608730 13f79535-47bb-0310-9956-ffa450edef68
It does not solve the issue reported in comment https://issues.apache.org/jira/browse/OFBIZ-1180#action_12524674 "Adding WorkEffort to Communications in party manager is also broken due to extending EditWorkEffort." because then we get java.lang.IllegalArgumentException: Could not find screen with name [EditCommEventWorkEffort] in class resource [component://party/widget/partymgr/CommunicationScreens.xml]. But this is another problem : no EditCommEventWorkEffort screen is declared in CommunicationScreens.xml ! I will create a new issue for that...
I wait a bit before back porting in release4.0, to be sure that my (very simple) solution is ok for everybody.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582338 13f79535-47bb-0310-9956-ffa450edef68
I just added the CommonOf between lines numbers.
Tested with LookupPartyName on Firefox, IE7, and last Opera : works fine
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560524 13f79535-47bb-0310-9956-ffa450edef68
It is still not ready for production because it needs much more tests, but I'm already committing it mainly for three reasons:
1) all the changes are well isolated
2) unless you explicitly set use-cache to true in a screen definition, everything will work as usual
3) I'd love to get some feedback from the community
To test it: just set the use-cache attribute to true in a screen definition (<screen name='someName' use-cache='true'>), then you'll find a new entry in the WebTools-->cache screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@559384 13f79535-47bb-0310-9956-ffa450edef68
1) added new attribute, 'default-position', to the auto-fields-entity and auto-fields-service element: this is useful to specify a default position for the fields inherited by an entity or service definition
2) change the signature of two methods in the FormStringRendered interface (and classes that implement it), to pass the number of columns spanned (in header and item rows)
3) a lot of code has been refactored/modified in the ModelForm class: new support for position in list, code cleanups with no functional changes, bug fixes (including bugs reported in OFBIZ-1071 and OFBIZ-542), added comments to code, formatting fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550168 13f79535-47bb-0310-9956-ffa450edef68
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
override-list-size
It can be used to pass a custom list size (differnt from the actual list size) that can be useful for pagination purposes under some circumstances.
The attribute can accept the ${} notation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469408 13f79535-47bb-0310-9956-ffa450edef68
1) in thext fields, the "ignore case" option is true by default and the "begins with" option is the defalt one
2) the available search options for text and date fields are now rendered with drop down boxes instead of radio boxes
OFBIZ-64
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@427905 13f79535-47bb-0310-9956-ffa450edef68