Commit Graph
14503 Commits
Author SHA1 Message Date
Jacques Le Roux 3d050bde89 A couple of i18n and l10n stuff
Following Bilgin's recommendation, I almost successfully tested the iterate-section i18n using [<iterate-section entry-name="ownedFinAccount"...].
Almost, since I was unable to find the right paginate-target value as it's not a screen or a form but a screenlet.
Should we create an entry in the controller in such case?  And if it's the case how, what to do ? In other words how do we call a screenlet ?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688167 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 18:23:42 +00:00
Vikas Mayur 7622e963d5 Added a comment to facilitate the usage of new profile and customer pages.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688098 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 15:32:53 +00:00
Vikas Mayur 3ab0dcb930 Adding completely new screens for customer and profile pages which are more compliant to industry standards.
To use these screens comment existing newcustomer and viewprofile screen and uncomment the new ones which has same names.

Entity Change: A new field is added to check default billing address in PartyProfileDefaults.
As this new stuff becomes matured and community accept this as default then we can remove older stuff.

Thanks to Sumit Pandit, Rishi Solanki, Brajesh Patel and Santosh Malviya for there valuable contribution.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688081 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 13:40:31 +00:00
Jacques Le Roux c9f4b77d69 French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688073 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 12:22:43 +00:00
Jacques Le Roux 3542d23712 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688001 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 07:35:20 +00:00
Hans Bakker c31b83b764 correction on label reported by Jacques and make the text box bigger on a request note
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 03:44:23 +00:00
Bilgin Ismet Ibryam c0e521f296 Applied the patch from JIRA Issue # OFBIZ-1926 "ProductConfigWrapper.getPrice() price calculation for non mandatory options (non COMPONENT_PRICE type) not working correctly" reported by Ritesh Trivedi.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687723 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 12:18:50 +00:00
Scott Gray cef6a0fb92 Thought I'd have a go at using the new entity-auto feature
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687676 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 09:53:22 +00:00
Adrian Crum ead3169d5c FlexibleStringExpander refactor.
1. Improved parsing logic - the entire expression is pre-parsed now.
2. Factory method stores parsed expressions in the cache.
3. Single null/empty expression instance - saves on memory.
4. Class names and variable names shortened to reduce object size.
5. Small performance improvements.

The expression cache is set up with no limit. We'll have to see if that needs to be changed. Larger installations might need to limit the expression cache size.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687422 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 18:50:04 +00:00
Hans Bakker e3ec802f87 added the ability to add notes to custRequest items
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687293 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 08:53:10 +00:00
Hans Bakker c7fd0326a1 several improvements to the customer request screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687279 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 08:03:43 +00:00
Hans Bakker 9fe77d5cbc small adjustment in titles, screenlet conversion, sendemail using primary email address
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687270 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 07:20:38 +00:00
Hans Bakker 559263f78b add contact purpose to demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687267 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 07:15:52 +00:00
Jacques Le Roux df3a5c3b50 Fix number of bugs. This allow to export but there is still bug(s?) in the FO->PDF transformation
Unable to transform FO file: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687143 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 20:18:07 +00:00
Jacques Le Roux 50192bae02 A 1st level i18n
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687119 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 18:37:21 +00:00
Ashish Vijaywargiya bb84947204 Minor Improvement in the previous patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687045 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 13:00:11 +00:00
Ashish Vijaywargiya 5f9596c646 Generalized the method for extracting states for selected country from drop down and improved java script for billingSameAsShipping option in billing panel of one page checkout.
Thanks to Jyotsna Rathore and Sumit Pandit in this contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687037 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 12:16:20 +00:00
Hans Bakker ee2bccca97 small adjustments and removel of a duplicate screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686986 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 08:48:13 +00:00
Bilgin Ismet Ibryam e5afabdd62 Add possibility for entering comments for configurable product options. The comments are attached to production runs as notes.
Thanks to Jacopo and BJ for their comments.
Internationalization note: this commit contains new UI labels.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686748 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 13:30:35 +00:00
Ashish Vijaywargiya d94bd4178f Added few WorkEffortType record for an Event.
Patch from Ratnesh Upadhyay

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686737 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 12:32:46 +00:00
Ashish Vijaywargiya d7867af0b0 Patch from JIRA issue https://issues.apache.org/jira/browse/OFBIZ-1910 "Add support of fromDate & thruDate in CustRequestRole entity".
Slight change in Entity name in this commit.
In the attached patch the  name of entity was "CustomerRequestRole" but in this commit the name of new entity is "CustRequestParty"(Looked more close to the data model pattern).

Thanks Bilgin for your valuable Input on this.
I have also written the Migration service for providing the Backward compatibility.

