Commit Graph
14674 Commits
Author SHA1 Message Date
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 b2f2a17e27 A few more EntityConditionBuilder examples
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935330 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 10:41:46 +00:00
Scott Gray b9c89499a5 A couple of examples of using EntityConditionBuilder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935329 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 10:41:32 +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
Jacques Le Roux f07a75fa13 A patch from Bob Morley "Resolve java warnings exposed in Eclipse (Marketing part of OFBIZ-3100)" https://issues.apache.org/jira/browse/OFBIZ-3587 - OFBIZ-3587
Very minor change to VCard.java - now using unknown generic in iterator (Iterator<?>).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935313 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 08:06:49 +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
Bruno Busco 70ce5b9598 A patch from Blas Rodriguez Somoza
OFBIZ-3682 - XHTML validation errors round 2 (workeffort)
https://issues.apache.org/jira/browse/OFBIZ-3682
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:

WorkEffortSearchOptions.ftl
Line 162: Input is not allowed directly inside table.

WorkEffortCommEventForms.xml
Line 59: hidden field in sort order before banner creates a visible empty table.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935310 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 07:20:44 +00:00
Bruno Busco dd833d6d77 A slightly changed (tabs replaced with spaces) patch from Blas Rodriguez Somoza
OFBIZ-3683 - XHTML validation errors round 2 (product)
https://issues.apache.org/jira/browse/OFBIZ-3683
XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935309 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 07:00:37 +00:00
Scott Gray d1c385bbfe A few examples of using groovy's first() list method instead of EntityUtil.getFirst(List)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935278 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 00:16:52 +00:00
Bruno Busco 6eff56b946 A slightly changed (tabs replaced with spaces) patch from Blas Rodriguez Somoza
OFBIZ-3684 - XHTML validation errors round 2 (party)
https://issues.apache.org/jira/browse/OFBIZ-3684
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:

visitdetail.ftl
From must be inside td.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935271 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 22:31:44 +00:00
Bruno Busco 35ac7ec381 A slightly changed (tabs replaced with spaces) patch from Blas Rodriguez Somoza
OFBIZ-3685 - XHTML validation errors round 2 (order)
https://issues.apache.org/jira/browse/OFBIZ-3685
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:

checkinits.ftl
Line 104, 171: duplicated id userLoginId

appendorderitem.ftl
Line 65: invalid a closing

editorderitems.ftl
Line 214: needed td close;

orderagreements.ftl
Line 35,55: hidden input must be inside td.
Line 37,67: attribute valign not valid for tr

orderinfo.ftl
Lines 22-88: form must be inside li.
Lines 232-248: form must be inside td.

orderpaymentinfo.ftl
LInes 122,123,124,155: wrong syntax -> class"label" should be -> class="label"

ordershippinginfo.ftl
Line 62: form must be inside li.
Line 296,297: label for attribute does not match input id
Lines 308, 310: label for attribute does not match select id
Line 318: duplicated unneeded id.
Line 319. 321: label for attribute does not match select id
Lines 499, 519: form must be inside td
Line 527: duplicated span open
Lines 521,546: form must be inside td
Line 552: duplicated span open

quoteInfo.ftl
Line 40: invalid /div

quoteRoles.ftl
Lines 24-44: avoid empty table

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935270 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 22:26:44 +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
Jacques Le Roux b5cfc499f9 Organize import
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935267 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 22:17:42 +00:00
Bruno Busco d1979c11c4 A patch from Blas Rodriguez Somoza
OFBIZ-3687 - XHTML validation errors round 2 (manufacturing)
https://issues.apache.org/jira/browse/OFBIZ-3687
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:

EditProductBom.ftl
Line 110: duplicated id "productId"

EditCalendar.ftl
Lines 71, 74: unclosed td

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935266 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 22:07:44 +00:00
Bruno Busco 28e67b0349 A patch from Blas Rodriguez Somoza
OFBIZ-3688 - XHTML validation errors round 2 (content)
https://issues.apache.org/jira/browse/OFBIZ-3688
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:

