Thanks to Chris Howe for the initial patch, that I have modified to make it backward compatible with the old syntax.
This will improve the scripts reusability. OFBIZ-278
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505882 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
It also relies on two service files committed earlier - BlogServices.java/xml
Not much attention has been paid to style or layout. We will count on the folks at HotWax Media to add their secret sauce.
The two areas on which the most attention were:
1. Getting the permission scheme to work correctly.
2. Getting the complex content rendering to work. It uses the widget screens as templates.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499264 13f79535-47bb-0310-9956-ffa450edef68
Seems correct (35827 lines to review ;o).
I just wonder if we should keep the copyright comment in Classpath.java (about MortBay)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496982 13f79535-47bb-0310-9956-ffa450edef68
I've replaced it with an empty "" string (as suggested by David Jones) because this class should not contain html specific code and in fact this was causing problems in forms rendered as PDF.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@479931 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
this is very useful when pagination is handled manually in scripts.
Thanks to Leon Torres for this patch (that I've slightly modified during review): OFBIZ-364.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@465282 13f79535-47bb-0310-9956-ffa450edef68
This was caused by the presence in the links of the parameters submitted by the multi form.
I've fixed implementing a new method that takes as input the parameters map and returns as output a map without the multi-form parameters.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@453530 13f79535-47bb-0310-9956-ffa450edef68
The problem was that the number of fractional digit used was the default one for the locale (usually 3) and for this reason many numbers were truncated in the screens.
I have fixed this by setting the maximum number of digits to 10.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451937 13f79535-47bb-0310-9956-ffa450edef68
* a new FoFormRenderer class that implements the FormStringRenderer interface in order to provide a fo representation of a form widget definition.
* small change to ModelForm class (new getter method) needed because I have to read the form's list
* moved the initialization of the "formStringRenderer" object, from the ScreenRenderer class to the ScreenFopPdfViewHandler and ScreenWidgetViewHandler classes (so that the former can instantiate the new FoFormRenderer class and the latter the HtmlFormRenderer)
The FoFormRenderer class is far from complete:
* in single forms, the position attribute is ignored (nulti columns single forms are not still supported)
* all the style attributes from the form definitions are ignored
* in list forms, all the columns are rendered with the same size
* left/center/right alignment of cells' content is not supported
* field groups are not supported
* banner and image fields are not supported
* in general see the TODO comments near the methods that should be implemented
However we can now render both list and single forms in a nice PDF format without errors.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429966 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