Jacopo Cappellato
380356c730
Implemented option to render the widget pdf report as portrait or landscape.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430420 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 16:16:35 +00:00
Jacopo Cappellato
0f5642c436
& character converted to &
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430333 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 09:23:50 +00:00
Jacopo Cappellato
bfdfa6e46b
Changed blank character code from " " to " " 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
David E. Jones
c177531b50
Added some handy methods to StringUtil for padding number strings and adding a number to a number string
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430253 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 05:19:05 +00:00
Jacopo Cappellato
2bb7fa616e
Small misc cleanups to the form widget pdf template.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430094 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 16:55:09 +00:00
Jacopo Cappellato
017027d1ac
Misc small improvements to the global widget decorator for pdf reports.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430083 13f79535-47bb-0310-9956-ffa450edef68
2006-08-09 16:12:57 +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
Jacopo Cappellato
a543d99790
New global decorator for simple pdf reports: it is composed of a small header with the current date, screen name and logo and a footer with number of page/pages.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429657 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 14:11:31 +00:00
David E. Jones
1ca55265cc
Changed to use TransactionUtil instead of the TransactionManager directly
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429598 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 06:30:40 +00:00
David E. Jones
f39198d6c3
Made change recommended by Scott Gray to move to better behavior when a mail store can't be connected to on startup, ie keep track of it anyway and just log messages over time about failure; I agree that it seems silly to give up on it for as long as the server is running just because we couldn't connect on startup; Apache Jira #OFBIZ-140
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429595 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 06:03:20 +00:00
David E. Jones
629af09f92
This should fix the MCA reload problem reported by Scott Gray; Apache Jira #OFBIZ-139
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429590 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 05:50:27 +00:00
Jacopo Cappellato
f4264ff60e
Simple global decorator for printer friendly screens (no logo and no application bar, header and footer).
...
A print button is also available at the top of the screen.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429344 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 14:06:57 +00:00
Jacopo Cappellato
358e81d2ca
tabs to spaces
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429337 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 13:26:07 +00:00
Jacopo Cappellato
b1ee07d69a
removeSpaces method was indeed removing digits.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429334 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 13:23:03 +00:00
Jacopo Cappellato
adfc40c71d
tabs to spaces
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429265 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 07:27:27 +00:00
David E. Jones
7f0bb66fdd
Applied patch from Marco Risaliti, plus formatting correction and a name improvement to avoid confusion with a object variable; allows view entities to get i18n'ed labels from their member entities; Apache Jira #OFBIZ-129
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429250 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 06:26:49 +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
Jacques Le Roux
35c7e40d2c
This complete (save part and more) and finish the OFBIZ-734 issue.
...
I will add some comments in code later.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429165 13f79535-47bb-0310-9956-ffa450edef68
2006-08-06 17:56:24 +00:00
David E. Jones
913e845060
Fixed bug reported by Al Byers where this was using the wrong attribute name, ie fail-message instead of just message; Apache Jira #OFBIZ-137
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429059 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 21:34:14 +00:00
Jacques Le Roux
d117046744
Added "if (Debug.verboseOn())" where there are concatenations of strings (means "+") : faster
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428978 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 08:52:07 +00:00
Jacques Le Roux
a6f48576ab
Debug.logVerbose instead of Debug.logInfo in JavaMailContainer.java
...
Property name="mail.debug" to false in ofbiz-containers.xml
This close Apache OFBIZ-24
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428656 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 08:17:12 +00:00
Jacques Le Roux
cfe3a85d94
To close this chapter of dynamic modification of xpos.properties (needed by XUI i18n mechanism) and mostly avoiding svn notifications I suppressed the $Id let in the ASL2 header written by UtilProperties.java.
...
But because java.util.Properties.store (called by UtilProperties.java to write in xpos.properties) always writes a date/time after the header there is always a difference between repository and working copy files.
So I decided to svn:ignore xpos.properties in its directory (applications/pos/config), hoping this will not bring problems in future...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428292 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 09:47:18 +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
e89160d370
Applying the Apache CTR policy I commit this change (dynamic ASL2 in xpos.properties) to close old Jira OFBIZ-884
...
If anybody think that this is not to be done, please feel free to revert the file.
Thanks
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@427570 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 13:15:42 +00:00
Jacques Le Roux
b14396c4d6
Revert XUI engine to 2.0.5 version.
...
There is a conflict with Xpage.showPage which is waiting for a PageSupport result in 2.0.7.
Will see that later, after telling Xoetrope about the problem.
I tested it before and thought it was working well.
But using Eclipse I did rebuild only the POS component and XUI engine is in framework/guiapp component !
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@426803 13f79535-47bb-0310-9956-ffa450edef68
2006-07-29 13:53:47 +00:00
Jacques Le Roux
eb325d3a19
Update XUI to 2.0.7
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@426768 13f79535-47bb-0310-9956-ffa450edef68
2006-07-29 09:32:01 +00:00
Jacopo Cappellato
1acb364420
Small html fix.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@426766 13f79535-47bb-0310-9956-ffa450edef68
2006-07-29 09:18:48 +00:00
Jacques Le Roux
f59cfc7500
French labels update from Peter Goron
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@426567 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 15:32:41 +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
Jacopo Cappellato
8d568a1886
New Italian labels from Marco Risaliti (Apache OFBIZ-63).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424595 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 15:20:11 +00:00
Jacopo Cappellato
0374ceeeae
New entity labels from Marco Risaliti (Apache OFBIZ-78).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424588 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 14:54:49 +00:00
David E. Jones
e8f2e75bcf
Cleaned up imports
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424513 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 03:03:23 +00:00
Si Chen
af515860fe
Made organizationPartyId, fromDate, thruDate required for createCustomTimePeriod service
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424501 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 00:06:48 +00:00
Si Chen
5f1ab2bd85
New remove Regex from string methods in StringUtil, with reimplementation of the removeNonNumeric and removeNumeric. From Andrew Sykes. OFBIZ-73
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424482 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 22:33:45 +00:00
Si Chen
1d52997bb1
Patch from Peter Goron to fix problem with available locales not parsing correctly when locale is of format fr_FR. OFBIZ-45
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424477 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 22:25:25 +00:00
Si Chen
82562b62e1
OFBIZ-99: Fixed bug where EntityUtil.filterByDate() uses the wrong boundary condition. Thanks to Peter Goron.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424430 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 19:35:02 +00:00
David E. Jones
b60163e1a0
Added ofbiz-workflow engine for service engine to refer to the old OFBiz workflow engine
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424205 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 07:00:54 +00:00
David E. Jones
30d676aa67
Removed read-data elements from localderbyodbc datasource as they don't really apply to it
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424170 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 04:31:18 +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
a2889384b7
Fixed bad xml header: it was caused by the license change patch I've committed earlier today.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424023 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 19:07:23 +00:00
Jacopo Cappellato
bba10be98e
License change from MIT to ASL2.0 for misc files of framework components.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423916 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 12:44:14 +00:00
Jacopo Cappellato
dc64ffe8ea
License change from MIT to ASL2.0 for misc files of framework components.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423902 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 11:36:57 +00:00
Jacopo Cappellato
1f5d4c4c45
License change from MIT to ASL2.0 for misc files of framework components.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423899 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 11:30:47 +00:00
Jacopo Cappellato
c2eb35ac38
License change from MIT to ASL2.0 for the files of entity and entityext components not modified by Adam Heath.
...
Thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423883 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 10:57:51 +00:00
Jacopo Cappellato
956dc6ad4b
License change from MIT to ASL2.0 for the files of misc framework components.
...
Thanks to Scott Gray for the patch (Apache OFBIZ-87).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423879 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 10:45:49 +00:00
Jacopo Cappellato
87b52b4c6a
License change from MIT to ASL2.0 for the files of the catalina component.
...
Thanks to Scott Gray for the patch (Apache OFBIZ-87).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423871 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 10:27:31 +00:00