Commit Graph
8242 Commits
Author SHA1 Message Date
Jacques Le Roux 1aaa73329d Label for ExampleLookupFields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909925 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 22:48:12 +00:00
Adrian Crum 7eb22acb3a Test XStream serialization/deserialization of GenericValue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909858 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 17:45:11 +00:00
Adam Heath 1d4257f190 Fix ordering of Enum converter class comparisons.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909718 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 03:54:42 +00:00
Adrian Crum 668e940a69 Added the XStream library to the project:
http://xstream.codehaus.org/


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909650 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 23:09:20 +00:00
Jacques Le Roux 4f74dcaa14 A patch from Sascha Rodekamp "Allow to quit a layered lookup with Esc key" (https://issues.apache.org/jira/browse/OFBIZ-3451) - OFBIZ-3451
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909312 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 09:45:05 +00:00
Scott Gray 5929b3b830 Moved username.lowercase and password.lowercase security property checks from calling events to the userLogin service itself
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909216 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 03:33:20 +00:00
Andrew Zeneski e5cae56b68 fix to call onchange events when the fieldlookup sets a field's value; same as in lookup.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909186 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 00:20:19 +00:00
Jacopo Cappellato 6ed667e6d9 Added newly added (in rev. 908894) renderDisplayField input arguments.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908912 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 10:33:19 +00:00
Erwan de Ferrieres 24a4a3a21a German translation for property loginmapprocs.password_not_equal_verfiy_password in SecurityextUiLabels was wrong - OFBIZ-3462
(https://issues.apache.org/jira/browse/OFBIZ-3462)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908907 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 10:04:42 +00:00
Erwan de Ferrieres e818c214b4 Formating the error message in userLogin Service : adding spaces in error messages
(https://issues.apache.org/jira/browse/OFBIZ-3460) OFBIZ-3460

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908897 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 09:39:44 +00:00
Erwan de Ferrieres 311e0d14ac Adding a new field type in forms' display so we can display an image and keep a list's consistency
Example :
<field name="displayProduct" use-when="!&quot;foo&quot;.equals(productId)">
  <hyperlink target="EditProduct" image-location="/images/next.gif" also-hidden="false"/>
</field>
<field name="displayProduct" use-when="&quot;Cap&quot;.equals(productId)">                                                                                                                                                                         
  <display type="image" image-location="/images/ofbiz.ico"/>
</field>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908894 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 09:27:01 +00:00
Adam Heath 02f0f513ea Add allowJsonResolve support.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908715 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:50:00 +00:00
Adam Heath 43fd79184f Allow readObject/writeObject to fall back to JSON.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908714 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:48:41 +00:00
Adam Heath afd908e3e4 Switch the collection/string converters to the json parser.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908713 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:48:07 +00:00
Adam Heath 852ceb0866 JSON reading/writing. May seem like it is uneeded, but a later commit
will add support for this becoming more extensible.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908712 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:47:30 +00:00
Adam Heath d946201a4b A writer that allows calling code to add non-important spaces, tabs, and
new lines, then this extra formatting can easily be turned off.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908711 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:46:29 +00:00
Adam Heath b182186e6a Wrap the conversion system with some readObject/writeObject calls.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908708 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:45:29 +00:00
Adam Heath fcfa765c24 Add UtilIO.writeString() variants.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908705 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:43:46 +00:00
Adam Heath 93f5a082d7 UtilIO.readString enhancements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908702 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:42:51 +00:00
Adam Heath 1fdf876337 Add Enum converters.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908700 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 22:41:47 +00:00
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