Adrian Crum
da42890638
A patch from Blas Rodriguez Somoza - XHTML validation errors (framework excluding widget) ( https://issues.apache.org/jira/browse/OFBIZ-3622 ).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930701 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 15:29:58 +00:00
Bilgin Ismet Ibryam
e2c539b0ef
Removed double ampersands from autoCompleterTarget, because it was breaking autocompleters.
...
Autocompleter code (a third party library) expects only one ampersand and adds the second one itself during ajax call.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930670 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 12:28:33 +00:00
Bilgin Ismet Ibryam
2c208a4b35
Using == is more readable than = for comparisons (even both work the same way in FTLs)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930666 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 11:48:14 +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
8c6360bad0
A modified patch from BJ "Tenant login can cause a problem when contacting a delegator" ( https://issues.apache.org/jira/browse/OFBIZ-3578 ) - OFBIZ-3578
...
If the tenantid has leading/trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930580 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 21:07:37 +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
ff81b42928
Extending the <required-permissions> tag in service model such that it can contain one or more occurrence of <permission-service> tag.
...
This is helpful when there is a need to check more then one permission using a permission service.
Applied framework only part from 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@930536 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 16:07:18 +00:00
Jacques Le Roux
964c4c302d
A modified patch (indentation done mostly) from Blas Rodriguez Somoza "XHTML validation errors (framework/widget) Tree widget and Date time field rendering issues" https://issues.apache.org/jira/browse/OFBIZ-3628 - OFBIZ-3628
...
htmlTreeMacroLibrary.ftl
Tree widget renders unclosed <li> tags.
Example from Accounting -> Global GL settings -> Navigate accounts
<ul class="basic-tree">
<li><ul class="basic-tree">
<li>
<li><a class="collapsed" href="/accounting/control/GlAccountNavigate?trail=null|100000"> </a><a href="/accounting/control/GlAccountNavigate?glAccountId=100000&trail=null">100000
htmlFormMacroLibrary (macro renderDateTimeField)
selected attribute without value
<option value="AM" selected>
input inside ul
<ul>
......
<input type="hidden" name="${compositeType}" value="Timestamp"/>
</ul>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930516 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 12:42:36 +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
Jacques Le Roux
51220b3101
Add a caution note to the run-install-multitenant target
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930492 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 08:18:49 +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
Adrian Crum
38727d0730
Added run-install-multitenant ant target to make it easier to set up the multi-tenancy demo.
...
Caution: this creates three databases, with each one loaded with all demo data. Be aware of disk space use and the time required to run the task.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930471 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 04:44:13 +00:00
Adrian Crum
f152bcfdf9
Changed a demo data comment to help clear up some confusion.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930470 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 04:41:21 +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
5ec1f9cda5
Fix bad transaction pattern introduced with 927256.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930332 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 17:22:24 +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
Vikas Mayur
e133473892
Replaced
...
<if-has-permission permission="ACCOUNTING" action="_VIEW"/>
with
<if-service-permission service-name="acctgBasePermissionCheck" main-action="VIEW"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930250 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 11:48:54 +00:00
Vikas Mayur
a2added370
Replaced
...
<if-has-permission permission="PARTYMGR" action="_VIEW"/>
with
<if-service-permission service-name="partyBasePermissionCheck" main-action="VIEW"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930248 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 11:45:14 +00:00
Vikas Mayur
41b9e5f0fe
Replaced
...
<if-has-permission permission="ACCOUNTING" action="_VIEW"/>
with
<if-service-permission service-name="acctgBasePermissionCheck" main-action="VIEW"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930247 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 11:36:59 +00:00
Vikas Mayur
2e460a2be6
Added a new base permission in accounting component. Used the new permission service for permission checking in the lookup screens.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930243 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 11:22:44 +00:00
Vikas Mayur
df81456da6
Removed trailing spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930241 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 11:17:37 +00:00
Vikas Mayur
f09a021b40
A singleton expression does not need to be surrouded by an <or> tag and hence removing it.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930238 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 11:15:52 +00:00
Vikas Mayur
d20b0eb9b7
Moved the accounting permission services to a separate file.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930233 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 10:52:06 +00:00
Ashish Vijaywargiya
c27b5933ae
Added allow-html="safe" for description fields.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930225 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 10:10:07 +00:00
Jacques Le Roux
46a74ff4c5
Remove trailing white spaces (I got a conflict)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930223 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 10:05:39 +00:00
Erwan de Ferrieres
567e2c62ec
Adding French uiLabels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930220 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 09:55:33 +00:00
Erwan de Ferrieres
bf0d08ad2d
Adding entityLabels for WebSiteContentType
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930205 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 09:35:49 +00:00
Erwan de Ferrieres
fb5493bbaf
Badly formed from-field values (mis-matched curly braces) OFBIZ-3631 ( https://issues.apache.org/jira/browse/OFBIZ-3631 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930202 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 09:21:53 +00:00
Vikas Mayur
473653ff01
Removed an unnecessary assignment in the template and moved it to the script.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930188 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 08:52:52 +00:00
Jacopo Cappellato
dacb719611
Implemented upgrade script for deprecated field Facility.squareFootage
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930182 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 08:22:17 +00:00
Scott Gray
195c3dbb10
Log an error and ignore decoratorContentId if it is the same as the contentId being rendered. Prevents a stack overflow.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930156 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 03:37:33 +00:00
Erwan de Ferrieres
142d926fd0
Closing XML tags, no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929989 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 14:26:11 +00:00
Bilgin Ismet Ibryam
cb82865b56
Added createUpdateFacilityGeoPoint service for creating or updating geo points assigned to a facility.
...
Added facility geo point screen for editing and visualizing facility geo point.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929946 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 12:44:37 +00:00
Hans Bakker
f642affa29
Resolve java warnings a contribution of Bob Morley
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929916 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 10:50:39 +00:00