ContentTreeLookupList.ftl
Line 20: tr with attribute colspan

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935263 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 22:02:54 +00:00
Bruno Busco bdaf56ec66 A patch from Blas Rodriguez Somoza
OFBIZ-3689 - XHTML validation errors round 2 (commonext)
https://issues.apache.org/jira/browse/OFBIZ-3689
XHTML validation errors

    * Uppercase tags or attributes.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935262 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 21:56:56 +00:00
Bruno Busco e96545ffc2 A patch from Blas Rodriguez Somoza
OFBIZ-3690 - XHTML validation errors round 2 (accounting)
https://issues.apache.org/jira/browse/OFBIZ-3690
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:

CostCenters.ftl
Lines 37,51: input must be inside td.
Lines 45,47: duplicated id, and invalid character "|"

EditCustomTimePeriods.ftl
Form must be outside table

CommisionReport.ftl
Line 77: invalid td outside tr and there is no open table at this point

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935260 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 21:52:20 +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 af3dc66664 Get rid of a few Boolean instantiations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935162 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 10:25:42 +00:00
Jacques Le Roux 8f9b43feaa Change B2B and B2C stores names to avoid a drawback in demo order entry see "Order Manager: the Add Gift Certificate button in 3rd screen of order creation does not work" (https://issues.apache.org/jira/browse/OFBIZ-3636) - OFBIZ-3636
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935150 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 08:47:34 +00:00
Bruno Busco 6383912d42 A patch from Blas Rodriguez Somoza
OFBIZ-3653 - CSS Style for select wrong in tomahawk theme
https://issues.apache.org/jira/browse/OFBIZ-3653


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935149 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 08:27:10 +00:00
Scott Gray a02984f357 Fix OFBIZ-3523, the demo order confirmation email wasn't including full urls
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935146 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 08:17:19 +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 a0943f6483 Switched a few other String to BigDecimal parsing attempts over to the conversion framework
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935140 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 07:41:57 +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 fc8af449a3 Switch to using the conversion stuff for getting a BigDecimal from a string
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935138 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 07:09:24 +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 46734dcf97 Removed another unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935134 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 05:37:00 +00:00
Scott Gray 2fbe8da09b Removed two unnecessary not null checks and the corresponding unreachable else blocks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935133 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 05:36:48 +00:00
Scott Gray fdd0d5f4c2 Removed some unnecessary casts and added a little generics markup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935132 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 05:36:34 +00:00
Scott Gray 39709d7b30 Added missing popup.js which seems to be required during ordermgr checkout
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935131 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 05:36:19 +00:00
Ashish Vijaywargiya 87b71cced0 Applied patch from jira issue - OFBIZ-3706 - updateOrderPaymentPreference service should not be dependent on flag cancelThis to cancel status of OrderPaymentPreference record.
Thanks Divesh & Pranay for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935123 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 04:49:07 +00:00
Scott Gray 997dacf62a Typo fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935118 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 03:29:46 +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 aa21e44705 A patch from Chris Snow "ecommerce screen shows error after loading only seed data" (https://issues.apache.org/jira/browse/OFBIZ-2798) - OFBIZ-2798
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935089 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 22:05:50 +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
Joseph Eckard 6f30dd1146 cleaned up order header adjustment display
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935032 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:27:05 +00:00
Joseph Eckard 34c5d6304b if the supplierProductId is present (purchase orders) display that instead of productId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935031 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:26:58 +00:00
Joseph Eckard 7d75d79d96 fix <br> and <hr> tags
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935030 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:26:51 +00:00
Joseph Eckard 4965884379 remove superfluous <div> tags
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935028 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:26:44 +00:00
Joseph Eckard e2d685ee94 reformat
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935027 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:26:37 +00:00
Joseph Eckard 465e40ade2 if the supplierProductId is present (purchase orders) display that instead of productId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935026 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:26:30 +00:00
Joseph Eckard 6a089b7509 reformat
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935025 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:26:23 +00:00
Joseph Eckard e31dfdbc84 changed getPurchaseOrderItemDescription to only return the supplierProductName now that the supplierProductId is stored elsewhere
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935024 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:26:16 +00:00