Commit Graph
255 Commits
Author SHA1 Message Date
Scott Gray 64c38ffcc3 Removed anonymous password from the example assert data test since it was removed from the seed data in r829464, the test now passes again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@836051 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 23:04:34 +00:00
Hans Bakker bf3790cc50 ordered and itemized list now possible in the help screens and works in all three themes, see for an example in the example help screens: OFBIZ-3170 provided patch partly implemented
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834823 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 09:50:01 +00:00
Bruno Busco 765c98327a Added an example of non collapsible groupfield in the Widget Example Form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833884 13f79535-47bb-0310-9956-ffa450edef68
2009-11-08 15:23:52 +00:00
Jacques Le Roux d5b1af9fc3 A patch from Marc Morin "Resolve java warnings exposed in Eclipse : framework - example" (https://issues.apache.org/jira/browse/OFBIZ-3109) - OFBIZ-3109
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833091 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 17:29:56 +00:00
Jacques Le Roux 6d0edfd4ea A patch from Erwan de FERRIERES "help link in example is not working" (https://issues.apache.org/jira/browse/OFBIZ-3097) - OFBIZ-3097
Some entries in the controller.xml were missing, since the remove of the commonext include. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832688 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 09:32:09 +00:00
Jacques Le Roux b3318c2536 These files were missing in r832368, thanks to Erwan's comment in the corresponding Jira issue: OFBIZ-3097
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832472 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 16:52:21 +00:00
Jacques Le Roux 246d05b752 Fix a bug introduced with r832368
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832371 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 10:05:28 +00:00
Jacques Le Roux 6e61b5e801 A patch from Erwan de FERRIERES "help link in example is not working" (https://issues.apache.org/jira/browse/OFBIZ-3097) - OFBIZ-3097
when clicking the help link in the example app, the showHelp request is not recognised.
-> added a request in the example controller
-> created the ExampleHelpData file
-> added the needed line to load the data in the Example ofbiz-component file.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832368 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 09:58:06 +00:00
Jacques Le Roux 6dd78d7bd3 Better French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829651 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 21:14:00 +00:00
Adam Heath f0b81f5331 Make use of feature from last commit, moving default-resource-name to
the top-level.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821404 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 19:54:55 +00:00
Bruno Busco aad170f2e6 Added missing submit button in Example portlet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820537 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 05:35:58 +00:00
Jacques Le Roux 089a34d6ad Fix r815974 where a wrong file was commited (ofbiz/trunk/framework/example/widget/example/ExampleForms.xml)
So here we go again :
A patch from Harmeet Bedi "startofbiz.sh does not have a default debug flag." (https://issues.apache.org/jira/browse/OFBIZ-2059) - OFBIZ-2059
$DEBUG flag is not specified even in comments causing people to dig an find it.
JLR's comment : that's not exactly true, there is already another DEBUG "flag" used for RMI, I think both are useful. So I have moved this "new" one near the older



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815982 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 21:54:45 +00:00
Jacques Le Roux 80e9079f1b A patch from Harmeet Bedi "startofbiz.sh does not have a default debug flag." (https://issues.apache.org/jira/browse/OFBIZ-2059) - OFBIZ-2059
$DEBUG flag is not specified even in comments causing people to dig an find it.
JLR's comment : that's not exactly true, there is already another DEBUG "flag" used for RMI, I think both are useful. So I have moved this "new" one near the older


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815974 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 21:20:54 +00:00
Jacques Le Roux b71383f6ac A patch from Nicolas Malin "Add confirm action before do submit action." (https://issues.apache.org/jira/browse/OFBIZ-2916) - OFBIZ-2916
Add this feature to forms in a consistent way with existing feature in menu (enhancing this previous feature)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815734 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 12:16:03 +00:00
Jacques Le Roux b7a941d4f6 Revert r813307 on Adrian's request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813893 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 16:02:01 +00:00
Jacques Le Roux a7430a2fc2 A modified patch from Erwan de FERRIERES '"Automatic" sortable table headers" (https://issues.apache.org/jira/browse/OFBIZ-2921) - OFBIZ-2921
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:41:19 +00:00
Jacques Le Roux dac7fd2208 Add some missing ASL2 headers and remove empty files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812724 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 23:29:03 +00:00
Jacques Le Roux 141f1d6943 A patch from Nicolas Malin " EditExample form, error in drop-down" (https://issues.apache.org/jira/browse/OFBIZ-2844) - OFBIZ-2844
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810878 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 10:40:22 +00:00
Scott Gray 12566c26b9 Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
and memory performance if a cursor isn't being used on large result sets quite a bit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +00:00
Adrian Crum 2929bd3734 Fixed the package name in an Example entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806012 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 00:29:30 +00:00
Jacques Le Roux 7befd1d25e no tabs but 4 spaces in code files (*.ftl, *.gro*, *.java, *.xml)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804935 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:01:25 +00:00
Adrian Crum 2b9121fd39 Chinese translation for the framework folder, provided by Shi Yusen - https://issues.apache.org/jira/browse/OFBIZ-2723.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798559 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 15:24:23 +00:00
Scott Gray 81e672a98e Fix startup warning caused by duplicate field alias names
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798520 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 13:39:37 +00:00
David E. Jones 3f8f20e601 Added example of nested view-entity with entity-condition on a view member entity; adjusted view-entity entity-condition to handle naming consistent to other places for nested views, other small cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792836 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 08:47:16 +00:00
David E. Jones 28f3dd95ea added note on another thing to test/demo for view-entity entity-condition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792417 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 06:44:30 +00:00
David E. Jones 6435be1189 Fixed small issue introduced with view-entity entity-condition where non-view entity name was used but conditions were removed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792416 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 06:41:54 +00:00
David E. Jones d0d41b3259 Added some examples of slightly more complex view entities, plus simplified some example forms based especially on the ExampleStatusItem view-entity; also cleaned up some names/titles; note that these are proof of concept examples to demonstrate and test the new functionality and are not yet functional
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792397 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 04:37:38 +00:00
Adrian Crum 7a9d9c0fff Removed deprecated CSS styles from Example component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778812 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 17:51:21 +00:00
Jacques Le Roux 058d6aed57 A patch from Ashish Vijaywargiya "Change Copyright Year" (https://issues.apache.org/jira/browse/OFBIZ-2346) - OFBIZ-2346
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Adrian Crum 6bcc5b1100 Oops, missed one file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772731 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 18:03:35 +00:00
Adrian Crum 4146f9f466 Removed apostrophe to quote substitution. It caused problems with FreeMarker macros.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772729 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 17:59:23 +00:00
Adrian Crum a2d620ba6c Example component updated to use operator substitution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772722 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 17:38:06 +00:00
Hans Bakker f21b08ba2b remove unused requests from controller as reported by Jacques
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771161 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 02:07:03 +00:00
David E. Jones 2c4cdde4b8 Reverted changes in SVN revs 770084 and 770408; this gets the example component back to the good old security until things settle and patterns are better established and agreed on for the new stuff that Andrew is proponing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771030 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 06:12:46 +00:00
Andrew Zeneski f0b38d7463 turned off the debugging
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770408 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 19:35:37 +00:00
Andrew Zeneski 4163690788 Refactored Example Application to use new security mechanics - JIRA OFBIZ-2392
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770084 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 06:23:18 +00:00
Jacques Le Roux abed3d34ed The FormWidgetExamples only part of a patch from Erwan de FERRIERES "correction of the fo.ftl files calling" https://issues.apache.org/jira/browse/OFBIZ-2351 - OFBIZ-2351
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768358 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 16:42:06 +00:00
David E. Jones 70f8da92bb Moved logo and icon images back to images component and removed from everywhere else; all references to these should be to there only now; fixes issue with logo in ecommerce and other little things
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766426 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 06:12:55 +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
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
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
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
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
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 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
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 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 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