Commit Graph
3811 Commits
Author SHA1 Message Date
Jacques Le Roux 62fe2a9a7c Better French translation.
In the title we don't need to specify that it's fixed asset actually, simpler, more clear

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887527 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 11:35:20 +00:00
Jacques Le Roux 5cac36d5c5 Complete calendar i18n initialization
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887454 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 23:38:25 +00:00
Jacques Le Roux 88e6b9481b I realized that in some cases it's better to keep the country part of locale, so this is better than r887164 (Fix a calendar i18n initialization issue in lookup.ftl)
And generalized to all FTL files where needed.
I only tested for lookups, but should be ok, since the same trick is used in other FTL files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887166 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 12:07:48 +00:00
Jacques Le Roux 2d9cecd3b9 Fix a calendar i18n initialization issue in lookup.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887164 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 11:50:25 +00:00
Jacques Le Roux de77e0bca8 A patch from Erwan de FERRIERES "seleniumXML improvement and corrections" (https://issues.apache.org/jira/browse/OFBIZ-3296) - OFBIZ-3296
corrected the XML tests
added new functions in selenium for better conversion from selenese and use with the XML tests :
    * echo
    * verifyTextPresent
    * verifyTextNotPresent
    * assertTitle
    * assertConfirmation
Removed comments
    *  waitForPageToLoad : just wait the page to load before any other action (time in ms)
    * click : make a click on an element
    * assertContains : assert an element contains some code.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887126 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 09:27:30 +00:00
Bilgin Ismet Ibryam ee59a11813 Fix for my previous commit in r886727 - added a new mapping for java.sql.Date to xsd:date
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886915 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 20:45:51 +00:00
Jacopo Cappellato f30c00588d Added styles for fop.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886817 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 15:29:57 +00:00
Jacques Le Roux 49bce4301f A patch from Erwan de FERRIERES " adding localization on visual themes" (https://issues.apache.org/jira/browse/OFBIZ-3295) - OFBIZ-3295
just adding the needed lines in commonEntityLabels and adding the property ressource name for the entity VisualTheme

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886745 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 11:48:48 +00:00
Bilgin Ismet Ibryam ee1cf7c139 Fixed wsdl generation for ofbiz services.
- Replaced java.util.Date with java.sql.Date because the latter is used in ofbiz services.
 - Replaced soap binding style from document to rpc, as this is the expected style in SoapEventHandler, ie the service name element, wrapping all the parameter elements in the soap body.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886727 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 10:01:22 +00:00
Jacques Le Roux 059cf20ff9 Fix a bug introduced with r886143 (when a language.js was missing no default was given)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886723 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 09:45:33 +00:00
Bilgin Ismet Ibryam 6e69b265eb - Display locale specific description of the visual theme if exists.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886701 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 08:12:57 +00:00
Jacques Le Roux 2de8e3d53a A patch from Erwan de FERRIERES "Cleaning of the seleniumXml.java and seleniumIDEconverter.java files" (https://issues.apache.org/jira/browse/OFBIZ-3286) - OFBIZ-3286
This patch do not modify the files, but is just for cleaning this files :
seleniumXml.java
seleniumIDEconverter.java

There is a lot of LOC commented in the code, a lot of whitespaces and so on. This patch removes all of this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886301 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 21:04:54 +00:00
Jacques Le Roux db9d329c2c A enhanced patch from Erwan de FERRIERES "Bug when using convert selenium html tests to xml" (https://issues.apache.org/jira/browse/OFBIZ-3282) - OFBIZ-3282
This line was causing the error : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
What Erwan done :
    * corrected the imports in the script
    * used sed to remove this line, it is now creating a temp file without the line which is given to the converter.

I have personally modified the convertSeleniumIDE.bat file but did not test (nor Linux version, I suppose it's ok). I guess this will mostly used on Linux Server and should work anyway.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886233 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 18:14:39 +00:00
Jacques Le Roux 98fe02257c A patch from Erwan de FERRIERES "Add the images in docbook help" (https://issues.apache.org/jira/browse/OFBIZ-3280) - OFBIZ-3280
In this new version, I :
    * removed the graphic tag
    * added the mediaobject tag
    * updated the selenium help page


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886157 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 14:32:48 +00:00
Jacques Le Roux 3dd84d9f25 A patch from Sascha Rodekamp " Colors and localisation for the calendar" (https://issues.apache.org/jira/browse/OFBIZ-1825) - OFBIZ-1825
Simple and clear implementation!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886143 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 13:54:17 +00:00
Hans Bakker b2e6528f36 duplicated and a unused file in the selenium test tools as reported by Erwan de FERRIERES in the mailinglist
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886084 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 09:26:42 +00:00
Marco Risaliti f68c06b08b Better Italian translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885875 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 19:19:21 +00:00
Christian Geisert 8ab47b6571 more eol-styles fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885771 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 14:37:11 +00:00
Jacques Le Roux ee6851fe83 A patch from Erwan de FERRIERES "Force the locale to english when running selenium tests" (https://issues.apache.org/jira/browse/OFBIZ-3281) - OFBIZ-3281
When running a seleniumXML test, the locale used should be English as the buttons or links are defined in English in the test files. 
Adding the language choice before logging in the application will then resolved errors due to a bad localization.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885752 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 12:17:58 +00:00
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