Commit Graph
491 Commits
Author SHA1 Message Date
Erwan de Ferrieres f0c96bacc8 OFBIZ-3854 Separate AddPartyRole form to main and second role -- a patch from Nicolas Malin
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993381 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 14:34:00 +00:00
Bruno Busco 0fe784196c Replaced PartyClassificationTabBar FTL file with a standard TabBar menu
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22 11:41:25 +00:00
Bruno Busco 598f535807 Replaced party visits list screen with a more standard findVisits one.
Included Search options form for visit filtering and paginations.
Some ftl files have not yet been deleted because used in the projectmgr application.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987162 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 14:39:01 +00:00
Adam Heath b273b52dad Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Scott Gray 3483832f8c Replace usage of deprecated method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982144 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 07:28:25 +00:00
Hans Bakker 27d86e7361 replace ftl with form because no submit button present on the link form, also added an explanation of this function
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965018 13f79535-47bb-0310-9956-ffa450edef68
2010-07-17 05:46:04 +00:00
Scott Gray be15953af1 No functional changes. Fixed indentation to use separate indent levels for freemarker and html. Committers please consider using this method, it makes templates MUCH easier to read.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963242 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 11:22:19 +00:00
Jacques Le Roux b5b1ea45e1 I like the Groovy's Elvis operator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956226 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 13:49:49 +00:00
Jacques Le Roux 9ef845d0ad A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Jacques Le Roux 47b0020afe A patch from Ankit Jain, removes useless redundant <request-map uri="authview">, it's now in the common controller(https://issues.apache.org/jira/browse/OFBIZ-3469) - OFBIZ-3469
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949142 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 10:30:46 +00:00
Jacques Le Roux 2a1a5aee14 We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Erwan de Ferrieres 59b5e3bdba XHTML validation errors round 2++ (party) OFBIZ-3752 https://issues.apache.org/jira/browse/OFBIZ-3752
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946320 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 18:09:10 +00:00
Jacques Le Roux 5996f19694 Closes "No * to mark required fields in Party Contact Info" (https://issues.apache.org/jira/browse/OFBIZ-3467) - OFBIZ-3467
As it's FTL, not a big effort done...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944895 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 19:07:41 +00:00
Jacopo Cappellato 810bfdccc0 Fix to prevent a NPE if the CreditCard record is missing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941788 13f79535-47bb-0310-9956-ffa450edef68
2010-05-06 16:05:02 +00:00
Bruno Busco f6a40bd575 A patch from Blas Rodriguez Somoza
OFBIZ-3722 - XHTML validation errors round 2+ (party)
https://issues.apache.org/jira/browse/OFBIZ-3722
PaymentMethods.ftl
Line 139: td open needed.

UserLogin.ftl
Line 31: wrong if condition (creates an empty table and don't show the ${uiLabelMap.PartyNoUserLogin} message)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939767 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 18:22:15 +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
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
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
Bruno Busco 00824f416d A patch from Blas Rodriguez Somoza
OFBIZ-3608 - XHTML validation errors (party)
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:

findparty.ftl
Wrong markup at line 44,46. Entity without final ;
>&nbsp<
Wrong markup at line 353. DIV tag with duplicated id.
<div id="findPartyResults">

EditShopingList.ftl
Wrong markup at line 28, duplicated "
<a href="javascript:$('createEmptyShoppingList').submit();"" class="buttontext">

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929303 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 21:30:33 +00:00
Ashish Vijaywargiya d1fd0f6eb8 Applied patch from jira issue OFBIZ-3624 - Find Communications By Order in partymgr.
Thanks Arpit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929010 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 06:35:18 +00:00
Jacques Le Roux 18ef948b11 Fix a bug: partyType may not exist in some cases, and partyType.partyTypeId may be empty
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928760 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 12:43:42 +00:00
Bilgin Ismet Ibryam de0b52bfe6 Removed hardcoded width and height pixels from google map template, which now allows setting them also in percentages.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928733 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 11:51:49 +00:00
Ashish Vijaywargiya 1b28dc1b13 It may happen that the value returned from communicationEvent.note.indexOf(nameString) is -1.
So if this is the case then we should not do anything. The previous code was giving unexpected values in email address, lastname & firstname text box and it may create confusion for the end user.

I observed this case when: I was fetching emails from my personal account inside OFBiz using JavaMailContainer Api. And my personal email was not available in the system so the values fetched in the above mentioned field was not correct.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928176 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 09:17:14 +00:00
Adam Heath 2eb1768f1d Fix lots of bad xhtml tags, need to have a space before the ending /.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 01:56:41 +00:00
Ashish Vijaywargiya e15d1b287a Remaining part of issue OFBIZ-3508 - Improvement on party and catalog component.
Now added new Product Store tab with the existing tab that we see when we edit any party. With the help of this tab any party can be added to more then one store.
Thanks Amit for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917000 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 17:53:56 +00:00
Ashish Vijaywargiya 428165a2d3 Applied patch from jira issue OFBIZ-3508 -
When we create a new customer profile, it doesn't send correct mail according to "UPD_PRSNL_INF_CNFRM", "PARTY_REGIS_CONFIRM" and "RDS_CUST_REGISTER" emailType. Currently it grabs the first from the list of ProductStoreEmailSetting entity and uses it's email settings to send the email.
It was due to unavailability of productStoreId for sending mail so whenever new customer profile will be created it should be associated to certain product store and its role type will be "CUSTOMER".

Apart from this customer profile page should have information about associated product stores.

Following points are covered:
   1.  Improved patch from OFBIZ-3000.
   2. Improved Product Store Roles screens.
   3. Added ProductStores portlet into party profile screen.
   4. Created updateProductStoreRole service for updating ProductStoreRole record.
   5. Removed EditProductStoreRoles.groovy and EditProductStoreRoles.ftl .

Thanks to Amit Sharma for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916219 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 10:19:02 +00:00
Erwan de Ferrieres 56f4a172b6 geolocation wasn't working from the party profile, as reported by Abdullah Shaikh (OFBIZ-3481)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910847 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 07:58:04 +00:00
Jacques Le Roux 354341e6fd Fix and close "Create New Shopping List for Party" (https://issues.apache.org/jira/browse/OFBIZ-3001) - OFBIZ-3001 part of "securing URLs in Freemarker templates files"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907342 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 23:16:02 +00:00
Hans Bakker 61f2b32941 avoid error on screen if the status of the content item is not set
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902041 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 09:09:36 +00:00
Hans Bakker ffa3189587 adding a role should preserve communication event input
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901582 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 07:30:40 +00:00
Bruno Busco 11c1256111 Added a "create" class to the buttontext for buttons that represents "Create New" operations.
This allows themes to style these buttons with additional "+" icons or whatever.
The idea is to add a "functional" class wherever needed so that the button-bar can be styled better by the theme.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899899 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 08:19:35 +00:00
Erwan de Ferrieres 595517b3bf JIRA-3381 : Update of the geolocation screen in party (https://issues.apache.org/jira/browse/OFBIZ-3381)
The geoChart screen is now used for all the geolocalization calls.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899560 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 08:28:51 +00:00
Bruno Busco 045b8e262a Ooops used wron class style in previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897673 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 18:11:30 +00:00
Bruno Busco f25115a45a Changed some FTL screenlet-title-bar titles to match with what is rendered by the screenlet widget
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897650 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 16:08:05 +00:00
Bilgin Ismet Ibryam 857e3b4d6a Added ajax autocompleter support to lookup screens in accounting, party, product and workeffort components.
Also added possibility for passing additional condition to search query. This can be seen in party lookup screens, used to filter disabled parties.
Specifying return field is not required any more - the first field from search fields is used as return field.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897412 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09 10:27:49 +00:00
Scott Gray 3f33a1fab7 Deprecated the various json event handlers and commented out references to them from the controllers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892685 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 05:01:20 +00:00
Scott Gray 78b784e80e Convert all uses of json event types to chained requests with the common json event at the end.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892219 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 10:55:34 +00:00
Vikas Mayur 6a135c5dbf Added CRUD services for GeoPoint and FixedAssetGeoPoint entity. Additional changes are done to avoid possible NPE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891248 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 14:27:50 +00:00
Hans Bakker 4f1eda0b7a changed proposed by pierre smits, left however the sequence party/related oarties/contact in the left column because also this way in party manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887860 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 08:13:54 +00:00
Hans Bakker 8142ef2fdc show communication even screens within in the communication portlet avoiding having required decorators.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883323 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 12:45:36 +00:00
Jacques Le Roux c039216676 A patch from Chandan Khandelwal "Bug on Party ViewProfile Page" (https://issues.apache.org/jira/browse/OFBIZ-3217) - OFBIZ-3217
Steps for reproduce error
1) Go to partymgr find screen
2) Select customer which have geoPointId [partyId : DemoCustomer ]
3) Update postal address which have geolocation
4) Remove all Contact Purposes and Go Back to profile screen
5) It generate an error due to contactMechPurposeType is undefined

