[
https://issues.apache.org/struts/browse/WW-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Holmes closed WW-2055.
----------------------------
Resolution: Duplicate
This issue was fixed via JIRA ticket WW-1618 and should no longer be an issue
as of Struts 2.0.9. If after upgrading to Struts 2.0.9 you still have problems
with this, please re-open WW-1618 with specific details of the problem you're
having.
> template.simple.doubleselect.ftl causes Javascript error when the name
> attribute of <s:doubleselect /> is setted to "xxxx.xx"
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: WW-2055
> URL: https://issues.apache.org/struts/browse/WW-2055
> Project: Struts 2
> Issue Type: Bug
> Components: Views
> Affects Versions: 2.0.8
> Reporter: Max Yuean
> Assignee: Musachy Barroso
>
> --------------------------------------------------------------------------------------------------------------------------------------------------
> var ${parameters.id}Temp =
> document.${parameters.formName}.${parameters.doubleName};
> --------------------------------------------------------------------------------------------------------------------------------------------------
> The code above causes Javascript error when ${parameters.doubleName} is
> "xxx.xxx", I think it should be coded like this:
> --------------------------------------------------------------------------------------------------------------------------------------------------
> var ${parameters.id}Temp =
> document.${parameters.formName}.elements["${parameters.doubleName}"];
> --------------------------------------------------------------------------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.