Adam Heath
6bbf06e0bf
Check the super class and interfaces of the source and target,
...
attempting to find a match.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908698 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:40:16 +00:00
Adam Heath
1bf146fcca
Allow for converting to an object that extends the target class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908695 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:37:51 +00:00
Adam Heath
9eba46bc46
Add registerConverter variant that allows for specifying the
...
source/target classes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908692 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:34:10 +00:00
Adam Heath
f10280139d
Correct pass thru conversion, to return the correct source/target types.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908691 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:32:51 +00:00
Adam Heath
dd9886331a
Add Charset converters.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908689 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:29:46 +00:00
Adam Heath
75bd046632
Add Byte converters.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908686 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:20:48 +00:00
Adam Heath
3645dcee6b
Add Short converters.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908684 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:17:52 +00:00
Adam Heath
089a817e62
Add BigInteger converters.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908681 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:14:45 +00:00
Adam Heath
fa8dc60733
Upgrade javolution library.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908678 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:12:50 +00:00
Adam Heath
85ddfba2fe
Full code coverage on the unit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908676 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:10:44 +00:00
Adam Heath
f98ed2d050
Remove embedded tabs added by Adrian.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908673 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:09:34 +00:00
Erwan de Ferrieres
7fcf3165ff
German uiLabels modifications from Dimitri Unruh OFBIZ-3459 ( https://issues.apache.org/jira/browse/OFBIZ-3459 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908499 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 13:44:30 +00:00
Bilgin Ismet Ibryam
7a33922084
Removed freemarker expressions from labels.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907610 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 10:26:40 +00:00
Adam Heath
3ebd4c634e
Add license headers to lots of files.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907569 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 07:24:40 +00:00
Bilgin Ismet Ibryam
1502b94baf
Added autocomplete support to LookupLayerPopupDecorator screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907456 13f79535-47bb-0310-9956-ffa450edef68
2010-02-07 17:48:22 +00:00
Jacopo Cappellato
ef303e9b41
Added missing license headers.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907415 13f79535-47bb-0310-9956-ffa450edef68
2010-02-07 11:52:35 +00:00
Jacopo Cappellato
75a3c9f270
Added a bunch of missing license headers; we'll have to pay more attention on this in the future.
...
Still some work needs to be done in order to have the codebase inline with the ASF policies as it used to be.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907413 13f79535-47bb-0310-9956-ffa450edef68
2010-02-07 11:24:45 +00:00
Jacques Le Roux
6d6a6fa7b3
Not as helpful now, but while at it, fixing the link
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907341 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 23:12:21 +00:00
Jacques Le Roux
d34b256f41
While working at layering lookups I found that some of them are inappropriately named lookups and are actually lists (at least for now, locales, timezones and themes)
...
In this commit I rename them List (instead of Lookup) to avoid future confusion. If this has too much impact we may revert it of course...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907310 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 21:33:01 +00:00
Erwan de Ferrieres
522b4ef150
Reverting rev906020 as it was introducing a dependency with commonext in the framework
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907308 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 21:05:41 +00:00
Jacques Le Roux
4e1b11a80e
Begin to fix things a bit in the example component (related to the layered popups effort)
...
* consistent names and actions (lookup by Id is not by Name)
* introduces a layered popup for the features
* continue to use height and width as demonstration but with appropriate values
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907270 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 18:37:46 +00:00
Adrian Crum
6f120ae631
Added JavaDocs and changed some parameter names in FlexibleStringExpander.java. No functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907117 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 22:34:53 +00:00
Erwan de Ferrieres
95f44ea337
Fixed a missing license header, tabs to spaces and removed trailing spaces
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906981 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 15:56:01 +00:00
Erwan de Ferrieres
5734f37e47
Simplifying example menus writings, closing XML tags directly
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906980 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 15:51:41 +00:00
Erwan de Ferrieres
636239c235
Remove the differences in columns in a fom as reported by Nicolas Malin on the dev mailing list.
...
More details on this issue here : https://issues.apache.org/jira/browse/OFBIZ-3444 with screenshots and an example
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906973 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 15:31:48 +00:00
Jacques Le Roux
cec7595120
A patch from Sascha Rodekamp "New Lookup Layer - Click and Close" ( https://issues.apache.org/jira/browse/OFBIZ-3431 ) - OFBIZ-3431
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906893 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 10:23:11 +00:00
Jacques Le Roux
cfd736ae67
Few formatting changes, no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906834 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 07:47:28 +00:00
Andrew Zeneski
30f13fbbb1
implemented not-contains and not-like operators in the generic performFind service
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906709 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 22:52:22 +00:00
Adrian Crum
faed3cb1c5
Added expression escaping to the FlexibleStringExpander unit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906605 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 18:49:40 +00:00
Jacques Le Roux
2b1c7c2292
The syntax of the new attributes introduced by the layer lookup were verbose.
...
We know we are in a lookup element and no attributes interfere. So I reduced the verbosity by removing the "lookup-" part everywhere it was possible (ie everywhere)
So we go from
lookup-presentation
lookup-height
lookup-width
lookup-position
to
presentation
height
width
position
in the lookup element
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906584 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 18:02:38 +00:00
Jacques Le Roux
06aaa2d4b5
Temporary workaround to avoid a bug in FormWidgetExampleForms.xml (complete r906526)
...
In r906526 I let the tooltip I put while looking for a solution
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906538 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 16:07:55 +00:00
Jacques Le Roux
dc54b43982
Temporary workaround to avoid a bug in FormWidgetExampleForms.xml.
...
Looks like it's related to an UEL interpretation error but it's deep rooted and I did not get enough time to debug now. Anyway not a big deal, and I will get back to it soon..
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906526 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 15:33:27 +00:00
Jacques Le Roux
609898f9f6
A slightly modifief patch from Sascha Rodekamp "The positioning mechanism of the new lookups is only working with the bizznesstime theme" ( https://issues.apache.org/jira/browse/OFBIZ-3430 ) - OFBIZ-3430
...
For the moment I only removed comments around an error which is useful. I guess Sascha was blocked by it during his tests and forgot to remove it. BTW I improved the error and one related (variables names explicit)
I will certainly do a review on the format later to avoid both in the same commit (if any changes are needed anyway)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906524 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 15:30:50 +00:00
Erwan de Ferrieres
c0d92376ab
changeOrgPartyId.groovy wasn't called in the example component, and then was producing errors when accessing the component with dropping crumbs theme
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906020 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 12:05:22 +00:00
Adrian Crum
b2fbc7ad69
Removed the NullExpr class that was created to fix the problem with checking FlexibleStringExpander.getOriginal() for null.
...
This commit might affect user modifications. Any code that checks FlexibleStringExpander.getOriginal() for null should be changed to use FlexibleStringExpander.isEmpty() instead.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905864 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 01:47:45 +00:00
Adrian Crum
667b8e9a5c
As discussed on the dev mailing list, eliminated checks for FlexibleStringExpander.getOriginal() returning null. Use FlexibleStringExpander.isEmpty() instead.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905863 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 01:44:24 +00:00
Adrian Crum
79d931717d
Small fixup for last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905763 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 19:54:31 +00:00
Adrian Crum
084e4691d2
Made a small change to FlexibleStringExpander - created a NullElem class to support existing client code that tested getOriginal() for null. By the way, that is a bad practice - use the isEmpty() method instead.
...
Problem reported by Scott and Hans on the dev mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905696 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 16:35:28 +00:00
Vikas Mayur
1412c55b8c
Added a test case for createUserLogin service.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905606 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 12:32:20 +00:00
Bilgin Ismet Ibryam
32881a0747
Added missing HtmlTreeRenderer to screen context. Bug reported by Jens Oechsler in user list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905581 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 11:12:45 +00:00
Hans Bakker
2e74586bcf
make birt use the itext libraries already present in ofbiz, contribution of Chattree and reported by erwan in the mailing list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905500 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 03:18:15 +00:00
Adrian Crum
934712e75f
Revert my change to base component build.xml file.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905129 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 21:51:38 +00:00
Adrian Crum
5cc09d78fc
Updated the ical4j library.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905128 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 21:48:22 +00:00
Adrian Crum
a1df25e132
Updated the commons-lang library.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905120 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 21:16:17 +00:00
Adrian Crum
93aea39578
Updated the commons-codec library.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905115 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 20:32:14 +00:00
Adrian Crum
c2ec08d31b
Added a unit test for StringUtil.java. I commented out the new webslinger tests which seem to fail every time.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905114 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 20:25:46 +00:00
Adam Heath
7fcec6d23b
First bit of real webslinger code. TTLObject is designed to save the
...
result of a single method call, so that it doesn't get called over and
over again. It's non-blocking in all cases, supports synchronous and
asynchronous update modes, and will even save thrown exceptions.
Nothing in ofbiz uses this yet; that will require rather extensive
testing and profiling, which is difficult until more of ofbiz actually
has full test coverage; there's no reason to fix any slowdowns now until
you know all code is actually correct.
Test coverage on TTLObject is almost completely full; there are some
missed branches on switch statements that use enum(there are google
discussions about this, it's just not possible to do). Some of the
configuration methods aren't covered either. However, all switch
branches *are* covered.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904987 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 06:34:35 +00:00
Adam Heath
d86c60c3ba
Add a helper method to test futures.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904986 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 06:27:41 +00:00
Adam Heath
9ef56b79aa
Delete cobertura.dat for each run, so that different runs don't overlap
...
each others line numbers.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904985 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 06:26:57 +00:00
Adam Heath
0d5914ffc9
FileUtil.findXmlFiles will never return null; if an exception happens to
...
be thrown, then nothing after the catch will be run either. So, remove
the null checks.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904983 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 06:25:37 +00:00