Commit Graph
2857 Commits
Author SHA1 Message Date
David E. Jones b502c14948 Small change to have a prefix for all sequenced IDs by default
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764947 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 20:50:23 +00:00
David E. Jones 04b2b7a473 Changed to load secas for example component, was causing the status history to not be maintained
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764946 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 20:41:07 +00:00
Anil Patel 87d0fe0492 Small string externalization work. Thanks Divesh for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764684 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 06:18:26 +00:00
Adrian Crum b38b6e9199 Small fixup for last commit - made the FlexibleStringExpander code comments more accurate. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764534 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 17:08:15 +00:00
Adrian Crum dc1c95d57f Added expression escaping to FlexibleStringExpander.java, and put some examples in the Example component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764527 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 16:56:06 +00:00
Hans Bakker 70c4771995 make header expand/collaps again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764492 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 14:47:27 +00:00
Adrian Crum 21ff1c14e9 Updated the JUEL library. Added two UEL functions for handling sequence IDs used as Map keys.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764323 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 20:39:52 +00:00
Adrian Crum 0638b39c8a Removed unused/unnecessary classes and methods from framework/base. These were deprecated last November.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764308 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 18:02:00 +00:00
Adrian Crum f67ea1a83e Removed duplicate DOCTYPE element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764301 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 16:53:26 +00:00
David E. Jones 78d8c7cdc0 Consolidated code to check for non-encrypted parameters sent to service calls, enhanced to support a new url.properties property (service.http.parameters.require.encrypted) that controls whether or not this will throw an exception
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764286 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 07:30:29 +00:00
Jacques Le Roux 87654d261c Guo's solution was not working, did not search more + correct French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764207 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 14:53:02 +00:00
Jacques Le Roux 26bb37b2dc A modified patch from Guo Weizhan "Change the date function from bsh script to date EL in FormWidgetExampleForms.xml" OFBIZ-2257
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764206 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 14:40:50 +00:00
Jacques Le Roux 999bd7c577 Fix following Chris Howe's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +00:00
Jacques Le Roux 0e96db3826 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764084 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 22:18:05 +00:00
Jacopo Cappellato 6d29e3fc90 Applied patch from Ashish and Vikas, part of issue OFBIZ-1901 (Class cast exception on doing survey [ take survey ] on Customer Profile).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763915 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 12:00:09 +00:00
David E. Jones 8821b17e3e A small change to address an issue reported by Angelo Matarazzo when HTTPS is disabled and form data is POSTed; note that deploying so that OFBiz doesn't know if the request is over HTTPS or not is NOT recommended as this DOES open a security vulnerability for XSRF and such when data is POSTed not over HTTPS
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763855 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 01:41:52 +00:00
David E. Jones bc073306e7 Added/moved some missing WebSite data needed for selecting themes, etc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763828 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 22:12:11 +00:00
Jacopo Cappellato 711a3b619d Mostly completed the implementation of widget macro renderers for xml and text output.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763520 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 06:01:21 +00:00
Jacopo Cappellato a02c3abaa8 A bunch of fixes and enhancements to the new widget renderers based on Freemarker macros.
Converted to new technology the xsl-fo renderer and view handler.
Better handling of platform dependent templates included in screens: the proper one is now choosen according to the name of the renderer; the name is returned by a new method of the widget renderer interface.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763511 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 04:14:38 +00:00
Jacopo Cappellato 4fc035c159 The util method quoteStrList was adding two times the trailing ' to the elements. Formatting fixes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763509 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 04:06:48 +00:00
Jacques Le Roux 5dd48e08bf Fix a bug (data reader move not done)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763214 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 12:30:31 +00:00
Jacques Le Roux b271a279a0 Fix bug introduced with
if( => if (
while( => while (


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763199 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 12:01:06 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Hans Bakker c1491066f0 moved custrequest notification from myportal to order,moved other programs around, reorganized customer request status handling, replaced cust request roles from ftl to form, removed other used programs from myportal. Now only the party registration is left in myportal.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763135 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 07:58:00 +00:00
David E. Jones 89ba7ff311 Small change to groovy: stuff in FlexibleStringExpander to only interpret the expression/script on the initial parse and not each time it is run; tested with the stuff in the example component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763105 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 05:14:23 +00:00
Jacques Le Roux 771c3715f8 A patch from Divesh Dutta "Secure URLs in Freemarker templates files" https://issues.apache.org/jira/browse/OFBIZ-2260
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762863 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:36:29 +00:00
Jacopo Cappellato 35fd6a6814 ant targets to create/apply/revert patches for the framework, applications and specialpurpose: they are available in the ant script for auto generated hot-deploy components.
OFBIZ-2271
Thanks to Seema Tiwari & Ritika Somani for the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762757 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 13:03:22 +00:00
Jacopo Cappellato 640e11b07c Misc fixes and enhancements to the new Macro renderer stuff.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762727 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 12:06:03 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
David E. Jones cb912acfec Moved the CustomTimePeriod CrUD service impls back to framework/common, moved by mistake along with the find service before; thanks to CJ Horton for reporting this; related to OFBIZ-2275, though patch there is not used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762624 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 05:21:26 +00:00
Andrew Zeneski cc9b2baf9d Added Groovy support to the FlexibleStringExpander; updated example component to show usage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762610 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 03:17:31 +00:00
Jacques Le Roux a3d4856d8f A patch from Erwan de FERRIERES "Just a french syntax error" https://issues.apache.org/jira/browse/OFBIZ-2274
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762343 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 13:58:56 +00:00
Hans Bakker 897e5b96f1 delete mypage component,moved some labels, myportal is a good replacement
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762245 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 07:53:25 +00:00
Jacques Le Roux 9bbc40ca01 On David and Hans advices
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762221 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 06:41:10 +00:00
Jacques Le Roux 76f5ca6638 Secure URLs, we don't need to duplicate in from-field when param-name is the same
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762215 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 06:25:24 +00:00
Jacques Le Roux f9c14d2d1c Fix r762207
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762211 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 05:00:46 +00:00
Jacques Le Roux 10872c2734 Should fix https://issues.apache.org/jira/browse/OFBIZ-2260?focusedCommentId=12695160&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12695160
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762208 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 04:41:08 +00:00
Jacques Le Roux e86fb8912e Long life to demo.ofbiz.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762207 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 04:36:28 +00:00
Jacques Le Roux 2ff381283b Securing URLs, link element in screens and menus : 30th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761977 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 18:08:08 +00:00
Jacques Le Roux 3efbbc81cd Securing URLs, link element in screens and menus : 29th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761976 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 17:46:49 +00:00
Jacques Le Roux 8e1308aaf6 Better French translations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761819 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 22:10:39 +00:00
Jacopo Cappellato 64b3ffefd3 Added some code, commented out, for upcoming (hopefully) implementation of macro renderers for menu and tree widgets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761664 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 13:14:51 +00:00
Hans Bakker 7554b24dab security fix reported in tyhe mailing list by CJ Horton
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761526 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 04:52:44 +00:00
Jacopo Cappellato 66bd9ee52e Work in progress, commented out for now, to convert table based layout for single forms to divs.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761521 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 04:40:18 +00:00
Jacques Le Roux ef0137f95b Securing URLs, link element in screens and menus : 26th set + tabs to 4 spaces
We continue to approach the end... But for some exceptions, more than the 2 I found before. I will write a compilation on dev ML at end

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761261 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 12:14:18 +00:00
Jacques Le Roux 76352e305a Securing URLs, link element in screens and menus : 24th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761238 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 10:27:18 +00:00
Jacques Le Roux c414afde0f Securing URLs, link element in screens and menus : 23th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761223 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 10:02:34 +00:00
Bilgin Ismet Ibryam 7e7c1f375a Added an optional "name" attribute to event element in controller.xml This attribute is used only (also required) in events inside
firstvisit, after-login, before-logout, preprocessor and postprocessor elements. Events with same name will be overridden and only the last one will be executed. Overriding works also in cases when a controller.xml includes other controller files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761220 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 09:47:48 +00:00
Jacques Le Roux e8426631e8 Securing URLs, link element in screens and menus : 22th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761214 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 09:14:40 +00:00
Jacques Le Roux 2ac0493ee6 Securing URLs, link element in screens and menus : 20th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761205 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 08:39:10 +00:00