I have extended the use of this patch to 2 other templates

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881713 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 10:35:08 +00:00
Hans Bakker 7248f6db66 Jira issue: https://issues.apache.org/jira/browse/OFBIZ-3128
1. New SFA Account/contact/lead find/list screens replacing ftl/partysearch with form/performfind.
2. SFA now compatible with the party manager with the 'all' option still have the previous 'my' option
3. added new widget property: 'text find' to set the default here and not in the xsl
4. added 'container' as a field to the form in order to insert forms dynamically with an ajax request
5. fix bug for using radio field.
6. Implemented comments on this jira issue including using the find decorator 

Contribution by Chattree, an employee of Antwebsystems Co.Ltd.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832294 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 03:59:01 +00:00
Jacques Le Roux aedeb6ca51 Changes method="POST" to method="post", from Scott's comment about XHTML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829660 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 21:38:47 +00:00
Bruno Busco 17288a9082 Part of OFBIZ-3067 - Menus and form widget files location
Party and Product components
Moved forms from webapp to widget folder
Removed empty folders

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829418 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 17:41:31 +00:00
Jacques Le Roux 956fe425dc A patch from Matthieu Bollot "EditPersonTrainings has been deleted since r802308" (https://issues.apache.org/jira/browse/OFBIZ-3046) - OFBIZ-3046
EditPersonTrainings screen has been deleted from humanres/widget/PersonTrainingScreens.xml. This remove any references to FindTrainings and EditPersonTrainings

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826272 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 15:15:55 +00:00
Jacques Le Roux 89697da742 merged by hand from Simranjeet Singh's HR_Training_improvements.patch in " Enhancements in Trainings under HR module" (https://issues.apache.org/jira/browse/OFBIZ-2531) - OFBIZ-2531
Please see this issue for more, it's enough complicated as is...
In one word this patch was waiting comments for near a month and https://issues.apache.org/jira/browse/OFBIZ-3046 decided me to act!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826266 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 15:05:32 +00:00
Hans Bakker 105fd19f84 creating a customer request from a communication event was not working in mycommunications in the party component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825410 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 06:48:08 +00:00
Bruno Busco 6b0ca7b16b Markup cleanup.
Only one screenlet-body should be present in a screenlet.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821490 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 09:40:49 +00:00
Hans Bakker 979138f678 corrected comments reported by Vikas concerning uiLabel usage and naming
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820895 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 06:12:10 +00:00
Hans Bakker 710babd805 add the optional ability to add a parentRoleId, when creating a new role
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820242 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 10:56:16 +00:00