Commit Graph
10472 Commits
Author SHA1 Message Date
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
Jacques Le Roux 8fbaa229ac Labels fixed
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@479644 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 14:56:50 +00:00
Jacopo Cappellato 1fa4deafe7 Now the font size of header, footer and body of simple fo.ftl template can be set in the screen definition.
For example, in the action tag of a screen definition:
<set field="headerFontSize" value="10pt"/>
<set field="bodyFontSize" value="12pt"/>
<set field="footerFontSize" value="9pt"/>

The default is 8pt for all.




git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@479624 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 14:10:47 +00:00
Jacopo Cappellato b7ab2ddc25 Small pagination fix.
OFBIZ-473

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@479578 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 10:35:54 +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
Si Chen 2fb55ad7c8 UtilValidate.isEmail now has the default isEmail(string) method which accepts formats such as sichen@localhost and isEmail(string, requireDot) which requires formats like sichen@somewhere.com
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@478901 13f79535-47bb-0310-9956-ffa450edef68
2006-11-24 15:55:37 +00:00
David E. Jones 28c4824143 Applied reformatted patch from Jacques based on patch from Stephen Parry to escape spaces in classpath entries, which should resolve problem with jdk location on Windows; Jira #OFBIZ-486
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477801 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 18:24:27 +00:00
Hans Bakker 5524f51fa5 add a parammeter to be able to limit the maximum size of an incoming email message (set to 1Mb)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477691 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 14:51:49 +00:00
Jacques Le Roux 85c8823d60 Facilitates POS printers switches
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477640 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 11:59:10 +00:00
Hans Bakker 794d4ee7c0 various improvements for processing incoming email to avoid NPE at bad content of emails.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477480 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 02:54:01 +00:00
David E. Jones 4472bb323d Created ecomclone webapp in the ecommerce component that uses the new include stuff, and acts as a test case for it; as part of this found a couple of bugs and some room for improvement in the ConfigXMLReader, and fixed those up
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476650 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 23:03:25 +00:00
David E. Jones 031b093d5d A few include enhancements so that everything in the other controller.xml file is included, though everything can be overriden
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476624 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 22:16:35 +00:00
David E. Jones a733b283d3 Applied patch from Peter Goron to implement include by location from one controller.xml file to another; Jira OFBIZ-370; made small change so that the include element comes first in the controller.xml file
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476610 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 21:37:23 +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
Jacques Le Roux 6c5dcb0cba Change harcoded string from
String xuiProps = System.getProperty("ofbiz.home") + "/applications/pos/config/" + startupFile;
to    
    String xuiProps = System.getProperty("ofbiz.home") + "/specialpurpose/pos/config/" + startupFile;

I have created a Jira issue to remember to find a better solution : https://issues.apache.org/jira/browse/OFBIZ-471.




