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
Erwan de Ferrieres
d3cee1d4ff
A patch from Carsten Schinzer : WebTools Labels - DE Translation of latest trunk version
...
(https://issues.apache.org/jira/browse/OFBIZ-3412 )
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899990 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 17:00:50 +00:00
Bruno Busco
61c53fc231
Added a specific class for the "Displaying..." text in the renderNextPrev macro.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899898 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 08:11:12 +00:00
Scott Gray
ce43168d21
Fix from Ruth Hoffman (OFBIZ-3376), prevent NPEs when invoking the RomeEventHandler
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899855 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 00:43:43 +00:00
Adrian Crum
49ab6dd233
The start of some code cleanup and bug fixing in Temporal Expressions. Added a simplified constructor to the range expressions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899833 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 22:26:04 +00:00
Scott Gray
89e146c0b2
Allow byte[] and ByteBuffer to be used to set a Blob typed GenericEntity fields without warnings
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899825 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 21:43:56 +00:00
Scott Gray
b8abee939f
Add converters to/from ByteBuffer and byte[]
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899824 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 21:43:42 +00:00
David E. Jones
e2f777a52b
Fixed bug with form widget and the use-when attribute on fields which caused the header cell to be rendered but no cells would be rendered on certain rows causing the columns to not be aligned; now the cell is rendered, but nothing in it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899815 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 21:19:21 +00:00
Adam Heath
b17eb127ec
Fix trailing whitespace, and mixed tab/space at the beginning of lines.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 21:00:23 +00:00
Scott Gray
123c06717f
Removed recurrence info checking when reloading crashed jobs, fixes OFBIZ-2974. I can't see any reason why a crashed job would already have been rescheduled considering that only happens when a job completes or fails.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899716 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 17:07:06 +00:00
Scott Gray
0d33c0b520
When reloading crashed jobs, only check for jobs with a SERVICE_RUNNING status, pending and queued jobs will get picked up by the next poll so there is no need to reload them.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899715 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 17:07:00 +00:00
Jacopo Cappellato
8c8cc267a6
Based on feedback from Adam Heath and Adrian Crum, the loop operation now breaks the execution of the method if the count variable is negative.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899689 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 16:33:51 +00:00
Erwan de Ferrieres
595517b3bf
JIRA-3381 : Update of the geolocation screen in party ( https://issues.apache.org/jira/browse/OFBIZ-3381 )
...
The geoChart screen is now used for all the geolocalization calls.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899560 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 08:28:51 +00:00
Jacopo Cappellato
aabb21bb83
Based on suggestion by Adam Heath, the warning message is logged only if the count is negative; if the count is zero the next for loop will be skipped and the method will return true as well, but without warning message.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899557 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 08:14:39 +00:00
Andrew Zeneski
40f3732d82
added UomGroup entity; fixed bad relationship ID on workeffort purpose type
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899365 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 19:24:32 +00:00
Erwan de Ferrieres
f3f9c7ae74
Committing OFBIZ-3319 reduced patch ( http://issues.apache.org/jira/browse/OFBIZ-3319 ) - force EN for selenium CommEventCreateOpportunity_testsuite, add firefox location on a debian machine and add the selelium java driver in the LICENSE file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899120 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 08:50:56 +00:00
Jacopo Cappellato
7b0ce29fc8
Looping on a variable/counter with initial value 0 was causing the simple method to stop and return.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899116 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 08:46:04 +00:00
David E. Jones
e9358cebe3
Small change to not blow up if there is neither an appheaderTemplate nor an applicationMenu* in place, and simply do nothing in that case
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899068 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 05:52:57 +00:00
David E. Jones
c2c6aa6b40
If user it not logged in don't include the CommonAppBarMenu as it only has the main link, and that is disabled if the user isn't logged in resulting in a funny empty menu
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899060 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 04:56:08 +00:00
Erwan de Ferrieres
cbdb5a1097
fix test to avoid NPE
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898721 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 11:26:13 +00:00
Adrian Crum
a91a37e6af
A less aggressive UtilProperties.java update, suggested by Adam Heath.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898648 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 04:41:03 +00:00
Hans Bakker
78181a0dca
add a installation guideline how to use OFBiz in a single sign on environment with CAS and LDAP
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898643 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 04:07:39 +00:00
David E. Jones
bd55de169f
Another small error handling improvement to not throw away the stack trace
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898589 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 00:58:12 +00:00
David E. Jones
131ffbb6aa
Small improvement in error handling so it is easier to see at least approximately where the parsing error happening
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898588 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 00:57:19 +00:00
Adrian Crum
1d47be2260
First pass at converting UtilProperties.java to Java 6, plus some small code cleanups.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898338 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 14:24:36 +00:00
Bruno Busco
3725111736
Fixed headerItem value conflicting with PortalPageId in Example.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898141 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 01:02:52 +00:00
Adam Heath
eb0f0bfb16
Fix several generics warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898090 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 22:21:12 +00:00
Erwan de Ferrieres
232ed5588f
In lookup screens, the default currency wasn't selected, and was always showing the first of the list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897843 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 11:42:45 +00:00
Bilgin Ismet Ibryam
34873e17d6
Applied patch from jira issue OFBIZ-3394 - Axis2 SOAP implementation does not have types defined for col-* elements.
...
The patch adds complex type for col-Collection element in the generated wsdl.
Thanks to Chatree Srichart and Chris Snow.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897820 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 09:44:28 +00:00
David E. Jones
c28791cbee
Small improvement to allow ignoring of errors in form widget action services, mostly for those used to get info to display and if they fail it's not a big deal
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897606 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 09:20:18 +00:00