Jacques Le Roux
c7b353d3e8
Closes "Using Widgets html form templates in FTL files" ( https://issues.apache.org/jira/browse/OFBIZ-3541 ) - OFBIZ-3541
...
This concerns the lookups which are now rendered the same in ftl files and widget forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931854 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 10:19:38 +00:00
Ashish Vijaywargiya
60903cc17f
Minor fix. Existing service will create problem if we have created EFT account for party. So its good to filter the record for type "CREDIT_CARD" and then get the first one from the list.
...
Thanks Rishi for the patch!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931823 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 07:49:24 +00:00
Scott Gray
bdb8aa094b
Removed a service definition for an implementation that was removed quite some time ago.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931788 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 05:52:39 +00:00
Scott Gray
1c39f04adb
Service definition was pointing to the wrong implementation location, strange that they're in different components
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931787 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 05:52:37 +00:00
Scott Gray
eb4e287b9e
Switch some classpath style xml service locations to component style
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931776 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 04:08:53 +00:00
Bruno Busco
0f1a38a343
A patch from Blas Rodriguez Somoza
...
OFBIZ-3609 - XHTML validation errors (product)
XHTML validation errors
* Unclosed INPUT or IMG
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
EditKeywordThesaurus.ftl
Lines 44-84. When keywordThesauruses is empty the resulting markup will be
<table cellspacing="0" class="basic-table">
</td>
</tr>
</table>
Which is obviously wrong. Added an <#if to guard against wrong table markup when keywordThesauruses is empty.
FindProductPromoCode.ftl
Wrong markup at Line 27. Duplicated </span>
EditProductConfigItemContent.ftl
Wrong markup at line 99. Input can't be directly inside table. In this file the input can be one line before table tag without functional changes
<table cellspacing="0" class="basic-table">
<input type="hidden" name="configItemId" value="${configItemId?if_exists}">
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931700 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 21:50:56 +00:00
Bruno Busco
b9c1022e54
A patch from Blas Rodriguez Somoza
...
OFBIZ-3607 - XHTML validation errors (order)
XHTML validation errors
* Unclosed INPUT
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
findOrders.ftl
Wrong markup on line 470. Unrecognized onsubmit attribute in input tag
<input type='submit' value='${uiLabelMap.CommonFind}' onsubmit="javascript:lookupOrders(true);"/>
Wrong markup on line 478. div must be before if and not after. Look at line 138 the if begins with <div><table> it should end with </table></div>
</table>
</#if>
</div>
</div>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931691 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 21:15:53 +00:00
Bruno Busco
8b376fce8f
A patch from Blas Rodriguez Somoza
...
OFBIZ-3606 - XHTML validation errors (marketing)
XHTML validation errors
* Unclosed INPUT
* 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@931680 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 20:47:17 +00:00
Bruno Busco
3a923700e8
A patch from Blas Rodriguez Somoza
...
OFBIZ-3605 - XHTML validation errors (manufacturing)
XHTML validation errors
* Unclosed INPUT
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
EditProductBom.ftl
Wrong markup at line 67, 79, 113, 121. Nonmatching "
<img src="<@ofbizContentUrl>/images/fieldlookup.gif"</@ofbizContentUrl>"
finInventoryEventPlan.ftl
Wrong markup at line 69. Duplicated </a>
<img src='/images/fieldlookup.gif' width='15' height='14' border='0' alt="${uiLabelMap.CommonClickHereForFieldLookup}"/></a>
Wrong markup at line 86. Unclosed empty <td>, size don't match with previous row.
<td width="25%" align="center" valign="top">
Wrong markup at line 87. size don't match with previous row. (lacks %)
<td width="5"> </td>
Wrong markup at lines 145,148,221,224 Entity lacks final ;
<td align="center"> </td>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931678 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 20:42:38 +00:00
Bruno Busco
ebf50131f0
A patch from Blas Rodriguez Somoza
...
OFBIZ-3603 - XHTML validation errors (commonext)
XHTML validation errors
* Unclosed INPUT
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
CommonScreens.xml
Ampersands in links needs double encoding
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931671 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 20:33:17 +00:00
Bruno Busco
f97b63ac6e
A patch from Blas Rodriguez Somoza
...
OFBIZ-3584 - XHTML validation errors (accounting)
XHTML validation errors
* Unclosed INPUT
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
CommisionRun.ftl
Wrong markup at line 638. (td outside row and table.)
<td colspan='4'><h3>${uiLabelMap.AccountingNoInvoicesFound}</h3></td>
BatchPayments.ftp
Wrong markup at line 675 (opened h2 and closed h3)
<h2>${uiLabelMap.AccountingNoRecordFound}</h3>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931670 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 20:27:41 +00:00
Adam Heath
a0a7abfc58
Make ShoppingCart.getProductStoreShipMethId() work with the multiple
...
shipgroup system. This fixes a bug, where multiple
ProductStoreShipmentMeth are configured, each one using the *same*
carrierPartyId and shipmentMethodTypeId, but have different cost
estimates attached, while making use of include/exclude geos, and other
restrictions. In effect, no matter what specific
ProductStoreShipmentMeth you selected, when updating the total shipping
estimates(for display on a summary cart screen), it would try to do a
find on just the carrierPartyId/shipmentMethodTypeId pair, and basically
choose one at random. So if there were multiple configured estimates on
USPS/FIRST_CLASS, it was unknown which would be chosen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931595 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 15:47:34 +00:00
Adam Heath
1e703c557a
If an exact productStoreShipMethId is requested, then do an exact AND
...
match, not an OR. Otherwise, both the original exact entity will be
returned, *and* any others that happen to have the same
carrierPartyId/shipmentMethodTypeId pair. Then, when getFirst is
called, it will effectively be random. This bug shows up with showing
cost estimates for a shipping method picker during checkout.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931594 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 15:47:27 +00:00
Ashish Vijaywargiya
38a9e63400
Applied patch from jira issue OFBIZ-3655 - When Order Items are cancelled, at the time of editing the order, system should generate Order Note in Order Detail Page.
...
Thanks Divesh for the contribution.
Also fixed typo in your patch:
canceled -> cancelled
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931459 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 08:15:23 +00:00
Hans Bakker
158fd4aec9
Update dutch translation, a contribution by Willem Janssen: OFBIZ-3652
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931430 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 04:27:42 +00:00
Jacques Le Roux
cfa3c2075d
A patch from Nicolas Malin "Accounting better French translation" https://issues.apache.org/jira/browse/OFBIZ-3649 - OFBIZ-3649
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931326 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 20:57:54 +00:00
Scott Gray
8ff3d00360
Removed commented and ununsed code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931212 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 16:28:34 +00:00
Scott Gray
c46617fed3
Generics markup
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931210 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 16:26:06 +00:00
Scott Gray
a75dd88034
Added support for generating content links by looking for an appropriate WebSitePathAlias to use, I skipped adding support for finding an alias via mapKey/contentId for now since quite a bit of processing would be required to find an appropriate match
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931174 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 15:02:32 +00:00
Erwan de Ferrieres
cc417fefb1
Accounting French traduction on invoiceType (OFBiz-3649) - https://issues.apache.org/jira/browse/OFBIZ-3649
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931143 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 13:17:41 +00:00
Erwan de Ferrieres
7283d6a0ee
Adding missing French uiLabels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931068 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 09:59:49 +00:00
Ashish Vijaywargiya
57e054c9e2
Code improvement.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931049 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 08:42:16 +00:00
Erwan de Ferrieres
256028190e
Error screen in ap -> reports - OFBIZ-3640 ( https://issues.apache.org/jira/browse/OFBIZ-3640 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931045 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 08:08:22 +00:00
Adam Heath
3e7f6314f7
Remove testdef to a class that doesn't exist.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931024 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 05:28:12 +00:00
Scott Gray
bde54f16ff
In ContentWorker.renderContentAsText, I've moved the check for a dataResourceId down to the point where the DataResource record actually needs to be rendered. If a decorator content is present then it is quite possible that the content record is simply being used as a plcaeholder to render sub content records.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930968 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 21:42:28 +00:00
Ashish Vijaywargiya
a220091a5c
Applied patch from jira issue - OFBIZ-3635 - Contact list unsubscription email notification.
...
Thanks Chandan for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930842 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 11:25:08 +00:00
Hans Bakker
691f3922c2
allow the custreq status change from accepted to completed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930789 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 04:19:17 +00:00
Bilgin Ismet Ibryam
4b60bfb7f9
Cleanup autocompleter fields. Removed type fields from the list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930707 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 16:06:24 +00:00
Bilgin Ismet Ibryam
2a29d19bc0
Committed a patch from OFBIZ-3541 "Using Widgets html form templates in FTL files". This change will make autocompleter available also in ftl lookups.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930660 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 10:38:19 +00:00
Ashish Vijaywargiya
a70cd41cc1
Improved service "createQuoteFromCart" so that it could take Purchase order case too for the creation of Quote.
...
Also done formating in FTL file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930630 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 06:29:17 +00:00
Adrian Crum
f1e0626ad1
A patch from Bob Morley ( https://issues.apache.org/jira/browse/OFBIZ-3592 ) with modifications from me - fix Eclipse/compiler warnings in the Work Effort application.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930626 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 05:27:07 +00:00
Jacques Le Roux
ff6362a315
Remove the presentation="layer" position="center" attributes as at the end they will not be needed as layer will be the default and the default position will finally be topleft. Actually they slipped in and I let them because it was not a problem, but now I prefer to have all consistent and clear.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930575 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 20:33:01 +00:00
Vikas Mayur
3e40bf98c2
In the service def. replaced <check-permission> with <permission-service> tag such that a permission checking is done using a permission
...
service. Also moved the permission checking logic to service definition.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930551 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 17:58:06 +00:00
Scott Gray
25c3f11822
Improved the content rendering so that multiple levels of decoration are supported, previously you could have only one content and it's decorator, anything above that and the contents being decorated would get lost in the rendering logic.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930544 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 17:11:34 +00:00
Vikas Mayur
82c5c4efc7
Moved permission checking logic to service definition. This commit also fix a bad security permission check on updateQuantityBreak and
...
deleteQuantityBreak services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930543 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 17:01:29 +00:00
Vikas Mayur
2482bd5ade
Moved permission checking logic to service definition. Applied applications only part of my patch
...
from jira issue OFBIZ-3632 (https://issues.apache.org/jira/browse/OFBIZ-3632 )
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930537 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 16:11:53 +00:00
Vikas Mayur
81c73e21de
Fixed a potential NPE since ProductStore.storeName is an optional field.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930507 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 11:54:40 +00:00
Vikas Mayur
a069c8d0b5
Specifying the decorator screen location. By defining a location param in your own web.xml the OOTB decorator in the screens can easily be overridden by a custom decorator.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930486 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 07:23:53 +00:00
Scott Gray
2e84dbca9d
Following on from r930477, removed another reference to currency for EditProduct's quantityUomId field. Thanks for the report Jacopo.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930481 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 06:11:54 +00:00
Scott Gray
9cb19dd0c4
EditProduct's quantityUomId drop down should display all UomTypes except CURRENCY_MEASURE, bug reported by Len Shein on the user list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930477 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 05:20:58 +00:00
Adam Heath
e251479be7
Improve getAttribute() method on ShoppingCart and CartShipInfo, so that
...
calling code doesn't have to cast.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930407 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 21:58:05 +00:00
Adam Heath
89cbb1d721
Switch the attributes instance variable to FastMap.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930406 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 21:57:31 +00:00
Adam Heath
56be2e582d
Add generics markup to orderAttributes. Baby steps.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930404 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 21:55:58 +00:00
Jacques Le Roux
4ec0311df1
A patch from Bob Morley "Resolve java warnings exposed in Eclipse (POS part of OFBIZ-3100)" https://issues.apache.org/jira/browse/OFBIZ-3600 - OFBIZ-3600
...
Changes across quite a few classes in the Pos area. Also minor changes to the CheckoutHelper - validatePaymentMethods and processPayment methods which were returning non-generic Maps.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930373 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 20:31:12 +00:00
Adam Heath
c0e592dc23
Add support to loadCartFromOrder for reading of the OrderItemShipGroup
...
information from the database.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930325 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 16:50:32 +00:00
Adam Heath
c5c0fe29ce
Add a feature to loadCartFromOrder to allow it to include promo items
...
into the cart, as they are read from the database. This is useful when
the cart will eventually be used in a read-only type fashion, as the
cart will look identical to what it was before the order was created.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930324 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 16:49:41 +00:00
Adam Heath
7e3ee50e31
Don't constantly convert the internal ShoppingCartItemGroup.groupNumber
...
from an int to a String; instead, do the conversion once inside the
constructor.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930322 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 16:48:48 +00:00
Adam Heath
e71909c3aa
Add OrderItem relation on OrderItemGroup.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930321 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 16:47:22 +00:00
Adam Heath
d6c2eb3e58
In createOrderNote, set the allow-html attribute on the note parameter
...
to be the same as createNote.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930319 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 16:46:25 +00:00
Vikas Mayur
c1a6159f64
Removed unnecessary occurrences of <or> tag enclosure in a singleton condition expression. in all of the lookup screens. Also removed few empty new lines.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930252 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 12:05:17 +00:00