Commit Graph
54 Commits
Author SHA1 Message Date
Jacques Le Roux 8675993ac3 Fixed: Geo Location functionality of facility contact information screen is not working (OFBIZ-7343)
Long ago I spotted an issue:

<<In French I got this js error message in console (else nothing apears anywhere)

SyntaxError: missing ) after argument list
...=9000&partyId=Company', 'Adresse d'expédition - Géolocalisation', '450', '550')

It's due to the quote in "Adresse d'expédition"
We could though commit by escaping the popUptitle, but I also think we should
change from the popup (and everywhere the same is used) to a modal layered
window.>>

Turned out that:
<<I had a quick look to see if we could not use a modal layer instead of a popup,
but it's not obvious to use modal layer from Freemarker. This does not mean that
it can't be done... I'll see later...>>

Here is a late workaround :)
2020-09-30 14:28:31 +02:00
Jacques Le Roux eb6218b628 Fixed: Make all related Cancel/Done buttons return to backHome ie. party profile page (OFBIZ-11943)
Thanks: Priya for the patch
2020-08-06 12:47:21 +02:00
James Yong e3e12ee487 Improved: No need to specify externalKeyParam in ofbizUrl calls (OFBIZ-11711)
Let ofbizUrl macro generates externalLoginKey when needed.

Thanks: Jacques for review
2020-05-17 20:37:48 +08:00
Jacques Le Roux 1efaa73ebb Fixed: PartyProfileContent.js does not work
(OFBIZ-11633)
When you upload a content from the party profile page you don't see a progress
bar. The PartyProfileContent.js is loaded but for some reason is unused or wrong

Mohammad Kathawala mentionned that it was removed with OFBIZ-9299
It was also broken with OFBIZ-11402

Thanks: Mohammad for the track
2020-05-02 09:31:54 +02:00
Jacques Le Roux 57805aebab Fixed: Error removing an uploaded party content
(OFBIZ-11597)

When you try to remove an uploaded party content you get this error:

ControlServlet                |E| Error in request handler:
org.apache.ofbiz.webapp.control.RequestHandlerException:
Unknown request [removePartyContent/viewprofile];
this request does not exist or cannot be called directly.

While at it I also fixed the similar case for payment methods
2020-04-17 17:19:08 +02:00
Pierre Smits 1f1d25b39f Improved: unify style application
(OFBIZ-11458)

replace 'align-float' with 'align-text'
2020-03-24 09:01:40 +01:00
Pierre Smits 3c5224c351 Improved: unify style application
(OFBIZ-11458)

replace 'align-float' with 'align-text'
2020-03-24 09:01:40 +01:00
James Yong 05ffbd2817 Improved: Add 'controlPath' attribute to 'ofbizUrl' freemarker macro
(OFBIZ-11317)

Adding the controlPath attribute to allow the controls by ofbizUrl to support uri to other OFBiz web application.

Thanks: Jacques for the review
2020-01-12 22:25:50 +08:00
Jacques Le Roux 750b51259e Improved: Add a discussion feature in order detail view for following
communication about the order (mail, phone etc.)
(OFBIZ-11210)

Adds missing ASL2 header

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868197 13f79535-47bb-0310-9956-ffa450edef68
2019-10-09 18:16:08 +00:00
Jacques Le Roux 531793820e Improved: Add a discussion feature in order detail view for following
communication about the order (mail, phone etc.)
(OFBIZ-11210)

This is in order detail view for following communication about the order 
(mail, phone etc.) to keep an eye about all com' event linked to the order.

Thanks: Carl Demus

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867581 13f79535-47bb-0310-9956-ffa450edef68
2019-09-26 15:11:52 +00:00
Pawan Verma 131c09d1b5 Fixed: Issue of unable to view a PartyContent on view profile page of a party
(OFBIZ-11038)

When click on view button img request will be hit along with contentName and imgId as a parameter. This request invokes serveImage event(DataEvents.java) which is deprecated now.
Instead of img request we can call stream request with contentId as a parameter that invokes serveObjectData event.
This will work as per the value of content-disposition-type (requestHandler.properties) i.e. attachement or inline

