Jacques Le Roux
d8515b0d03
The recent CSS changes had an impact on clearText position.
...
I quickly commit but if I had enough time I would prefer to put the style as a class in the themes CSS files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936175 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 06:50:16 +00:00
Adam Heath
ceb3fad391
Add a releaseDate to a product, mostly informational, intended to mean
...
when the product was first assembled for purchase, or, for books, when
it was published initially.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936100 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 22:46:14 +00:00
Erwan de Ferrieres
6f2642a5dd
Adding a whole set of generic portlets. Those are more designed to be customised
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935923 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 13:57:26 +00:00
Jacques Le Roux
84df06abef
A patch from Sascha Rodekamp related to "Pagination in Layered Lookups" ( https://issues.apache.org/jira/browse/OFBIZ-3726 ) - OFBIZ-3726
...
The pagination in the layered lookups was broken because of a previous patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935904 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 13:23:40 +00:00
Erwan de Ferrieres
a290ba895d
misc. corrections on portal :
...
* when editing a portlet, getting the previous values
* displaying portlets with the right order
* portletId was not retrieved in showPortlet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935898 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 13:04:17 +00:00
Erwan de Ferrieres
6f83531f2e
Modifying French uiLabels to have them shorter
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935892 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 12:29:09 +00:00
Erwan de Ferrieres
72d261af4b
Buttons at the bottom of an list weren't working
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935891 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 12:22:25 +00:00
Scott Gray
1fb82378eb
At some point the behavior of initEntityEcaHandler() was changed so that a new handler wasn't inititated if the delegator already had one. The broke the test delegator because it requires a new handler be created for it rather than inherit the one provided by the delegator that it cloned. Worked around by setting the handler to null on the while making the test delegator before calling initEntityEcaHandler().
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935870 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 11:10:45 +00:00
Scott Gray
a3837cdcd2
Fix a problem reported by Bob Morley in OFBIZ-3663. When a delegator is cloned during test execution then the test mode isn't inherited by the new delegator and subsequently any changes made by that delegator are not tracked for rollback. Fixed by setting the testMode of the new delegator to match that of the one being cloned.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935869 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 11:10:34 +00:00
Bilgin Ismet Ibryam
8e26a2b0e9
Updated the descriptions of some TemporalExpressions
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935695 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 18:27:08 +00:00
Andrew Zeneski
d581e1f823
text-find can also include 'numeric' fields; added lessThan, greaterThan options to the schema (code support was already there)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935687 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 18:00:24 +00:00
Bilgin Ismet Ibryam
667e52e947
Fixed lookup descriptions, which got broken after changes in the generated html.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935644 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 16:04:30 +00:00
Jacopo Cappellato
9f49ca16f7
Added ofbizHome to the path to fop.xconf (user config file) for consistency with the url for font.base set later in this method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935615 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 15:18:35 +00:00
Jacques Le Roux
4cd873d37c
A slightly modified "only one lookup decorator" patch from Sascha Rodekamp related to "Replace popup lookups by layer lookups" ( https://issues.apache.org/jira/browse/OFBIZ-3442 ) - OFBIZ-3442
...
Merge the 2 lookup decorators in only one and dynamically adapt the rendered content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935578 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 14:03:41 +00:00
Bilgin Ismet Ibryam
1562b0a308
Added description field to TemporalExpression entity and related data plus forms. Part of https://issues.apache.org/jira/browse/OFBIZ-3521
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935387 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:41:20 +00:00
Adam Heath
e3b9b75242
Don't create a temporary string to hold the digestChars.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935383 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:03:59 +00:00
Adam Heath
95949ff2b7
Add <test-jar> macro.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935381 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:03:47 +00:00
Adam Heath
f2bfef6274
Create a main-jar macro.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935380 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:03:37 +00:00
Adam Heath
f4d16eb03c
Fix name property.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935374 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:03:07 +00:00
Adrian Crum
70f5bc5ea7
Fixed a bug in TimeDuration.java. Added test for same.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935372 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 17:52:01 +00:00
Adrian Crum
52f2ba2b1f
Fixed a bug in ComparableRange.equals method, added test for same.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935371 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 17:39:22 +00:00
Adrian Crum
eb88470d5f
Minor JavaDoc changes in Range.java. No functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935369 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 17:30:10 +00:00
Scott Gray
167b4c0b99
Added a Groovy Builder class for building EntityConditions, plenty of room for handling possible errors, at the moment I'm just assuming the passed in parameters will be what I expect
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935326 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 10:11:45 +00:00
Bruno Busco
0cb13d9b58
A patch from Blas Rodriguez Somoza
...
OFBIZ-3708 - Fields should be defined with span not div. (radio, date, lookup)
https://issues.apache.org/jira/browse/OFBIZ-3708
Field markup should be a valid inline element.
Defining fields with div (block) instead of span (inline) creates several problems:
* Missalignments in screen. (See LOOKUP_CAL screenshots)
* Implies a end-of-line after the div. (See CAL screenshots)
* If used inside inline elements which should be OK, becames XHTML validation errors. (Manufacturing -> MRP -> MRP log)
Because this is a markup problem, it spans to all the themes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935312 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 08:06:28 +00:00
Bruno Busco
38c435ca8d
A slightly changed (tabs replaced with spaces) patch from Blas Rodriguez Somoza
...
OFBIZ-3681 - XHTML validation errors round 2+ (framework excluding widgets)
https://issues.apache.org/jira/browse/OFBIZ-3681
XHTML validation errors
* Unclosed tags
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
common/webcommon/includes/listVisualThemes.ftl
Line 19: style tag is not allowed here, style must be in the style attribute of the tag.
webtools/webapp/webtools/stats/StatBinsHistory.ftl
Line 29: duplicated id
webtools/webapp/webtools/tempexpr/tempExprMaint.ftl
Lin 32, 104: form must be outside table.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935311 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 07:52:08 +00:00
Jacques Le Roux
a0b01446aa
A patch from Bob Morley "Resolve java warnings exposed in Eclipse (Party part of OFBIZ-3100)" https://issues.apache.org/jira/browse/OFBIZ-3589 - OFBIZ-3589
...
Party was very clean; only a few minor changes - also added a @SupressWarnings("serial") in framework's MimeMessageWrapper (noticed when fixing iteration from this in Party).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935269 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 22:25:40 +00:00
Bruno Busco
d5c2d0d92f
A slightly changed (tabs replaced with spaces) patch from Blas Rodriguez Somoza
...
OFBIZ-3671 - XHTML validation errors (framework/widget) In xml (xhtml) ID must be unique
https://issues.apache.org/jira/browse/OFBIZ-3671
In XML id is a special attribute which must be unique.
* ModelFormField.java must have the method getCurrentContainerId which is already on ModelForm
* MacroFormRendered and HtmlFormRenderer must be modified to use the getCurrentContainerID instead of getIdName
* htmlFormMacroLibrary. span id must be different from the associated hidden field.
Also:
htmlFormMacroLibrary
Line 73: readonly attribute without value.
Lines 102.103: better formatted, more readable javascript call.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935197 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 16:10:24 +00:00
Scott Gray
d4e34a244a
Fixed a ton of pointless ServiceUtil.returnError(...) calls, I've left the ones that aren't inside services for now since they require a little more thought to fix
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935164 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 10:28:18 +00:00
Scott Gray
f8354e3fa4
Get rid of a bunch of Integer instantiations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935163 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 10:27:15 +00:00
Scott Gray
d5c795b8f0
Doh, forgot to remove the import
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935143 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 07:48:33 +00:00
Scott Gray
2d64fd155b
Removed unused import, removed implements declaration (the superclass already declares it) and removed some unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935142 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 07:47:09 +00:00
Scott Gray
28ca28af2c
Removed unused imports and added @Override where needed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935139 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 07:12:33 +00:00
Scott Gray
e1c4500603
Fix the StringToBigDecimal converter to not use an interim double value unless it absolutely has to
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935137 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 07:09:11 +00:00
Scott Gray
b033379d37
class is a reserved javascript keyword so you have to wrap it in quotes if you want to refer to an elements class attribute (I don't think Firefox complains but Safari does)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935117 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 03:23:25 +00:00
Adrian Crum
b6e2455579
An improved Assert class - replaces the one I took out.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935096 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 23:29:07 +00:00
Jacques Le Roux
cda9848407
Labels for r935075 ("Change the lookups in example to better demonstrate the differences between popup and layer")
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935084 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 21:52:30 +00:00
Jacques Le Roux
f390b092a3
Change the lookups in example to better demonstrate the differences between popup and layer
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935075 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:38:53 +00:00
Erwan de Ferrieres
6d4d2a3815
Shortening some French uiLabels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934739 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 10:40:41 +00:00
Adrian Crum
0909a29080
One more small performance tweak for TimeDuration.java.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934543 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 18:50:04 +00:00
Andrew Zeneski
d78152f6c8
implemented <script> tag in minilang that works exactly the same way as the screen widget version
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934510 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 18:32:35 +00:00
Adrian Crum
b5bd489ca5
Fixed a TimeDuration speed issue that was revealed by Coburtura.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934289 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 05:10:59 +00:00
Adrian Crum
896222b7fe
Revert unintentional file change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934211 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 21:54:29 +00:00
Adrian Crum
fa825dd956
Reverting my last commits. I just found out Apache Commons Validate does the same thing.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934179 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 20:22:26 +00:00
Adrian Crum
beb4b8bcaa
Small fixup for last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934169 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 20:09:42 +00:00
Adrian Crum
a05a3dfcab
Added an Assert class. It should make argument checking easier.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934166 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 20:03:46 +00:00
Erwan de Ferrieres
e0033c6c5c
Applying OFBIZ-3694 "Pass Accounting label to Common Label". The AccountingNoRecordFound is now CommonNoRecordFound
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933890 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 09:19:52 +00:00
Adrian Crum
84626504a0
Updated the ICU4J library.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933324 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 17:06:42 +00:00
Erwan de Ferrieres
08359da5c5
removing image path from request parameters after rendering the given hyperlink to avoid associating it to other link not having images in a list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933244 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 14:08:02 +00:00
Jacques Le Roux
e9733780ce
A patch from Sascha Rodekamp "Opening a lookup from a lookup in IE8 does not work", part of https://issues.apache.org/jira/browse/OFBIZ-3668 - OFBIZ-3668
...
The IE had problems with the variable 'item' ... maybe a reserved word ?!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933226 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 13:27:02 +00:00
Jacques Le Roux
b31485affb
Fixes some duplicates labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933206 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 12:06:38 +00:00