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
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
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
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
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
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
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
- 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
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
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
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
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
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
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
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
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