Adrian Crum
0280a3a7fb
Simplified the ResourceBundleMapWrapper.java code by using inheritance. Also cleaned up and improved the Javadoc comments.
...
This code could be reduced further by converting InternalRbmWrapper references to Map references, and using the ResourceBundleMapWrapper class more like a plain MapStack. That will require refactoring peripheral code - a project for another day.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@618892 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 04:59:57 +00:00
Hans Bakker
18effbc6e2
new Handler, not tested, but I am sure Bilgin wil
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@618594 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 09:52:38 +00:00
Adrian Crum
c15629ac64
Fixed "resource not found" exception that occurred when switching over to new XML properties file format - https://issues.apache.org/jira/browse/OFBIZ-1612 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@618490 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 23:23:35 +00:00
Jacques Le Roux
042f4b855e
Fix a typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@617987 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 13:54:41 +00:00
Hans Bakker
9d4f24a0d3
improved implementation of rev 616995 as suggested by david.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@617966 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 09:14:56 +00:00
Adrian Crum
c3351ca1a5
Some CSS style cleanups/fixups for the back office apps.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@617576 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 17:52:20 +00:00
Hans Bakker
67a5ebe862
Entity sync did not work for deletes because the timestamps of the deleted record where also checked to be the same as the original record, this however was never true, even not after the copy of the complete database. Now the deleted record is only checked for the primary key.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616995 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 03:59:59 +00:00
Jacques Le Roux
51697c2e62
Updated following revision 616634
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616743 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 12:59:32 +00:00
Jacques Le Roux
74ee4bec12
A patch from Bilgin Ibryam "Highlight Selected Feature" ( https://issues.apache.org/jira/browse/OFBIZ-689 ) - OFBIZ-689
...
A slight change a big effect !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616697 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 09:20:59 +00:00
Adrian Crum
5843e9742c
Added the ability to call simple methods from screen widgets. This eliminates the need to define a service to call a simple method.
...
Just use the <script location="component://... .xml#methodName" syntax. The simple method call works just like a service event - the result Map elements are copied into the screen context.
Note that this enhancement should NOT be used to circumvent existing services - since many processes depend upon SECAs, which won't get executed using this screen widget operation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616639 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 05:49:25 +00:00
Adrian Crum
ef7d6740be
Removed the adjuster requirement from the new set-calendar simple method operation. Having thought about it more, I realized the operation could be used just to align a date to a period start or end, without using an adjuster.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616634 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 05:33:30 +00:00
Jacques Le Roux
32624967eb
Another bug fix, but set-calendar still not behave like set regarding auto-completion. Not sure why yet, will see later.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616323 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 13:58:53 +00:00
Jacques Le Roux
72e894b2bf
Fix another error about duplicate type (should have been simple-type specific enumeration only)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616310 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 13:42:17 +00:00
Jacques Le Roux
9e2dde9497
Ooops, set is not set-calendar
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616304 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 13:35:11 +00:00
Jacques Le Roux
6afa3fa833
A patch from Adrian Crum from an issue initiated by Fabien Carrion "To permit to calculate on a DATE object in minilang" ( https://issues.apache.org/jira/browse/OFBIZ-1249 ) - OFBIZ-1249
...
I have added the XSD part please check it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616292 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 12:55:45 +00:00
Hans Bakker
f7ed512429
it seems that de port definition of the beanshell container is moved to the ofbiz-containers.xml file however not deleted from the rmi-containers.xml file, deleted with this revision to remove confusion
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616193 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 07:46:04 +00:00
David E. Jones
0d45784b59
Changed to not keep an empty permission entry if there is a database error; based on patch from Adrian and bug report from Leon Torre patch from Adrian and report from Leon Torres in Jira #OFBIZ-1592
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@615722 13f79535-47bb-0310-9956-ffa450edef68
2008-01-28 03:35:00 +00:00
Jacques Le Roux
8d53d4d4a5
Replaced by XuiCoreSwing-v3.2rc2b.jar and XuiOptional-v3.2rc2b.jar
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@615295 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 18:20:14 +00:00
Jacques Le Roux
bc356caaa6
From a slightly modified Chris Lombardi's patch "XUI update to x3.2rc2b" (see comments in https://issues.apache.org/jira/browse/OFBIZ-1580 ) - OFBIZ-1580
...
I will remove the old XUI jar later
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@615262 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 16:45:21 +00:00
Adrian Crum
5daa1225e4
Small enhancement to Webtools entity reference page - eliminated ofbiz home path from entity location.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@615083 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 23:51:42 +00:00
Si Chen
e833224f24
OFBIZ-1594 ability of dispatcher to disable SECAs
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@614949 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 18:08:45 +00:00
Jacopo Cappellato
e385c3df95
Implemented support for the autocomplete attribute in form widgets.
...
The attribute autocomplete="on/off" is supported by most browsers in input fields of type "password" and "text" and also in the "form" element and it controls the autocomplete features of the browser.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@614619 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 18:53:44 +00:00
Jacques Le Roux
1c3072018b
A refactored (FindGeneric.bsh) patch from Ratnesh Upadhya <<Display "First" and "Last" View for Entity Data Maintenance in WebTools.>> ( https://issues.apache.org/jira/browse/OFBIZ-1582 ) - OFBIZ-1582
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@613381 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 10:08:02 +00:00
Jacques Le Roux
93efd97f91
A comment about Yahoo business mail (right this time)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@613079 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 06:49:03 +00:00
Jacques Le Roux
ad05be3fcb
Ooops, previous personal changes were not intended to be commited
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@613078 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 06:47:20 +00:00
Jacques Le Roux
59d7d8e848
A comment about Yahoo business mail
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@613068 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 06:15:50 +00:00
Jacopo Cappellato
ad8de3b8b6
Modified some of the form rendering method to output to a Writer instead of a StringBuffer: this will allow form widgets to be used to process large lists (not paginated).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@612492 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 15:46:32 +00:00
Jacques Le Roux
c342f744b2
Add checkIndexes in checkDB to be able to use check-indices-on-start="true" on entityengine.xml
...
Replace // TODO: also check the declared indices on start, if the datasourceInfo.checkIndicesOnStart flag is set
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611626 13f79535-47bb-0310-9956-ffa450edef68
2008-01-13 19:40:26 +00:00
Jacques Le Roux
5ac9e1bd1d
Oops... Reverted trunk in place of release
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611280 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 19:53:20 +00:00
Jacques Le Roux
ddb461f3cb
Reverted from previous commit merged automatically from trunk to merge changes by hand now...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611275 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 19:45:36 +00:00
Scott Gray
11e8f68718
Workaround a problem where DateFormat parses 00:00:00.2 to 00:00:00.002
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611102 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 08:20:03 +00:00
David E. Jones
5b83a1eb8b
Improvement to error message to better describe what is happening when this value isn't found
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@610472 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 17:28:02 +00:00
Adrian Crum
7d9b622afc
Fixed problem with simple method call-service operation, reported by Chris Juettner on the dev mailing list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@610440 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 16:32:21 +00:00
Adrian Crum
43e7c199dd
Properties file resolver fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@609173 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 16:44:09 +00:00
Adrian Crum
a14add5e9a
Added CommonOpen to CommonUiLabels.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608931 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 17:23:27 +00:00
Adrian Crum
a9736740ec
Added "expanded" and "collapsed" <li> styles to screenlet-title-bar style, useful for rendering collapsible screenlets.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608923 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 17:10:22 +00:00
Scott Gray
2911048a6f
fix my last commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608752 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 05:59:35 +00:00
Scott Gray
1c36c726d6
Use a Set when adding layoutSettings.javaScripts to the header so that each script is loaded only once
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608747 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 05:07:59 +00:00
Scott Gray
66523651b4
When using auto-fields-service in the form widget, whether a service parameter is optional or not is now carried over to the form field being required or not, obviously required = !optional.
...
Also when overriding a form field you can now override whether the field is required or not. This involved updating the form widget schema to remove the default value, so it won't have any effect until I update the website.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608730 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 03:40:39 +00:00
Jacques Le Roux
d3669ceeee
A slightly refactored patch from Chris Howe "visit tracking should default to on" ( https://issues.apache.org/jira/browse/OFBIZ-1554 ) OFBIZ-1554
...
Maybe the title could have better been "Allow requests to provide guidance on tracking"
Refactoring : one liner syndrom, but note I kept uriString : not totally affected, some brain remains. I also wondered if keeping appStat and appVisit could provide some kind of information but finally chose to do like it was already done in lines just below. This note only to follow the discussion we had on this topic in dev ML.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608574 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 17:52:27 +00:00
Adrian Crum
6dcaa603bd
More refinements to properties file resolving. Many thanks to Scott Gray for his feedback.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608571 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 17:45:43 +00:00
Adrian Crum
aff0cffce9
Fixed properties file resolver in new UtilProperties code.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608315 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 02:50:58 +00:00
Adrian Crum
987b444bdf
Fix for r607823. The OFBiz custom xml properties file format requires the file extension in the resource name. Detailed explanation in the dev mailing list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608156 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 17:41:16 +00:00
Scott Gray
f022a2e134
The menu widget's hide-if-selected wasn't working, turns out that ModelMenu's currentMenuItemName was never being set, so fixed that and changed ModelMenuItem.isSelected() to make use of it as well
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607999 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 04:04:22 +00:00
Scott Gray
e73aafe89a
Fixed a problem when a property isn't found in the bundle, the bundle throws an exception which wasn't being caught. Reported by Chris Lombardi in the user list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607848 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 14:08:07 +00:00
Scott Gray
996202bf95
Finally got around to getting rid of those annoying xml validation errors, should resolve OFBIZ-244 although I didn't test specifically for that error
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607833 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 12:53:58 +00:00
Scott Gray
474906df72
Renamed ExampleXmlUiLabels.xml to ExampleUiLabels.xml, it was either that or rename all the references in the minilang services but this seems to make more sense.
...
I used Subclipse to rename the file so hopefully it comes through as a rename rather than delete and add
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607828 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 11:44:00 +00:00
Scott Gray
9883a45efe
Fixed a small problem with the new xml uiLabels, fail-property in minilang wasn't able to retrieve any xml properties.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607823 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 10:50:01 +00:00
Scott Gray
6155c32d9e
Fix small bug, wrong default map name
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607805 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 05:37:15 +00:00
Adrian Crum
708c353436
New methods for UtilDateTime - get period end Timestamps. The new methods are needed for the forthcoming <set-calendar> simple method operation.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607776 13f79535-47bb-0310-9956-ffa450edef68
2007-12-31 21:02:41 +00:00