git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476517 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 12:59:18 +00:00
David E. Jones 64d21975bf Created new specialpurpose directory for special purpose components that are based on the more general components under the applications directory, but reuse resources in order to create applications meant for a special purpose, or a particular type of user or task; also adjusted build files, component load files, etc
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476486 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 10:32:43 +00:00
David E. Jones 9d022772d0 Some formatting fixes in the code from Fabian Gorsler in Jira #OFBIZ-453
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476472 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 08:38:09 +00:00
David E. Jones 5db56d8d2c Applied patch from Fabian Gorsler to escape certain characters to avoid problems in the XML export/import; changed to not use the codePointAt method because it is only supported in Java 5; Jira #OFBIZ-453
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476469 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 08:30:52 +00:00
Jacques Le Roux fad4cbcd6b This closes issue https://issues.apache.org/jira/browse/OFBIZ-335 : "<NOBR> is not approved by the W3C"
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@474173 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 06:53:08 +00:00
David E. Jones 74b7217389 Applied patch from Scott Gray to add while operation; it looks good but I made a small change to the java code in While.java to simplify how the while loop is managed, ie to be more direct; from Jira #OFBIZ-444
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@474048 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 21:24:52 +00:00
Jacques Le Roux f5f33f917f These files were empty but not removed in Marco's patch (rev 473992)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@474005 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 17:50:53 +00:00
Jacques Le Roux d95a1be6eb A patch from Marco Risaliti : "Migrate Entity Maintenance from JSPs/region to Screen widget" (https://issues.apache.org/jira/browse/OFBIZ-450)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473992 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 17:02:39 +00:00
Jacques Le Roux f1393c6cb0 Better error message when Unable to bind RMIDispatcher to RMI (https://issues.apache.org/jira/browse/OFBIZ-447)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473893 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 06:56:07 +00:00
Jacques Le Roux dccc751e54 Changes from a Scott Gray's patch : "Add a while-compare operation to minilang" (https://issues.apache.org/jira/browse/OFBIZ-444)
Thanks Scott

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473334 13f79535-47bb-0310-9956-ffa450edef68
2006-11-10 13:21:45 +00:00
Jacques Le Roux 44c7632634 A patch from Jean-Sébastien Hederer "Variable allocation without effect" (https://issues.apache.org/jira/browse/OFBIZ-439)
Thanks Jean-Sébastien

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473074 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 21:11:53 +00:00
Si Chen 47bc48ede2 OFBIZ-333: Enhance ServiceMultiEventHandler to support configurable global transaction
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472647 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 21:14:46 +00:00
Si Chen f46fc5164f OFBIZ-421: Add [Reln] link to view relations in the main Entity Data Maintenance page. Thanks to Ashish Vijaywargiya
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472640 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 20:59:35 +00:00
Si Chen a6e6600086 Added parameter asOfDate to convertUom which will select the conversion for that date. Useful for time-varying conversion rates.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472587 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 18:50:20 +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
David E. Jones adaf003ee9 Removed jcl.dtd file for licensing reasons; there are publicly available web locations for this, but it's not in a standard location; fortunately this is somewhat infrequently used; I tested the jpos.xml file in my editor and it works fine this way
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472414 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 07:50:37 +00:00
David E. Jones c43a796ea3 Removed WfMC XPDL definition (DTD, XSD) files, added README files with more information about their location, and changed example files to refer to the public locations instead of one hosted for OFBiz and such; this resolves licensing issue with these text/source files
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472405 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 06:35:23 +00:00
David E. Jones 5e0228b035 Added example print service that renders from a screen, sends it through FOP, and then send it to a printer configured on the server
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472322 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 23:13:19 +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
David E. Jones 8c169fdfc0 Small changes to look at attributes before parameters to allow for overrides; now uses same pattern as elsewhere
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471134 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 07:21:28 +00:00
Hans Bakker 94c2319248 corrected menu text
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@470304 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 10:01:14 +00:00
Jacopo Cappellato 927a8ed0a2 Conversion of all the Shark's JPublish pages to screen widgets.
Thanks to Scott Gray for the patch.
OFBIZ-420

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469915 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 14:18:19 +00:00
Jacopo Cappellato 22e89d0d96 Applied patch from Scott Gray to fix a classpath issue in the Shark build file (it was still pointing to the old minerva component).
OFBIZ-414

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469914 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 14:09:35 +00:00
Jacopo Cappellato 1c81b724ef The list of success messages (both single and list messages) is now pulled from the services invoked thru the service-multi handler so that the messages can be shown on screen: duplicated messages are not added to the output list.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469851 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 10:44:04 +00:00
Jacopo Cappellato cbceecbf87 Formatting fixes: tabs to spaces.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469812 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 08:11:24 +00:00
Jacopo Cappellato 8d6a1d453e i18n changes and migration from jsp/region to widgets for the 'cache' pages; thanks to Marco Risaliti.
Part of OFBIZ-418.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469809 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 07:53:31 +00:00
Jacopo Cappellato 24c8d6e572 New labels from Marco Risaliti.
Part of OFBIZ-418.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469808 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 07:50:36 +00:00
David E. Jones 4492f49c6a Applied patch from Tim Ruppert with some additional unit conversions; Jira #OFBIZ-417
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469615 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 19:27:09 +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
Si Chen f5874860f3 Fix bug in sequence value utility where it is actually using Integer instead of Long, so very large sequence values cannot be generated
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469283 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 21:47:28 +00:00
David E. Jones 8e3435a39a The results of some playing to see what sort of thread info we can get from the JVM, and in Java5 it's pretty good; this contains conditional scripted elements that use Java5, but should work fine and just not run those on 1.4
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469251 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 19:40:34 +00:00
David E. Jones 1fdf6fb1f1 Disabled the shark component by default, based on a couple of discussions on the dev mailing list
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469084 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 07:57:21 +00:00
David E. Jones 9fdfbdb649 Implemented a service that calls a CDyne service to get info for a zipcode; also added a service that can be triggered with an SECA (commented out example in the secas_cdyne.xml file) that will call this when a PostalAddress is created or updated and fill in the countyGeoId if a county exists in the database that matches it; also added a couple of Utah counties in the seed data to test this
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469049 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 02:49:35 +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
David E. Jones 86634c3cbe Small change to allow seca files without any rules in them
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469030 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 00:18:50 +00:00
David E. Jones beea25ea9e Fixed problem caused by updating and then reverting the BSF library, should now compile and such
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@468954 13f79535-47bb-0310-9956-ffa450edef68
2006-10-29 18:59:12 +00:00