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
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
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
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
ca876f93ce
Securing URLs, link element in screens and menus : 11th set + tabs to 4 spaces
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760789 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 06:16:07 +00:00
Jacques Le Roux
77a2ff1d9f
21th set of changes explained in https://issues.apache.org/jira/browse/OFBIZ-2243
...
In hyperlink and sub-hyperlink elements, replacement of target parameters by parameter sub-elements
We are near the end...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759684 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 14:02:55 +00:00
Jacques Le Roux
8c6d89fe75
18th set of changes explained in https://issues.apache.org/jira/browse/OFBIZ-2243
...
In hyperlink and sub-hyperlink elements, replacement of target parameters by parameter sub-elements
This one is huge, with some changes by hand, conversion from tabs to 4 spaces and some trailing spaces (I have activated it AnyEdit plugin following the changes I made in http://docs.ofbiz.org/display/OFBADMIN/Coding+Conventions but I wonder if I should not reverse all that - I mean my plugin setting and in wiki -, it's a nightmare!)
I did my best on this one, but I'm not sure some typos did not slip in. Anyway, alea jacta est
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759666 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 11:00:00 +00:00
Adam Heath
6c69bc963e
Fix lines that *only* have whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759235 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:57:05 +00:00
Hans Bakker
cc860ba38b
rather big change which contains the following:
...
1. created a new function in the partyManager called 'myCommunications'
This function enables the sending and receiving of email and internal communications to/from the current userlogin. It looks like an email client for internal and external email.
2. merged the party/webapp/partymgr/communication/CommMenus.xml and party/widget/partymgr/PartyMenus.xml
3. moved all forms/screens from my portal back into the party component
4. fixed some more problems with myportal
5. added 'save-home' and save 'current' in the same pattern as 'save-last' function in the controler.xml
6. added 'view-home' in the same pattern as 'view-last'
7. moved all related uilabels from myportal to party
8. This update needs a re-creation of the portlet/portal entities.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@758522 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 06:06:12 +00:00
David E. Jones
4a1705a315
Removed some more references to applications stuff from framework, including small cleanup of service engine to get rid of WebAppDispatcher and use new factory method in GenericDispatcher, and changed AvailableServices.groovy to get the real dispatcher list instead of a hard-coded one; also updated eclipse classpath file for new webslinger stuff
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757671 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 06:27:03 +00:00
Jacques Le Roux
be11b911cb
Better French translations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757274 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 23:16:48 +00:00
Jacques Le Roux
92e3dcfdb5
Some French translations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757271 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 22:44:52 +00:00
Jacques Le Roux
cb9d5cb891
Some French translations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757169 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 11:01:48 +00:00
Adam Heath
882cec2f3d
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757082 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:25:28 +00:00
Hans Bakker
03e3014267
remove reference to non existing file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@756339 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 06:27:01 +00:00
Jacques Le Roux
3dd56b670a
Marco's LabelsReferences8.patch : "New tool to get labels information." ( https://issues.apache.org/jira/browse/OFBIZ-2070 ) - OFBIZ-2070
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755394 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 21:01:43 +00:00
Hans Bakker
1e1ed8fba9
move all examples from the common to the example component, edit parameters of portlet in the general managePortalPage screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@752401 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 08:05:34 +00:00