Special thanks to Ratnesh & Jacopo in discussing with me on this work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686731 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 11:47:14 +00:00
Bilgin Ismet Ibryam c1ea34eda8 Copied productDetail screen files to ecommerce, which should allow customized version of these screens for order manager and ecommerce applications.
This was agreed before some time here http://www.nabble.com/New-field-for-WebSite-entity--to14854979.html#a14854979

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686714 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 09:53:13 +00:00
Hans Bakker e9243cd0ed correct typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686672 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 03:54:52 +00:00
Hans Bakker 910b112f11 corrected wrong view name and cleanup others
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686671 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 03:53:32 +00:00
Adam Heath 5bc7e67662 Iterate the correct list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686668 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 02:37:10 +00:00
Jacques Le Roux 94591ccc4d Following description added for the workEffortParentId field in rev. 677193 by Jacopo, I added some descriptions here.
But I quickly realized, as David explained, that "We can't document every little thing". 

The best in such case is simply to use he relations view in entity maintenance feature in Webtools to see which fields relate with which entities


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686636 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 19:49:23 +00:00
Bilgin Ismet Ibryam 40d4c4745b Fixed few requests which allow access to main page without authorization check.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686630 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 18:51:26 +00:00
Adrian Crum f7ab19876b Removed availableLocales and availableTimeZones from screen rendering context - they are not needed anymore. Also deleted an unused ftl file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686622 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 16:37:42 +00:00
Hans Bakker 2ce52072e6 refinement security for creating external email and internal comm notes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686595 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 09:16:38 +00:00
Hans Bakker 563dccbe37 missing field name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686594 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 09:10:39 +00:00
Hans Bakker efe3927216 add missing label and only show option if has access
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686592 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 08:49:18 +00:00
Jacques Le Roux e7905f2c8c Fix the anti-pattern
if (* != null && *.size() > 0) { 
where * is a variable name (String or Collection). Rewritten to
    if (UtilValidate.isNotEmpty(*)) {

Done with Eclipse regex replace feature with
search = if \((\w+) *!= *null *&& *(\w+)\.size\(\) *> *0\) *\{
replace = if (UtilValidate.isNotEmpty($1)) {

And of course some hand-work for imports and cleaning. I compiled and tested with ant run-tests

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686591 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 07:47:18 +00:00
Hans Bakker 57d3cd208c use system userlogin to create role, so everybodu can create a communication event, only remove commevent role if it can be found, spaces for tabs(last change)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686581 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 01:34:06 +00:00
Scott Gray f219aa1c43 Shouldn't have removed this one
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686579 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 00:08:10 +00:00
Scott Gray c98e7dc59f Removed unnecessary "error" response elements from the controller files, if no event is defined then "success" will always be the response name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686577 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 00:00:49 +00:00
Scott Gray 85af94fabd Various clean ups, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686377 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 21:40:30 +00:00
Hans Bakker 759bf5a7e0 list all customer requests with optional workeffort....correcting link error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686168 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 07:36:16 +00:00
Hans Bakker 17a4f51ce7 change display order of security groups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686129 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 03:25:27 +00:00
Hans Bakker 15e4bc9bff change order to be more usefull
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686122 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 02:57:50 +00:00
Hans Bakker a5c197d3de improoved readability of code on suggestion of jacopo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686100 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 01:26:47 +00:00
Adam Heath 5930d43294 Another anti-pattern discovery.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685951 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 16:24:56 +00:00
Adam Heath 66d7ec8c94 Use IN instead of looping and creating a bunch of sub-expressions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685945 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:37:17 +00:00
Adam Heath 83de5c84bd Generics, StringBuilder, for-loop, Number.valueOf.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685939 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:14:11 +00:00
Adam Heath 4cf1e9d438 Generics, StringBuilder, for-loop, Number.valueOf.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685938 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:13:53 +00:00
Adam Heath cf28c9d298 Generics, StringBuilder, for-loop, Number.valueOf.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685937 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:13:17 +00:00
Adam Heath b1e3e54926 Generics, StringBuilder, for-loop, Number.valueOf.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685936 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:12:17 +00:00
Adam Heath e410552cc9 No longer *copy* the extra support files into the classes dir;
instead, just add them straight to the final jar.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685934 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:08:14 +00:00
Jacopo Cappellato fd190b8a14 If the screen is used to create a new data resource, the list of content records associated to it is not rendered.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685899 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 14:02:45 +00:00
Hans Bakker 58aa50527b check for missing data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685896 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 13:51:26 +00:00
Hans Bakker b9f9ad2cb9 when a custRequest is created, create also optionally the item because often the texual customer request consists out of a single item
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685836 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 09:38:42 +00:00