Commit Graph
10472 Commits
Author SHA1 Message Date
Scott Gray a56b0d4ea2 Added two new methods to UtilHttp to assist in temporarily storing and retreiving request parameters to/from the session.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889038 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 00:52:37 +00:00
Jacques Le Roux 22741bbb34 I found Long to appear too much. While at it I add all primtives wrappers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889015 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 23:15:19 +00:00
Jacques Le Roux 1423f948ee A patch from Erwan de FERRIERES " Update and correction for the visual HTML editor" (https://issues.apache.org/jira/browse/OFBIZ-3317) - OFBIZ-3317
The visual editor is using this line to fix a minimum height for the textarea box.
if (!o(idTa).rows < 5) o(idTa).rows='15';//IE won't use % from style
No matter the size we give it, it stays at 15. So I commented the line in the .js file. While I was at it, I updated whizzywig.js to the last version (55i ->59) and put the new toolbar icons system

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889014 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 23:07:02 +00:00
Adam Heath 48a7d8470e Add a target for per-component quick testing. Can only deal with tests
that can run standalone.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888851 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 16:05:33 +00:00
Jacques Le Roux fe340b0b19 Some other forgotten changes done by hand.
Note that in ofbizwebsite/data/OfbizData.xml there are a lot of old tinylinks...
It'd be a pity to have to rewrite them all or to lost them :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888587 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 21:54:04 +00:00
Jacques Le Roux 47c9613346 Some easy documentation (cwiki) links changes following r888510
I have found a way to fix tinylinks :D http://confluence.atlassian.com/pages/viewpage.action?pageId=162988142

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888559 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 20:23:23 +00:00
Bilgin Ismet Ibryam 0a55b369ae Removed an extra <li> element and added a missing <a> element to htmlFormMacroLibrary.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888412 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 14:43:36 +00:00
Jacques Le Roux 6be9a2c8ea Revert r887916, not a solution at all
I did not test eCommerce, it crashes at 1st load :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888111 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 20:05:51 +00:00
Bruno Busco d0d9384a6e Added a new feature that allows to save the screenlet collapsed/expanded status as a userPreference. (OFBIZ-3271)
By default screenlets status are saved. A new "save-collapsed" screenlet attribute (default=true) can be used to disable this feature for selected screenlets.
An userPreference with key = screenlet.id+"_collapsed" is used to save the status.
Screenlets that share the same ID, share the same saved status also (i.e. all searchOptions screenlets used in the FindScreenDecorator use the same status). In order to have them separated a different ID should be specified.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888030 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 17:24:21 +00:00
Jacques Le Roux ef296bb420 A patch from Adrian Crum "ServerHit aborts transactions when trying to create entries with duplicate startTime(s)." (https://issues.apache.org/jira/browse/OFBIZ-2208) - OFBIZ-2208
This add synchronization for ServerHit entities creation. Hence startTime is no longer used. 
I have also removed some comment about the problem, and added one for startTime no longer used.

Note: If synchronization proves to slow down sites we could introduce a properties in serverstats.properties to switch from using it or not since I did not remove startTime from the method signature
Then we will use one or the other lines
-            serverHit.set("hitStartDateTime", new java.sql.Timestamp(startTime));
+            serverHit.set("hitStartDateTime", getNowTimestamp());


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887916 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 13:00:09 +00:00
Bruno Busco 7c32babcd5 Webtools application
Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887786 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06 22:27:36 +00:00
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