Thanks: Devanshu Vyas for reporting the issue and Humera Khan for the patch and Prachi Shastri for testing of the bug.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1865852 13f79535-47bb-0310-9956-ffa450edef68
2019-08-24 14:28:57 +00:00
Jacques Le Roux 8db877625c Fixed: Logo image not showing on party profile
(OFBIZ-9299)

Logo image not displayed until we press in content component

Logo image was not showing on party profile page because we were using Ajax 
request to add party content on the party profile screen. 
So due to ajax request screen was not getting refreshed. 

To display logo image we did the following changes:
1) Removed ajax request and rendered profile view screen after submit
2) Used ofbizUrl macro to show an image instead of /content/control/stream URL


Thanks: Moatasim Al Masri for reporting, Mohammed Rehan Khan for fixing

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1861869 13f79535-47bb-0310-9956-ffa450edef68
2019-06-22 14:19:09 +00:00
Jacques Le Roux 92a16f9980 Improved: Missing uiLabel for Create New on CMS Content Find Screen
(OFBIZ-11005)

Steps to regenerate:
    Go to https://demo-trunk.ofbiz.apache.org/content/control/CMSContentFind
    Find missing uiLabel for Create New, showing as CommonCreateNew.

jleroux: This is related with OFBIZ-9905, we decided to use only CommonCreate
This do that and fix others which were missing in OFBIZ-9905

Thanks: Pawan Verma for report, Suraj for comment


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858516 13f79535-47bb-0310-9956-ffa450edef68
2019-05-02 06:44:47 +00:00
Jacques Le Roux 4d646ce052 Improved: Use "Create" instead of "Create New" on the various screens of all
components
(OFBIZ-9905)

As the title says + removes now useless labels

Thanks: Aayush Jain for report, Sourabh Jain for the fix, Pierre Smits and 
Rishi Solanki for comments

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858291 13f79535-47bb-0310-9956-ffa450edef68
2019-04-27 17:56:44 +00:00
Jacques Le Roux 8a139ca806 Fixed: partyId misses in EditEftAccount.ftl (party) when you create an EFT
account from the quick finalize page
(OFBIZ-10680)

If you split the payment and want to create an EFT account you get an error in 
EditEftAccount.ftl (party) at line 40 colum 50: the partyId is missing.

Adds the patch to add the partyId field that was missing while creating an EFT 
account or credit card in split payment mode. Added proper checks to avoid the 
broken screen in case the parameter is missing.

Thanks: Ankit Joshi for the fix

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1851319 13f79535-47bb-0310-9956-ffa450edef68
2019-01-15 07:43:36 +00:00
Gil Portenseigne a61c98775f Implemented : Impersonation of userLogin feature
(OFBIZ-10515)

Introduce a new feature that allow the impersonation of a login by an authorized user.
Add the documentation with all the details in security-impersonation.adoc.
Big thanks to Leila, Nicolas and Jacques for your contribution to this implementation.
Big thanks to Mathieu, Jacques, Pierre and Taher for your remarks and reviews that
improved this contribution quality. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1842110 13f79535-47bb-0310-9956-ffa450edef68
2018-09-27 16:01:35 +00:00
Deepak Dixit b5da481d29 Improved: Use input type=submit for form submission (OFBIZ-10482)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1837892 13f79535-47bb-0310-9956-ffa450edef68
2018-08-12 08:52:51 +00:00
Deepak Dixit 2fe25b3d79 Improved: Replace #assign with #local in all the ftl macros
(OFBIZ-10516)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1837830 13f79535-47bb-0310-9956-ffa450edef68
2018-08-10 18:49:03 +00:00
Deepak Dixit 3093b5a476 Improved: Used input type=submit instead of anchor and javascript code to submit form where applicable.
(OFBIZ-10482)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836905 13f79535-47bb-0310-9956-ffa450edef68
2018-07-28 13:27:22 +00:00
Deepak Dixit ef0c694a46 Improved: Use application/javascript instead of text/javascript
(OFBIZ-10492)
Replace text/javascript with application/javascript in all the script tag

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836886 13f79535-47bb-0310-9956-ffa450edef68
2018-07-28 10:51:52 +00:00
Suraj Khurana 1278d00e50 Improved: Rename deletePartyContactMechPurpose* services with proper names.
Thanks everyone for discussions.
(OFBIZ-10398)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836874 13f79535-47bb-0310-9956-ffa450edef68
2018-07-28 08:25:25 +00:00
Gil Portenseigne 00a1a84053 Improved : File transfer management with communicationEvent and new contactMech FTP_ADDRESS
(OFBIZ-10245)

