Commit Graph
2896 Commits
Author SHA1 Message Date
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
Hans Bakker cbbe02a1d8 many cleanups, moved customer requests back into order, fixed the edit contactmech in portal as reported in the mailing list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761186 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 06:57:09 +00:00
Hans Bakker 68719639ee description error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761180 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 06:26:55 +00:00
Hans Bakker 5d52a68701 add datasource for parties registred over myportal
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761179 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 06:21:51 +00:00
Hans Bakker f1a117cced give error message instead of NPE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761178 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 06:20:59 +00:00
Hans Bakker 42a3130c65 only check for privat portal pages in the menu if a user is logged in
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761177 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 06:18:49 +00:00
Hans Bakker e32f78ac2c shorten the text so the dropdown box fit on the screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761176 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 06:17:15 +00:00
Hans Bakker ff5b74da4d use 'home' to go back if 'last save' is not available
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 06:15:50 +00:00
Hans Bakker 5f76cf86ca add missing permission
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761174 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 06:14:34 +00:00
Jacopo Cappellato a6c633bf34 Several minor cleanups (most of them are formatting fixes); part of OFBIZ-1235
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761173 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 06:09:45 +00:00
Jacques Le Roux 492bbdf8d3 Securing URLs, link element in screens and menus : 18th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761002 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 18:27:08 +00:00
Jacopo Cappellato 4f98f0c316 Committed patch from Guo Weizhan, part of OFBIZ-1235: mostly completed implementation of the form renderer based on Freemarker macros. The patch contains some small (mostly formatting) issues that I will clean up tomorrow. Now the new renderers and view handlers are ready for testing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760976 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 17:33:58 +00:00