Commit Graph
16227 Commits
Author SHA1 Message Date
Marco Risaliti 1d6dfa46d0 This generics markup will be fix later
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056098 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 21:59:25 +00:00
Marco Risaliti d839b79e16 Generics markup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056092 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 21:39:38 +00:00
Jacques Le Roux 6c6572eb2f Fix bugs reported by Jeremy Wickersheimer at "Error in order email confirmation template" (https://issues.apache.org/jira/browse/OFBIZ-4096) - OFBIZ-4096
In: specialpurpose/ecommerce/webapp/ecommerce/order/orderheader.ftl:123

<#assign pmBillingAddress = creditCard.getRelatedOne("PostalAddress")>

is missing the ?if_exists causing errors in some cases.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056072 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 20:57:48 +00:00
Hans Bakker 0146cfcac6 In the catalog manager, replace the category and catalog tree by a single jquery tree, add a category option to list and search on categories similar to the new product option
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055790 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 08:36:23 +00:00
Hans Bakker ca5b09bc7a add a popular categories section to the ecommerce frontpage which is generated from the data warehouse of real orders. Also adjusted the sales reports from the data warehouse by week/month/year. Demo data included is for display only
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055774 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 07:37:45 +00:00
Adrian Crum 7ed7db624b Fixed a bug in HR component - it was trying to use a properties file from the WebPOS component - which isn't loaded by default.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055744 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 04:41:23 +00:00
Hans Bakker 7ba2e48c69 when subscribing to a mailing list, the emailaddress is checked if already extsts and will be using that party.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055711 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 02:15:55 +00:00
Marco Risaliti 5167ffecee Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055656 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 21:49:33 +00:00
Adrian Crum 7ff812d56b Fixed bug from my last commit - CommonEmptyHeader UI label was altered by Label Manager.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055454 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 13:04:45 +00:00
Jacopo Cappellato a6922893a3 hot-deploy component are now always loaded in alphanumeric order; before this change they were loaded randomly (in a platform dependedent way).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055411 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 11:05:13 +00:00
Jacques Le Roux 2fa0a5e0a9 Remove an useless commented out block of code after an exchange with Bilgin on dev ML. No functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055370 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 09:26:45 +00:00
Adrian Crum 2a07a8392d Brazilian Portuguese translation for framework/common. Patch provided by Luis Alfredo Harriss Maranesi - https://issues.apache.org/jira/browse/OFBIZ-4094.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055290 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 03:48:59 +00:00
Marco Risaliti 8149a9bbe1 MULTIFLEX ecommerce Advanced Search layout issues (OFBIZ-3943)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055188 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 21:38:10 +00:00
Marco Risaliti 018ba18774 Internazionalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055178 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 21:01:41 +00:00
Marco Risaliti e1af094dd3 Replace tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055175 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 20:34:18 +00:00
Marco Risaliti 5df1daaf13 Internazionalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055172 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 20:29:26 +00:00
Jacques Le Roux 65f92a9a1f Still missed something, it's clean now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055109 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 17:21:51 +00:00
Jacques Le Roux ee2c6eef8a While I cleaned the description field at r1051602 I broke some description cases. It's fixed now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055104 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 17:10:19 +00:00
Jacopo Cappellato b215575fb1 Updated demo/test data to new year: this fixes some tests that were failing after the switch to 2011
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055057 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 14:34:15 +00:00
Erwan de Ferrieres 996a8711c4 Wrong classpath for dozer and watermaker, and removing generated folders for sql and base which were displayed as errors in eclipse
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055027 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 13:16:03 +00:00
Adrian Crum d8166de0da Brazilian Portuguese translation for framework/common. Patch provided by Luis Alfredo Harriss Maranesi - https://issues.apache.org/jira/browse/OFBIZ-4077.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054881 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 03:18:12 +00:00
Hans Bakker 0819734eba add billing account as a payment method in the party profile
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054857 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 02:01:08 +00:00
Ashish Vijaywargiya c6be405cee First pass, adding new entity ReturnContactMech that will help us to store and fetch the correct values for email, phone & address for the new exchange order. Providing service definition and its implementation.
Adding conditional check for adding "ORDER_EMAIL" for the newly created party from the ecommerce store. This check is added because you couldn't see the party's email that has been provided at the time of checkout if you update party's email from Order View page. It may happen that you wanted to use the same email address again if that email wouldn't get expired. 

Work done by me & Amit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054599 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 12:53:29 +00:00
Jacques Le Roux 3e845d742a Fix a typo (missed a white space)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054582 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 10:59:53 +00:00
Erwan de Ferrieres 6721f91797 Online documentation wasn't working as described in ExampleEntityLabels :
FieldDescription.[fieldname] - will be used for all fields of that name
        FieldDescription.[entityname].[fieldname] - will be used for the specified entity field

The FieldDescription.[fieldname] wasn't supported yet, now it's done. I've also changed the log level to verbose as it may full the log console it there are a lot of fields on a screen

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054573 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 10:17:39 +00:00
Ashish Vijaywargiya 415034ebb5 Bug fix. Make sure we have websiteId available if not take it from cart if its there to make sure we have webSite associated with the order in createOrder method.
Thanks Pranay for the contribution!




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054565 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 09:09:17 +00:00
Adrian Crum 8e153fd7ce A bug fix for the new commonGetAllCrudPermissions service - don't require the user to be logged in.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054517 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 01:56:32 +00:00
Marco Risaliti a96995c579 USPS use the new Shipment Gateway Config features (OFBIZ-4089)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054435 13f79535-47bb-0310-9956-ffa450edef68
2011-01-02 17:20:48 +00:00
Marco Risaliti 4b84f4641b DHL use the new Shipment Gateway Config features (OFBIZ-2589)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054389 13f79535-47bb-0310-9956-ffa450edef68
2011-01-02 12:01:36 +00:00
Jacques Le Roux 813ba327ca Let's keep it simple: we don't need jQuery.extend() here. A simple prototype is enough.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054220 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 10:39:18 +00:00
Adrian Crum 35da2271fa Added two new UEL functions to make date/time display more user friendly. Form widget example:
<field name="someTimeStamp">
  <display description="${date:localizedDateTimeStr(someTimeStamp, timeZone, locale)}"/>
</field>

will display the date/time according to the user's locale, instead of yyyy-mm-dd hh:mm:ss.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054211 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 09:05:44 +00:00
Adrian Crum a925456a16 Fixed label widget rendering. Label widgets are inline elements except if they have the h1-h6 style, then they become block elements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054194 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 06:34:08 +00:00
Adrian Crum c8db9dfe43 Suppress rendering a field group banner when there are no field groups. This eliminates the annoying horizontal line that appears on single forms.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054193 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 06:32:12 +00:00
Adrian Crum 0dbdf4a204 Create a new permission checking service to make permission handling easier. The new service returns Boolean values for all CRUD + View permissions - avoiding the need to do multiple permission service calls.
The main purpose of the service is to control multiple screen elements with a single service call. This reduces screen widget and template code. Example:

<screen name="GetMyAppPermissions">
  <!-- This screen must be included before any decorators -->
  <section>
    <actions>
      <service service-name="commonGetAllCrudPermissions" result-map="result">
        <field-map field-name="primaryPermission" value="MYAPP"/>
        <field-map field-name="altPermission" value="MYAPP_ALT"/>
      </service>
      <set field="hasCreatePermission" from-field="result.hasCreatePermission" type="Boolean" global="true"/>
      <set field="hasUpdatePermission" from-field="result.hasUpdatePermission" type="Boolean" global="true"/>
      <set field="hasDeletePermission" from-field="result.hasDeletePermission" type="Boolean" global="true"/>
      <set field="hasViewPermission" from-field="result.hasViewPermission" type="Boolean" global="true"/>
    </actions>
    <widgets/>
  </section>
</screen>

<screen name="MainScreen">
  <section>
    <actions>
      <set field="titleProperty" value="MyAppMainScreen"/>
    </actions>
    <widgets>
      <include-screen name="GetMyAppPermissions"/>
      <!-- screen elements controlled by has*Permission field values -->
      ...
    </widgets>
  </section>
</screen>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054161 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 19:11:59 +00:00
Marco Risaliti 7c3b569c62 Fedex use the new Shipment Gateway Config features (OFBIZ-4087)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054128 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 15:54:10 +00:00
Jacques Le Roux 8215b6eb58 Removed the now useless getAssociatedProductsList request-map from the common-controller (was forgot there). From Adrian's remark in dev ML.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054072 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 09:24:42 +00:00
Adrian Crum b661f6c007 Bug fix - visual themes list didn't work for applications that don't have a Website record. Visual themes list now defaults to BACKOFFICE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054054 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 05:13:17 +00:00
Bruno Busco 9c09fa08af Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053943 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 17:07:47 +00:00
Adrian Crum 01fad1bf43 Minor layout fixes in the Flat Grey theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053869 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 12:23:37 +00:00
Adrian Crum 38dea67fbc All find services return a list size.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053771 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 23:32:26 +00:00
Adrian Crum 619d302f7d FindScreenDecorator uses the page-title style.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053770 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 23:30:54 +00:00
Marco Risaliti 933f09333e Better Italian labels for product subscriptions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053768 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 23:26:11 +00:00
Andrew Zeneski 6ef1f49cdd finished the eway integration screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053754 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 21:55:59 +00:00
Jacques Le Roux bf280afa6e English initialisation for the jQuery UI date picker plugin. Only added by in OFBiz to get rid of "Failed to load resource: the server responded with a status of 404 (Not Found)" in Chrome js console. It's redundant with "Default regional settings" in function Datepicker() {
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053739 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 21:18:55 +00:00
Andrew Zeneski 9134b5eeb6 added eway payment integration
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053723 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 20:05:11 +00:00
Andrew Zeneski ad997886c7 changed the sql generated from the table-type field (used to specify the table type in mysql) from TYPE (deprecated in 4.1 and removed in 5.5.8 (maybe prior) to use the ENGINE keyword instead; creating tables in mysql 5.5.8 now working again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053722 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 20:00:36 +00:00
Andrew Zeneski caa348bbe9 addressed issues with calling lookup forms with parameters (mainly when using layered lookups); instead of appending ?presentation now it will use the same logic used in other places to see if parameters exist
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053680 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 17:41:03 +00:00
Andrew Zeneski 602f732c42 updated autocomplete functions to fire events (same as selecting from a lookup list) when items are selected from the autocomplete (either by pressing enter or with a mouse click)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053678 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 17:15:45 +00:00
Andrew Zeneski 4f549f2988 changed placement of firing the changed event to the write_value function; since all setters call this function
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053677 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 17:15:01 +00:00
Andrew Zeneski 5940cd1938 fixed issue with getDependentDropdownValues; when the returned list contains only a single item (in Safari) the indexOf method is undefined; changed code to use jQuery.inArray instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1053649 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 15:18:21 +00:00