Rename SQL reserved words, thanks Deepak for reporting the issue and providing a patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1835994 13f79535-47bb-0310-9956-ffa450edef68
2018-07-15 20:49:28 +00:00
Akash Jain 2da1409dd1 Fixed: Values are not aligned with column over EditShoppingList Screen, applied patch from jira issue. (OFBIZ-10210)
Thanks, Yogesh Naroliya for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1834191 13f79535-47bb-0310-9956-ffa450edef68
2018-06-23 11:58:22 +00:00
Gil Portenseigne 9fbb3765e4 Implemented : File transfer management with communicationEvent and new contactMech FTP_ADDRESS
(OFBIZ-10245)

This commit introduce a new way to manage file transfer in OFBiz.
Inspired by mailing communication event management, a new communicationEventTypeId is created ('FILE_TRANSFER_COMM').

Such commEvent with classics : partyIdFrom/partyIdTo/contactMechIdTo/entryDate etc. are analysed by a job (like sendEmailDated), to send associated contents to a configured FTP/SFTP/FTPS server. If failure happens, it is catched and stored in communicationEvent, waiting for a new try.

For this purpose :

A new contactMechTypeId is introduced (FtpAddress), with its corresponding table. This contactMech store needed information for basic user/password authentication (server url and protocol, port, username, password, etc.)
A new service sendFileTransferDated that will look for pending file transfer and call following service.
A new service sendCommEventAsFtp that take a selected commEvent, check its structure and manage its status after trying the associated content file transfers.
A new service sendContentToFtp, that take a content and transfer it to a given FtpAddress.
A seca createCommEventFromFtpTransfer on sendContentToFtp to manage plural content file transfer, creating children communicationEvent to follow each content transfer separately (only for several content transfers).
A new Interface FtpClientInterface, with the 3 implementations of FTP, FTPS (To Implement), SFTP clients to manage Ftp connection and transfer.
A new property file to enable and manage redirection for testing purpose.

With this implementation, creating a communicationEvent, with a FtpAddress contactMechIdTo, and sendFileTransferDated job planned, the file is transfered to the ftp : communication event status set to COM_COMPLETE, if error occured the communication event status is set to COM_BOUNCED with error message on communicationEvent note.

Thanks Rishi for your feedbacks

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831867 13f79535-47bb-0310-9956-ffa450edef68
2018-05-18 15:53:35 +00:00
Jacques Le Roux 7be9b22006 Fixed: Sending mail button from viewProfile doesn't work
(OFBIZ-7075)

There was a quote error in the Montalbano Florian's patch, this fix it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831234 13f79535-47bb-0310-9956-ffa450edef68
2018-05-09 08:26:44 +00:00
Arun Patidar 8345feffab Fixed: Incorrect Party profile view redirection in SFA due to missing roleType.
(OFBIZ-10121)
Thanks Ankit Joshi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825233 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 12:40:32 +00:00
Jacques Le Roux 35ee954560 Completed: Remove applet concept in OFBiz
(OFBIZ-10094)

Following discussion at http://markmail.org/message/dlp4zoo3xxuiefpn :

While reviewing http://svn.apache.org/viewvc?view=revision&revision=1811438 
I stumbled upon the usage of Java Applets

It's still possible to use Java Applets in browsers but most of the time it's 
not OOTB https://www.digitalcitizen.life/how-enable-java-all-major-web-browsers

And Java 9 deprecates it https://www.java.com/en/download/faq/jdk9_plugin.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818646 13f79535-47bb-0310-9956-ffa450edef68
2017-12-19 10:33:15 +00:00
Deepak Dixit 1620e4e0ca Improved: No functional change, Only added license header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812309 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 18:43:14 +00:00
Deepak Dixit d310aaf2cd Improved: Inconsistent String Comparisons, Applied patch for ftl file.
Thanks Devanshu Vyas for your contribution. (OFBIZ-9254)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812285 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 11:31:40 +00:00
Nicolas Malin aec57b51c5 Implemented: Continue the common-theme upload (OFBIZ-9138 Create a common theme)
Third step, move macro ftl libraries and ftl template present on framework common to common theme
At this step, the common-theme is forced like the common component previously.

