Jacopo Cappellato
fefd8ae37e
Added support for default-value attribute to the set operation in form widget actions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583366 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 06:34:13 +00:00
Jacopo Cappellato
ae24b42ad7
Added ability to specify an event/action pairs on an hyperlink field.
...
Added escape code for input text fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583091 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 10:17:22 +00:00
Jacques Le Roux
735deae442
This solve the "Quote WorkEffort bug" issue reported by Bilgin Ibryam ( https://issues.apache.org/jira/browse/OFBIZ-1180 ) - OFBIZ-1180.
...
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
2007-10-05 16:35:33 +00:00
Alfred Maxwell Byers
f751ac43e1
Tuning the method so that it gives passed dataResourceId priority over passed contentId, but not
...
over content.dataResourceId.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578181 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 15:49:07 +00:00
Alfred Maxwell Byers
e0d985e8cc
The content widget was not using the dataResourceId attribute. To make it work I had to
...
copy someone's brilliant WidgetContentWorker pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577932 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 21:30:44 +00:00
Alfred Maxwell Byers
48b92accf0
Added FreeMarkerWorker.getSiteParameters to render method.
...
This data, particularly "rootDir", is used loading FTL content templates.
I figured it could not hurt normal screen rendering.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576757 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 07:49:16 +00:00
David E. Jones
c9ac857f36
Applied little patch from Ray Barlow to correct unencoded ampersand; Jira #OFBIZ-1174
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574442 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 03:34:31 +00:00
Andrew Zeneski
1413bff0a3
simple implementation of textfield readonly attribute (for html forms)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571237 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 16:41:09 +00:00
Jacques Le Roux
acd59a2780
A patch from Adrian Crum "Improved template rendering error message" ( https://issues.apache.org/jira/browse/OFBIZ-1188 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564974 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 20:52:20 +00:00
Jacques Le Roux
5de7fe7c5e
A patch from Adrian Crum "HtmlTreeRenderer.java Outputs Improperly Nested <ul> Elements" ( https://issues.apache.org/jira/browse/OFBIZ-1195 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564961 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 20:00:25 +00:00
Jacques Le Roux
9245703ffc
A patch from Adrian Crum "Improved Time Zone Support, Part 2" ( https://issues.apache.org/jira/browse/OFBIZ-1164 )
...
Please see comments in Jira issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564957 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 18:40:45 +00:00
Jacopo Cappellato
d98a35d6c8
Implemented a standard XSL-FO template to display error messages returned while rendering XSL-FO reports.
...
This is probably a workaround (the ideal solution is to get the ViewHandlerException better treated by the view handler framwork) but it works to avoid the ugly 'not valid PDF stream' message returned before.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564615 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 15:21:35 +00:00
Jacopo Cappellato
ca363554cf
Added support for multiple submit fields in multi forms.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@561872 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 17:04:48 +00:00
Jacopo Cappellato
7d1b1c0db5
Small improvement to the widget form renderer for text based forms.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@561234 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 05:52:57 +00:00
Si Chen
f199366c97
Created a new ScreenRenderException to reduce the amount of error messages logged
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@561025 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 15:59:50 +00:00
Jacopo Cappellato
170938907c
""
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560947 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 12:35:59 +00:00
Jacopo Cappellato
2a1960e818
Implemented widget screen renderer.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560945 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 12:33:17 +00:00
Jacopo Cappellato
1bd4dbbac0
Two small fixes to the html generated by the form widget renderer.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560938 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 12:27:35 +00:00
Jacques Le Roux
e88347441e
A patch from Jeremy Wickersheimer "Enhanced pager for Forms" ( https://issues.apache.org/jira/browse/OFBIZ-1096 )
...
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
2007-07-28 09:21:09 +00:00
Jacopo Cappellato
dcaa6b8448
This is the first version of the screen output cache mechanism.
...
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
2007-07-25 10:04:28 +00:00
David E. Jones
b9324b9f0f
Changed annoying message to verbose
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@558244 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 05:17:14 +00:00
Hans Bakker
345228eda8
ofbiz-1155: problem with 2 <content tags in a screen definition: solved now
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557859 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 03:30:39 +00:00
Jacques Le Roux
6c9cf43d7c
Reverted from 557554 to 553237 and reapplied the patch from https://issues.apache.org/jira/browse/OFBIZ-1152
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557582 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 11:43:34 +00:00
Jacques Le Roux
3e9468e09d
A patch from Pierre Gaudin "error in view-size used for paginate = "false" form" ( https://issues.apache.org/jira/browse/OFBIZ-1152 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557554 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 10:17:29 +00:00
Jacques Le Roux
174bcd8621
A patch from Shi Yusen "zh properties in progress" ( https://issues.apache.org/jira/browse/OFBIZ-617 )
...
The framework part was still waiting to be commited
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556459 13f79535-47bb-0310-9956-ffa450edef68
2007-07-15 21:40:04 +00:00
Jacopo Cappellato
d27339035f
Misc fixes to the new widget form text renderer.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556401 13f79535-47bb-0310-9956-ffa450edef68
2007-07-15 12:30:48 +00:00
Jacopo Cappellato
8cbf9a7bf9
Implemented a very simple widget form renderer and screen view handler for text based output (e.g. csv files etc...)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556302 13f79535-47bb-0310-9956-ffa450edef68
2007-07-14 17:27:39 +00:00
Jacques Le Roux
2cb6db7b5b
A patch from Adriam Crum "Small Fixups for OFBIZ-642" ( https://issues.apache.org/jira/browse/OFBIZ-1147 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556141 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 20:41:11 +00:00
Jacques Le Roux
4b03206292
A 1st patch (htmlwidget.patch 2 kb)from Adriam Crum "Make OFBiz more dial-up friendly" ( https://issues.apache.org/jira/browse/OFBIZ-642 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@555988 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 13:31:48 +00:00
Jacopo Cappellato
6d01bb2ecf
New timeZone auto attribute is not added to the form by the auto-service operation.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@553237 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 15:19:48 +00:00
David E. Jones
b7feb3d18f
Appled patch from Adrian Crum in Jira #OFBIZ-1117 to add some timeZone passing and retreival code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@553122 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 08:20:55 +00:00
Jacopo Cappellato
0861097708
Hidden and ignored fields (and the form around them) are rendered only if there is at least one input field.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550387 13f79535-47bb-0310-9956-ffa450edef68
2007-06-25 06:56:50 +00:00
Jacopo Cappellato
e2f65649ba
The header cells of fields where the title attribute is explicitly set to empty are not rendered.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550179 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 08:35:45 +00:00
Jacopo Cappellato
2fe07f1528
Implemented support for the 'position' attribute in list based form widgets.
...
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
2007-06-24 05:09:41 +00:00
Jacopo Cappellato
399fab0d33
Applied patch by Adrian Crum to implement User Time Zone Selection Capability.
...
OFBIZ-1079
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@548646 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 08:08:53 +00:00
Jacopo Cappellato
44f5f4d1dd
Russian labels from Oleg Andreyev OFBIZ-1037
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545455 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 08:23:18 +00:00
Jacopo Cappellato
9c916e816e
Implemented first simple version of the Screen Widget Renderer for Fo (Formatting Objects): OFBIZ-809
...
It is now possible to decorate the screen definition with container and label elements.
For a poc see the agreement item product report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545225 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 15:58:26 +00:00
David E. Jones
07b48643c5
As noted needing to be done by Jacques Le Roux did a search/replace on source=1.4 and changed to 1.5
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541997 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 15:55:18 +00:00
Jacopo Cappellato
068789ea9c
Applied patch from Scott Gray as a temp fix to disable all the roundings done in the ui.
...
This will help to expose all the processes where rounding should be better handled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541209 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 07:11:12 +00:00
Jacopo Cappellato
1df72bc377
Applied patch to html encode the content of textareas. From OFBIZ-1002
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540456 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 07:39:04 +00:00
David E. Jones
3615b44490
Added comment about a problem that could come up, but based on a quick review most likely won't
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540322 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 22:22:41 +00:00
Jacopo Cappellato
f6d09295b0
After reading again David Jones's comment, I've slightly modified my previous patch.
...
Please David, review if you can.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540174 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 15:30:57 +00:00
Jacopo Cappellato
320d50f4e0
Formatting cleanups: tabs to spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540167 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 15:16:08 +00:00
Jacopo Cappellato
d67d19d8da
Bug fix: the value returned by the genEnt map was not assigned to a variable.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540166 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 15:15:28 +00:00
David E. Jones
6cdf0ee6b4
Some fixes for menu widget loading, especially for extended/parent menus which now works properly
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539894 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 17:11:26 +00:00
David E. Jones
e5986a66c2
Small improvements to include alt-target, actions and row-actions for extended forms; also change to not try to get from a GenericEntity if it isn't a field of that entity, avoids lots of warning messages
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539831 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 06:37:22 +00:00
David E. Jones
7d70c41c12
Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Si Chen
49ce472213
Convert newlines to proper html br with the form widget. From Scott Gray. OFBIZ-973
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536576 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 16:19:19 +00:00
Hans Bakker
72132f3013
Bunch of NL updates by Perry Smit from morevalue.nl
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536128 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 08:57:35 +00:00
Andrew Zeneski
5cd5d63cb9
applied patch from Ashish Vijaywargiya making generic use of pulling data from request, session, etc into a combined map; refactored to remain backwards compatible JIRA issue OFBIZ-967
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536030 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 00:25:01 +00:00