Jacques Le Roux
7ff11fbede
In r885748 I needed only to change the height and width sizes in HELP_WEBTOOLS_selenium.xml.
...
So here I keep original file from Erwan
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885751 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 12:16:18 +00:00
Jacques Le Roux
f0ba7b0e6f
A slightly modified patch from Erwan de FERRIERES "Add the images in docbook help" ( https://issues.apache.org/jira/browse/OFBIZ-3280 ) - OFBIZ-3280
...
this patch will allow to diplay images in the help system.
The help images will be located in framework/images/webapp/images/help (one is included in this issue)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885748 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 12:03:51 +00:00
Bilgin Ismet Ibryam
a0f22959d6
Applied patch from https://issues.apache.org/jira/browse/OFBIZ-3254 - Setting viewSize and viewIndex in screen context for List Forms do not work.
...
Thanks to Mridul Pathak for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885724 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 10:32:39 +00:00
Bilgin Ismet Ibryam
891df7e307
Increment paginator number only for list and multi forms.
...
This will partially fix the bug reported in
https://issues.apache.org/jira/browse/OFBIZ-1935
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885709 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 10:00:43 +00:00
Ashish Vijaywargiya
e4bcb3f3fe
On Ecommerce after adding product to cart, button on the right side was not clickable. (Like View Cart, Checkout, Quick Checkout etc.).
...
Also reported this issue on dev list before few days.
Fix from Deepak Dixit (Thanks!).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885370 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 10:20:26 +00:00
Jacopo Cappellato
17008112a3
Fixes for widget macro rendering code for xsl-fo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885347 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 08:30:49 +00:00
Bruno Busco
f71befa798
Added new ScreenCondition "if-empty-section".
...
This can be used in a Decorator to check if a decorator-section has been defined and added content to in the decorated screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885346 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 08:29:28 +00:00
Adam Heath
1c2d454f0d
Bother, back out GenericMap change to this; more extensive testing
...
concurrent modification type bugs with the keySet/entrySet/values
collections. I saw an exception in AbstractEntityConditionCache, so
I'll back this out until I have a chance to fix it properly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885343 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 07:36:56 +00:00
Adam Heath
07e1de3270
Make testOperations manipulation non-blocking, using concurrent programming.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885277 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 21:32:36 +00:00
Adam Heath
9b0dfc99a7
Fix some duplicate field warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885276 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 21:31:44 +00:00
Adam Heath
9b03b443db
UtilCache is now a map. keySet, entrySet, and values iterators won't
...
reflect items added/removed. However, most membership tests directly
access the underlying cache anyways, so this isn't a big deal.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885275 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 21:26:37 +00:00
Adam Heath
548b074859
Make cacheLineTable private and final.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885274 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 21:25:17 +00:00
Adam Heath
0a53bebe52
Don't return null in values(), but instead an empty collection.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885272 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 21:24:16 +00:00
Adam Heath
5baa6186e1
Switch UtilCache.values() to return a Collection instead of a List.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885270 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 21:23:38 +00:00
Adam Heath
1a1cc17e5f
Add isEmpty implementation.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885269 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 21:22:50 +00:00
Jacopo Cappellato
5b104d9938
Updated signature for renderSubmitField macro for text, xml, fo, csv
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885252 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 18:15:18 +00:00
Adam Heath
2dec3e0f54
Change return type of size() to int; CacheLineTable.size() already had
...
an int return, and this change moves this closer to the Map interface.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885188 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 03:35:07 +00:00
Jacques Le Roux
035361f4b6
Oops, this file should not have been changed in r885103
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885117 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 17:34:22 +00:00
Jacques Le Roux
15b7cd6582
Fix an issue in r885112
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885115 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 17:17:48 +00:00
Jacques Le Roux
47b0eff762
More uses of is(Not)Empty
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885112 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 16:27:42 +00:00
Jacques Le Roux
e07ab48fb4
Some cleaning related to is(Not)Empty
...
* remove duplicate ()
* remove casts no longer needed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885103 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 15:46:52 +00:00
Jacques Le Roux
569a4afeea
Some cleaning related to isEmpty
...
* remove duplicate ()
* remove casts no longer needed
I'm doing these last tasks around isEmpty and isNotEmpty mostly to be sure that nothing has slipped in. Despite I have been very careful, I prefer double check.
+ one typo in ofbizSelenium help (not sure this file is used yet though, seems to be missing some parts which are commented out, for now I guess)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885093 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 14:08:16 +00:00
Jacques Le Roux
2777b83223
Fix r885091 where isNotEmpty has been used by error instead of isEmpty
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885092 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 13:59:45 +00:00
Jacques Le Roux
5d4b9b5982
More uses of isEmpty(expr) instead of (expr == null) || (expr.size() == 0
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885091 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 13:31:52 +00:00
Adam Heath
d68d9fb287
None of the stats values were protected with any kind of locking. The
...
The jvm doesn't guarantee anything about ++ operations; they are *not*
single commands. This is even more of a problem with 64 bit longs on a
32 bit jvm, where even a read or a write to/from a long may be multiple
commands. It is entirely possible that a write to a long might be
partially read by another thread.
The fix is either to protected all the stats with a synchronized block,
either a single one, or one per stat, or to use the new java 1.5 atomic
variables. The latter is much better, because most of the time no one
is reading the stats, so there is hardly ever any contention.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884984 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 20:26:06 +00:00
Bruno Busco
884d5c0397
An additional patch from Sascha Rodekamp "Drag'n'Drop update - add directly in the my portal application"
...
(https://issues.apache.org/jira/browse/OFBIZ-3227 ) - OFBIZ-3227
I found a bug while using the IE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884891 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 15:04:45 +00:00
Bruno Busco
683f95cee3
A patch from Sascha Rodekamp "Drag'n'Drop update - add directly in the my portal application"
...
(https://issues.apache.org/jira/browse/OFBIZ-3227 ) - OFBIZ-3227
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884864 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 12:52:11 +00:00
Jacques Le Roux
fbae8a234f
A patch from Patrick Antivackis "In owasp-esapi-java, htmlCodec.decode is broken for all entities where entity.substr(0, x) exists ." ( https://issues.apache.org/jira/browse/OFBIZ-3135 ) - OFBIZ-3135
...
I checked the diff Patrick provided against http://code.google.com/p/owasp-esapi-java/source/detail?r=755 and found no differences (except test classes no present of course)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884781 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 08:26:54 +00:00
Jacques Le Roux
e26e66c8c3
Oops, I forgot to commit this file in r884545
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884598 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 15:42:46 +00:00
Jacques Le Roux
c0ccc25289
No duplicates, alphabetical order (at least in English, hopefully more to come regardind this aspect)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884573 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 14:59:11 +00:00
Jacques Le Roux
2c51efbc09
Better version of isEmpty() with comments from Scott and Adam on dev ML.
...
I used one line, please feel free to comment if needed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884545 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 13:09:40 +00:00
Adam Heath
e650de55f1
Fix build error, caused by bad merge from an old branch.
...
GenericDelegator was used instead of Delegator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884373 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 02:30:10 +00:00
Adam Heath
1d148ce235
Helper method to fetch all rows/values from a query.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884363 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 01:33:38 +00:00
Adam Heath
586bedfa70
for all doTransaction helpers, change Throwable to
...
GenericEntityException.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884362 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 01:33:03 +00:00
Adam Heath
3a6becca71
For unimplemented values, show the class name as well.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884361 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 01:32:25 +00:00
Adam Heath
1599de6d2c
Handle null values during planning of conditions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884360 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 01:31:38 +00:00
Adam Heath
e75c3d12e2
Implements proper null support, and fix operators that have '=' in them.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884359 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 01:30:35 +00:00
Adam Heath
4e31701beb
Override appendTo.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884358 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 01:29:52 +00:00
Jacques Le Roux
ba29f3ee12
Improve getCountryList: following Scott's remarks on dev ML.
...
Though now we don't check errors in the countries property list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884317 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 22:44:01 +00:00
Jacques Le Roux
207ce8cb79
Sort countries data by GeoName
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884298 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 22:17:16 +00:00
Adam Heath
cd446f9c3c
Fix getOrCreateUtilCache, so that it doesn't always create new caches; mea culpa.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884262 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 20:47:51 +00:00
Jacques Le Roux
ebf6dc2efa
Fix a typo in JavaDoc found by Eclipse
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884251 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 20:31:38 +00:00
Adam Heath
683479438b
size() needs to be synchronized as well.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884239 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 19:47:31 +00:00
Adam Heath
8ad14aae64
Remove synchronization for listeners, switching to CopyOnWriteArraySet.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884238 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 19:46:49 +00:00
Adam Heath
126a045cda
Remove all remaining synchronized protection against utilCacheTable.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884237 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 19:46:05 +00:00
Jacques Le Roux
13ab0a310b
Use log verbose as suggested by Scott in https://issues.apache.org/jira/browse/OFBIZ-3107
...
+ SuppressWarnings("serial")
+ a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884047 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 11:15:16 +00:00
Jacques Le Roux
70d7a15dfb
Partially fix an issue I discussed with Akash on dev ML on how to format decimals in prices
...
* Mostly parameterize UtilFormatOut.formatPrice() from general.properties
* I removed unused currency.decimal.format calls in CheckOutEvents class
* Also removed unused priceNumberFormat in UtilFormatOut class
Still have to fix 11 harcoded "##0.00" in ftl files using ofbizCurrency
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884023 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 10:43:09 +00:00
Jacques Le Roux
5661bad7fa
I forgot to improve Angelo Matarazzo's patch I committed for "view-last-noparam" ( https://issues.apache.org/jira/browse/OFBIZ-3027 ) - OFBIZ-3027 in r829727
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883914 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 22:54:47 +00:00
Scott Gray
d55301de85
Switched back to using main-decorator in ManagePortalPages, wrapped the body section in no-clear container since that was the reason why the CommonPartyDecorator was being used
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883900 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 22:25:17 +00:00
Adrian Crum
0b269f4296
Improved entity engine Blob test.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883882 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 21:24:10 +00:00