Main common screens present on CommonScreens.xml, LookupScreens.xml and HelpScreens.xml are moved to common screen with a forced rewrite to common-theme 
Warning this commit is going to follow with a other commit for CommonScreens.xml because LookupScreens.xml and HelpScreens.xml are recreated on common-theme, but to keep the history of CommonScreens.xml it was moved entirely, the second commit restore it with redirect call.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806091 13f79535-47bb-0310-9956-ffa450edef68
2017-08-24 21:55:06 +00:00
Arun Patidar 8763342f1e Improved: Inconsistent String Comparisons. (OFBIZ-9254).
Thanks Devanshu Vyas for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801268 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 09:15:03 +00:00
Jacopo Cappellato 727101dfc2 Fixed: removed explicit includes of HtmlTemplate.ftl from FreeMarker templates
since this has been deprecated and it is no more supported.
(OFBIZ-9325)

Improved the nextPrev macro by moving some logic from the template to the macro.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792018 13f79535-47bb-0310-9956-ffa450edef68
2017-04-20 06:38:20 +00:00
Michael Brohl 9bb0dc5f4a Fixed: Error occurred when making Shopping list public/private from Party Detail screen.
(OFBIZ-7683)

Thanks: Ankit Joshi for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1774772 13f79535-47bb-0310-9956-ffa450edef68
2016-12-17 15:11:03 +00:00
Divesh Dutta c9479c8beb Fixed: Payment section was breaking up when in Party profile page when Party does not have Check account.
(OFBIZ-6899) 

Thanks: Japreet for the fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1763281 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 14:21:17 +00:00
Jacques Le Roux f3a5cdac52 Fixes: postalAddressHtmlFormatter in PartyScreens.xml does not work properly.
OFBIZ-8242

When I added a postal address template into application [party] for Japan, it does not work properly.
I found the value of addressTemplatePath in the screen of postalAddressHtmlFormatter
is wrong in file PartyScreens.xml.

jleroux; this also adds Japanese Postal Address formating files PostalAddress_JPN.fo.ftl and PostalAddress_JPN.ftl

Thanks: fumiyoshi.to  for report and patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760535 13f79535-47bb-0310-9956-ffa450edef68
2016-09-13 12:53:19 +00:00
Divesh Dutta 6aac00975e [OFBIZ-7475] Provided the option to update Check Payment Method from Party profile page. Introduced new service updateCheckAccount. Thanks Jagpreet Kaur for the patch and Swapnil for creating the ticket.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759180 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 17:11:08 +00:00
Ashish Vijaywargiya baca3d7c31 Applied patch from jira issue - OFBIZ-8064 - Clean up commented out code in Free Marker Template for Party. Thanks Aman for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759142 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 06:25:27 +00:00
Divesh Dutta 4cf39a2738 [OFBIZ-6899] Adding AddCheckForParty.ftl, which I missed in last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758953 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 13:35:14 +00:00
Divesh Dutta 44df371581 [OFBIZ-6899] Added support to add Check Account from Party profile page. Now user can add separate Check account with Bank name , routing number and other details and these details will be added in recently added new table called CheckAccount. Added Check account will also be shown in Payment method section of Party profile page. Added new service createCheckAccount to support this functionality. Thanks to Jagpreet Kaur for providing the patch and thanks Pierre for reporting the ticket and discussions. Also thanks to Jacques and Swapnil Shah for participating in discussions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758926 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 10:02:32 +00:00
Pranay Pandey 8dd9964d31 [OFBIZ-7311] - Applied the patch from the ticket. Removing the unused references of the maincss.css from source code, following is done-
1) Removed 'maincss.css' entry from 'allowedPaths' param of from web.xml
Reason: Since, there is no file like 'maincss.css' exist under any includes directory. 
2) Removed the unused references of maincss.css from FTLs, code
<link rel="stylesheet" href="${StringUtil.wrapString(baseUrl!)}/images/maincss.css" type="text/css"/> 
has been removed.
Reason: This is an interesting thing, these FTLs were using the maincss.css located under the images directory.
When I look the history of these files, following were my findings,
The 'maincss.css' file under the 'images' directory exist in release4.0 
http://svn.apache.org/repos/asf/ofbiz/branches/release4.0/framework/images/webapp/images/
after this release, this files no longer exist there.
3) Also, I have updated one file 'InventoryNoticeEmail.ftl' and used the basic HTML code to style, instead of using style defined in 'maincss.css' which were exist in release-4.0
4) Updated some references from 'maincss.css' to style.css in comments.
5) Also removed the entry of including '/images/maincss.css' and '/images/mainrtl.css' in SimpleDecorator
Since, these files no longer exist after release-4.0.

