Commit Graph
8242 Commits
Author SHA1 Message Date
Adam Heath 83c49e9095 Fix handling of default values in getPropertyNumber.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903766 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 17:55:13 +00:00
Erwan de Ferrieres f4364051e4 Adding website information on BI component so we can change the UI theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903673 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 15:22:49 +00:00
Hans Bakker afbdeab656 moved the helpscreens into the framework: a first step. core parts of the content manager to follow. Removed the references to the help screens in confluence
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903589 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 10:09:49 +00:00
Jacques Le Roux e03e7ad6f2 After Adam's remark about formatting (actually mostly about Double instead of double), Sascha provided a new patch which was still not well formatted. So I decided to use the same formatting than in getPropertyValue. Even if it does not follow the "brackets around blocks rule" Sun convention. I have explained this a bit to Sascha at https://issues.apache.org/jira/browse/OFBIZ-3425 "Extend getPropertyNumber, Default Value"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903571 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 08:59:25 +00:00
David E. Jones dd572e0d75 Change based on recent dev list discussion so that break-on-error acts more like an ignore error type of thing; when combined with require-new-transaction=true this will effectively result in no issues from the called service bubbling up to the calling service; with this change manually clearing out the error message and response code is no longer necessary
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903567 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 08:48:55 +00:00
David E. Jones 7dc4d6b942 Improvement for the ignore-error attribute on the form->actions->service element to cause it to call the service in its own transaction, which is the only way that makes sense because otherwise the error will cause the transaction the screen is running in to be rolled back and all subsequent queries will blow up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903537 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 03:10:37 +00:00
Jacques Le Roux 0eb5a20261 A patch from Sascha Rodekamp "Extend getPropertyNumber, Default Value" (https://issues.apache.org/jira/browse/OFBIZ-3425) - OFBIZ-3425
Adds a method to have a default value to getPropertyNumber methods, can't hurt and maybe useful in some cases.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903197 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 12:30:02 +00:00
Adrian Crum 3a6737b186 Restored a temporal expression form that was lost during the recent work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903124 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 08:26:13 +00:00
Bruno Busco 2096cb4dda Borders should be added using CSS not HTML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902890 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 17:37:44 +00:00
Bruno Busco 4a87df358c Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902887 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 17:36:01 +00:00
Bruno Busco e36939e337 Added "create", "refresh", "collapse-all" and "expand-all" classes to the pertinent button-bar buttontext links.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902885 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 17:28:28 +00:00
Hans Bakker d6e27a9e32 include birt introduction in OFbiz technocal document
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902805 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 13:20:17 +00:00
Hans Bakker bab1c5b36d function leave feedback and screen
- function auto relist item and screen
- Get  feedback data from ebay site and save into ofbiz.
- Add rate pictures into framework/images/webapp/images
- screen for show awaiting feedback and recent feedback from buyer
- help screens are provided

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902716 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 06:26:23 +00:00
Adrian Crum 2bef93bf64 ComparableRange test improvement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902525 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 03:18:52 +00:00
Adrian Crum 389e4e4431 Refactored DateRange.java:
1. Extends new class ComparableRange.
2. downcastTimestamp protected method renamed to timestampToDate and made static.
3. Misc code cleanups.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902512 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 00:04:22 +00:00
Adrian Crum 883fd96835 Small JavaDoc fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902510 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 00:01:08 +00:00
Adrian Crum 4051b7a1eb Unit test for previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902347 13f79535-47bb-0310-9956-ffa450edef68
2010-01-23 06:19:47 +00:00
Adrian Crum a31caf2059 Sanity check on ComparableRange - make sure the constructor arguments are the same class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902345 13f79535-47bb-0310-9956-ffa450edef68
2010-01-23 06:00:53 +00:00
Adrian Crum 3e3daa73b2 Small fixup for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902344 13f79535-47bb-0310-9956-ffa450edef68
2010-01-23 05:52:34 +00:00
Adrian Crum 5a80577ec9 Created a Range interface, and an implementation for all Comparable classes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902342 13f79535-47bb-0310-9956-ffa450edef68
2010-01-23 05:39:30 +00:00
Adrian Crum a6bf032741 Small improvement to ClobToString converter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902341 13f79535-47bb-0310-9956-ffa450edef68
2010-01-23 05:38:09 +00:00
Scott Gray aa3f01ade4 Removed deprecated method UtilXml.readXmlDocument(InputStream), concludes org.ofbiz.base deprecation cleanup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902230 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 19:11:38 +00:00
Scott Gray ec93506d54 Removed deprecated class UtilParse.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902229 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 19:11:32 +00:00
Scott Gray 8e276aba74 Removed deprecated method StringUtil.htmlSpecialChars(String, boolean, boolean, boolean), there was an undeprecated overloaded method (StringUtil.htmlSpecialChars(String)) calling this method so I've moved the implementation to it and marked it as deprecated.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902228 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 19:11:27 +00:00
Scott Gray 21b953e7d8 Removed deprecated class OutputStreamByteCount.java
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902227 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 19:11:22 +00:00
Scott Gray ea4c4c892e Removed deprecated method ConnectionFactory.tryGenericConnectionSources(String, Element)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902226 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 19:11:18 +00:00
Scott Gray 812ec2585e Added missing deprecated annotations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902225 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 19:10:20 +00:00
Bruno Busco 9aee1dda33 Changed back forgotPassword screen to use main-decorator instead of login-decorator.
This fixes an error that has been erroneously introduced in trunk rev. 894330
Thank you Mridul Pathak and Scott for reporting this in ML.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902138 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 16:02:33 +00:00
Scott Gray d5c9e99352 Fixed problem in calendar where single digit months were presented as a single digit instead of a double
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901992 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 04:49:49 +00:00
Adam Heath 20396599a8 In getLinkedRequestsLocationAndUri(), remove duplicate processing of
DropDownField.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901953 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 00:58:09 +00:00
Adam Heath a02f927cab Fix line that had all spaces.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901952 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 00:56:53 +00:00
Scott Gray ed3cfedd24 Fix bug reported by Mridul Pathak, the minilang iterate tag was unable to iterate over a Set
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901880 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 22:02:14 +00:00
Erwan de Ferrieres c7d8402c48 Correct the firefox location on debian and add new functionnalities to seleniumXml :
* take a browser screenshot with "captureEntirePageScreenshot"
* close the browser at a test's end with "closeBrowser"
Screenshots are saved in runtime/logs/ but can be changed in seleniumXml.properties file

You can try those by launching the test CommEventCreateOpportunity_testsuite.xml

The magic used to take screenshots was found on the seleniumexamples blog.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901704 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 13:41:21 +00:00
Anil Patel 722c4c33f0 Now checking for Boolean type in request attributes and adding it to returned Json attributes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901689 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 13:03:18 +00:00
Jacques Le Roux c58797b529 I revert r900950 because it introduces a bad side-effect when using a lookup by name, at least as far as I can tell.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901197 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 13:36:25 +00:00
Erwan de Ferrieres f3e99cfe08 Some german uiLabels were missing in rev. 899990 (WebTools Labels - DE Translation of latest trunk version - http://issues.apache.org/jira/browse/OFBIZ-3412)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901093 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 07:47:40 +00:00
Adrian Crum e80cf29e02 Simplified the number converters. Eliminated an unnecessary abstract class, made use of Java's auto-boxing. Non-localized Number to String conversions use the the toString() method - so the result is what you would expect.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901058 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 04:36:42 +00:00
Jacques Le Roux 7e1e785844 A patch from Sascha Rodekamp "THanks" (https://issues.apache.org/jira/browse/OFBIZ-3374) - OFBIZ-3374
A great enhancement IMO (like the calendar some time ago)

The idea came from http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document#NewFeaturesRoadmap-LivingDocument-Quickeranintuitiveaccesstobasicfunctionnalities
which can be summarized to <<having lookups poping up as fast as the calendar>>. Lookups open in a page layer instead of a separate windows, faster!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900950 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 20:48:13 +00:00
Adrian Crum 221df76567 Small fixup for previous commit plus additional documentation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900839 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 16:47:34 +00:00
Adrian Crum e3b9a60e28 A lot more work on the temporal expressions. The previous implementation would handle simple expressions just fine, but complicated expressions didn't work. I also added a pretty printer class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900662 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 05:57:10 +00:00
Scott Gray 5d8c3aa5f6 Fixed bug reported by Wickersheimer Jeremy, OFBIZ-3302. Because the testEntityListIterator test depends on the correct ordering of the find results, explicity specify the correct order rather than depending on the database to get it right.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900511 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 18:53:50 +00:00
Scott Gray 6509797896 Removed or commented all references to the commonext component from the framework, this may will break some things but the dependency should never have been introduced in the first place and needs to be fixed. Inspired by OFBIZ-3329 but I don't believe it resolves that issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900497 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 18:27:35 +00:00
Scott Gray a467469eec Corrected call to UtilCache constructor, broken since most constructors were removed some time ago. Reported by Sam Hamilton, OFBIZ-3341
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900455 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 16:47:04 +00:00
Adrian Crum 6231c1a3bd Minor fixup and JavaDoc fixes for temporal expressions. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900273 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 03:40:01 +00:00
Adrian Crum 377eecc699 Added a Substitution temporal expression. This solves Martin Fowler's conundrum - how to supply a substitute date for an excluded date.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900217 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 20:57:19 +00:00
Bruno Busco eecf528cd6 Added a new "PortalPageScreen" common screen. This can be used to include a portalPage wherever needed (showPortalPage.ftl shouldn't be directly used anymore). The screen needs only the portalPageId input parameter.
Used this new "PortalPageScreen" screen in place of all showPortalPage.ftl includes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900156 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 15:15:14 +00:00
Adrian Crum a71bb71e0b Reorganized code in TemporalExpressions.java. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900050 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 03:13:19 +00:00
Adrian Crum ebb1ed0a37 Small fixup for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900026 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 21:09:53 +00:00
Adrian Crum 2af56291a0 Temporal Expression bug fixes.
Internationalization note: this commit contains new UI labels.

Deprecated the time of day expression - it was a bad design. Replaced it with separate hour and minute expressions.

Fixed the createTemporalExpression service. It wouldn't allow user-specified expression IDs.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900024 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 20:59:37 +00:00
Erwan de Ferrieres 5500881d9d Adding and correcting some French uiLabels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899996 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 17:15:29 +00:00