Commit Graph
48 Commits
Author SHA1 Message Date
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
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
2007-01-24 17:15:54 +00:00
Alfred Maxwell Byers 9b0a33c64d This is all the front-end code and data required to implement the blog example in ecommerce.
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
2007-01-24 05:17:03 +00:00
Jacques Le Roux 64cea174fc This is the change of ASL2 headers in properties files only. Please see comments in another post in dev ML.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497074 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:49:01 +00:00
Jacques Le Roux a5632fa086 This is hte change of ASL2 headers in java files only.
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
2007-01-17 10:22:33 +00:00
David E. Jones cc48bcbf8f Fixed problem with map-key alternative of assoc-name in the sub-content screen widget element; thanks to Scott Gray for tracking this down, and Tim Ruppert for reporting the problem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493653 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 05:38:24 +00:00
Jacques Le Roux 7732c9fab8 A fix from Jacopo tested by Guido Amarilla and myself (fr_FR), thanks to both.
This closes "Incorrect Product Supplier update and delete in some locales" (https://issues.apache.org/jira/browse/OFBIZ-430)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@491871 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 17:52:50 +00:00
Si Chen e0356e3658 Reverting SVN r 486834. This caused a bug on certain types of forms where a column which should be there was not displayed properly.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487657 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 20:53:59 +00:00
Si Chen ce38a5527d Fixed off by one bug with rendering date fields. These were truncating the date fields from 2006-12-15 to 2006-12-1.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487653 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 20:36:04 +00:00
Jacques Le Roux 05c7f9af8f A patch from Valentina Sirkova "Unnecessary extra cells on list based tables" (https://issues.apache.org/jira/browse/OFBIZ-542).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486834 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 20:44:40 +00:00
Jacques Le Roux bd428bde64 A patch from Stefan Huehner "Code-Cleanup: new Boolean(true) -> Boolean.TRUE" (https://issues.apache.org/jira/browse/OFBIZ-530).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484976 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 12:19:28 +00:00
Jacques Le Roux 084ff1b883 A patch from Stefan Huehner "Code-Cleanup: remove unncessary return at end of void function" (https://issues.apache.org/jira/browse/OFBIZ-536).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484972 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 11:52:56 +00:00
Jacques Le Roux 9b3b889c7b A patch from Stefan Huehner "Remove unused variables" (https://issues.apache.org/jira/browse/OFBIZ-525).
Issue is not closed : more patches to come

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483405 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 10:21:27 +00:00
Jacques Le Roux eb82782d03 A patch from Stefan Huehner "Remove unused variables" (https://issues.apache.org/jira/browse/OFBIZ-525).
Issue is not closed : more patches to come

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483235 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 21:18:30 +00:00
Jacques Le Roux 0ed0f5da92 A patch from Stefan Huehner "New translation: framework/widget/config/conditional_de.properties" (https://issues.apache.org/jira/browse/OFBIZ-524)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@482923 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 06:38:35 +00:00
Jacopo Cappellato b05f4a66a1 Major refactoring of the Apache FOP rendering engine: upgrade from .20.5 to .92
Special thanks to John Martin and Christian Geisert for this work: OFBIZ-311


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481558 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 13:37:24 +00:00
Jacopo Cappellato ce45592d88 Two of the getDescription(...) methods in the ModelFormField class, were returning the string " " if no description was found.
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
2006-11-28 06:51:15 +00:00
Jacopo Cappellato 33464ff3f8 The special characters for xml (not allowed in xsl-fo template) from the data formatted by the form widget are now escaped.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@478959 13f79535-47bb-0310-9956-ffa450edef68
2006-11-24 19:42:44 +00:00
David E. Jones aedde559c3 Applied patch from Jean-Sebastien Hederer with some improvements to the date-time field for different types to format the output and such, plus a couple of minor changes; Jira #OFBIZ-470
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476606 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 21:09:57 +00:00
David E. Jones fc96cf5ab7 Changed all build files to add NOTICE and LICENSE files to the META-INF directory in each jar file that is created in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472422 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 08:23:23 +00:00
Jacopo Cappellato 51d6070cf4 Patch from Ashish Vijaywargiya (OFBIZ-428) to fix the path to the calendar lookup images (from content/images/ to images/).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471445 13f79535-47bb-0310-9956-ffa450edef68
2006-11-05 15:34:57 +00:00
Jacopo Cappellato d5a96e45f4 Following David Jones's suggestions in OFBIZ-364, I've added a new attribute to the "form" element:
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
2006-10-31 08:14:14 +00:00
David E. Jones 9a50907566 Added option to condition-expr to ignore-case, makes things lots easier when you need something like that
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469046 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 02:45:34 +00:00
Jacopo Cappellato 2183320453 Added ability to pass (in the context) to a form (widget) a new parameter "overrideFormListSize" that can be used to specify the total size of a list (that could be different from the list passed to the form):
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
2006-10-18 16:01:20 +00:00
Jacopo Cappellato cb3243b751 Removed author information from all the files of the "widget" component: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454108 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 09:36:29 +00:00
Jacopo Cappellato 137ab48677 Fixed bug reported in OFBIZ-222: Prev/Next links in multi forms are messed up after form is submitted.
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
2006-10-06 08:44:28 +00:00
Jacopo Cappellato b79f8b95c5 Removed unused import statements from Java classes.
Patch from Peter Goron (OFBIZ-349).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@452088 13f79535-47bb-0310-9956-ffa450edef68
2006-10-02 15:50:00 +00:00
Jacopo Cappellato eb224eab4c This is a fix for rendering of numeric values both in ftl templates and in form widget.
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
2006-10-02 09:52:36 +00:00
Si Chen 38db2ed389 OFBIZ-240 - Render a selectAll checkbox for forms of type multi. To activate it, define a field named _rowSubmit of type <check/> and give it a title.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@449813 13f79535-47bb-0310-9956-ffa450edef68
2006-09-25 20:59:02 +00:00
Jacopo Cappellato cf3a1546e6 Ooops... reverted some changes I've committed in my last commit.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446860 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 12:11:19 +00:00
Jacopo Cappellato beeebda7d1 Applied patch from Scott Gray to clean up the last (hopefully) Copyright issues.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446858 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 12:04:10 +00:00
Jacques Le Roux f9be7d3cf8 Allow extending a form widget from a different file with the same form name.
A patch from Marco Risaliti (https://issues.apache.org/jira/browse/OFBIZ-301)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446825 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 07:46:14 +00:00
Jacques Le Roux 897dd56291 I think we loosed this _es.properties files between use of translation_es.patch and translation_es_v2.patch. Here they are
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@434410 13f79535-47bb-0310-9956-ffa450edef68
2006-08-24 15:58:37 +00:00
David E. Jones 2bed1ca2ca Changed form widget to look at VIEW_INDEX/SIZE and the normal field name in the parameters map if it doesn't find it in the root context
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@434127 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 19:11:11 +00:00
Jacopo Cappellato e26dea93ca Implemented first version of xml export feature for form widgets.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430717 13f79535-47bb-0310-9956-ffa450edef68
2006-08-11 08:01:43 +00:00
Jacopo Cappellato 9c4a0da540 Very first draft of the implementation of fo widget styles applied using a properties file.
Now the Chart of Accounts report looks pretty good.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430511 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 20:08:24 +00:00
Jacopo Cappellato bfdfa6e46b Changed blank character code from "&nbsp;" to "&#160;" to make it work also with fo templates
Thanks to Christian Geisert for the patch.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430317 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 08:49:23 +00:00
Jacopo Cappellato a95b6e9092 Added support for select box rendering in fo widget forms: the selected value is shown.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430281 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 06:29:27 +00:00
Jacopo Cappellato d0cf4510fc First version of the class to render fo templates out of form widgets:
* 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
2006-08-09 05:09:45 +00:00
Si Chen 0a589bb6f1 Change defaults of ModelFormField to be same as XSD and moved the dropdown box to before the entry field OFBIZ-64
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429909 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 01:09:54 +00:00
David E. Jones bea65ea45b Addressed some issues with i18n stuff and comparisons, type conversions; for numbers spaces are removed before parsing; for comparing with constants the en locale is assumed, ie the right value or value2 is mean to be a constant (we might have to do something with expanded strings here, but there string expansion should also generally expand numbers in the system or en locale; may still be an issue there, but the FlexibleStringExpander does a toString to this should be fine); this should fix Apahce Jira OFBIZ-133 and OFBIZ-136
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429249 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 06:11:08 +00:00
David E. Jones 16a808de60 Applied patch from Peter Goron in Apache Jira #OFBIZ-128; should fix issue with form widget prev/next URLs when cookie sessions not used; have not tested extensively, but should not have side effects
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429239 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 04:58:53 +00:00
Jacopo Cappellato 0d1b150e70 Two changes to the way search fields are rendered in form widgets:
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
2006-08-02 05:55:21 +00:00
Jacques Le Roux 47fb1295a2 The introduction of spaces around = was annoying for synchro of Neogia. I reverse without it.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@426467 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 10:10:16 +00:00
Jacques Le Roux 5f9d8563d9 Update of french labels
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@426429 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 08:17:45 +00:00
Hans Bakker a11fffe61c date search field in form widget had 'same_day' and 'equals' checked both. This gave problems in the Konqueror browser under kde linux which did not select anything
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424145 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 00:14:24 +00:00
Jacopo Cappellato 13ab84d538 License change from MIT to ASL2.0 for the files of the widget component.
Thanks to Scott Gray for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423829 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 08:46:57 +00:00
David E. Jones edeedd289d Some minor XSD changes, mostly moving documentation over from the MiniLang Guide to annotations for the simple-map-processor; a lot to do for the simple-method...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@421508 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 06:08:18 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00