Thanks Wai for reviewing the work and thanks Swapnil M Mane for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758389 13f79535-47bb-0310-9956-ffa450edef68
2016-08-30 13:37:27 +00:00
Pranay Pandey 2981106b63 [OFBIZ-7707] Improved payment method information UI on party profile screen for creating new payment methods. Thanks Chandan Khandelwal for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752972 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 14:22:18 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Mridul Pathak c95e5b134b [OFBIZ-7823] Product lookup should be available while adding items in the shopping list. Thanks Ankit Joshi for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752894 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 06:28:45 +00:00
Pranay Pandey 619e400871 [OFBIZ-7523] Fixed security error in deleting AddressMatchMap for party. Thanks Chandan Khandelwal for reporting the issue and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749704 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 14:02:43 +00:00
Deepak Dixit 09ca38b7f6 (OFBIZ-7164) Fix typo in freemarker else tag.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746691 13f79535-47bb-0310-9956-ffa450edef68
2016-06-03 08:59:56 +00:00
Deepak Dixit fdf1222c06 (OFBIZ-7021) Renamed specialpurpose ecommerce component ftl file name from lower camel case to upper camel case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744942 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 13:43:11 +00:00
Deepak Dixit e0afeb3c6a (OFBIZ-6364) Applied patch from jira issue
============================================================
Viewing party content should open in a new window
============================================================

Thanks Pierre for reporting the issue and Thanks Renuka for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744843 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 06:05:06 +00:00
Deepak Dixit 83696e3203 (OFBIZ-7021) Renamed framework common component ftl file name from lower camel case to upper camel case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744783 13f79535-47bb-0310-9956-ffa450edef68
2016-05-20 18:52:54 +00:00
Deepak Dixit 010bda9b37 (OFBIZ-7021) Corrected the file name for EditContactMech.ftl some how did type while renaming file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744745 13f79535-47bb-0310-9956-ffa450edef68
2016-05-20 14:01:12 +00:00
Jacques Le Roux f696188cbc A patch from Florian Montalbano for "Sending mail button from viewProfile doesn't work" https://issues.apache.org/jira/browse/OFBIZ-7075
The button 'send mail' from the profile overview page is not working.

How to reproduce :
1) Go to the party component
2) Search for an party with a registered mail address
3) Go to the profile page : i.e. : https://localhost:8443/partymgr/control/viewprofile?partyId=admin
4) Click on the "send mail" button
5) Nothing happens

Problem :
When checking the target of the button "send mail", we can see that a "@" symbol appears.  The target corresponds to the form name just above (the one containing the email address). Thus, the form name contains the symbol too.
This symbol seems to be forbidden in javascript naming (a warning is risen by the browser console) and this prevents the execution of the javascript.
When manually deleting this symbol in both the name of the form and the target of the button, the javascript works fine.

Root of the problem :
In the "Contact.ftl" template, which creates this form, we can see that the name of the form and the target are created from the 'contactMech.infoString' (the email address in this case). A parsing of the string is done to remove the "@" symbol and the "." . The dot is deleted but not the at symbol. The problem comes from the encoding of the symbol. The parsing looks for a html coding "&#64;" but in the source code of the page, the symbol is in UCS "&#x40;" .

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744571 13f79535-47bb-0310-9956-ffa450edef68
2016-05-19 13:37:34 +00:00