[
https://issues.apache.org/jira/browse/OFBIZ-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697187#action_12697187
]
Stephen Rufle commented on OFBIZ-2260:
--------------------------------------
I think you may need to make the form name unique. I had something
similar on one of my own screens and it seems that adding an index and
appending that number to the form name worked well for me.
Current:
{code:xml}
<form name="DeleteCustomTimePeriod" method="post"
action="<@ofbizUrl>deleteCustomTimePeriod</@ofbizUrl>">
...
<a href="javascript:document.DeleteCustomTimePeriod.submit()"
> >${uiLabelMap.CommonDelete}</a>
</form>
{code}
Suggested:
{code:xml}
<form name="DeleteCustomTimePeriod_1" method="post"
action="<@ofbizUrl>deleteCustomTimePeriod</@ofbizUrl>">
...
<a href="javascript:document.DeleteCustomTimePeriod_1.submit()"
> >${uiLabelMap.CommonDelete}</a>
</form>
{code}
> Secure URLs in Freemarker templates files
> -----------------------------------------
>
> Key: OFBIZ-2260
> URL: https://issues.apache.org/jira/browse/OFBIZ-2260
> Project: OFBiz
> Issue Type: Improvement
> Components: ALL COMPONENTS
> Affects Versions: Release Branch 4.0, Release Branch 9.3
> Reporter: Jacques Le Roux
> Assignee: Jacques Le Roux
> Fix For: Release Branch 4.0, Release Branch 9.3
>
> Attachments: CJ-Screenshot-04082009.JPG, forAshish.patch,
> listPortalPortlets.patch, OFBIZ-2256.patch, OFBIZ-2260.patch,
> OFBIZ-2260.patch, orderitems.patch, UpdateLabelsFiles.patch
>
>
> Follow OFBIZ-2256 but for FTL files only
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.