[ 
https://issues.apache.org/jira/browse/WW-5319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart updated WW-5319:
------------------------------
    Fix Version/s: 6.3.0

> StrutsUtils is not defined in validation.js
> -------------------------------------------
>
>                 Key: WW-5319
>                 URL: https://issues.apache.org/jira/browse/WW-5319
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Tags
>    Affects Versions: 6.1.2
>            Reporter: nikos dimitrakas
>            Priority: Major
>             Fix For: 6.3.0
>
>
> This has been reported and fixed a few times, but it is back now. 
> When an s:form has validate="true" then the form-validate.ftl is supposed to 
> include validation.js which works. That file refers to StrutsUtils which is 
> not defined. From what I can see StrutsUtils is defined in the beginning of 
> utils.js which is only included from the head.ftl
> So if no s:head exists, the s:form generates code that does not work. 
> Shouldn't the s:form work correctly even when an s:head is not present? 
> The script file utils.js should be included in form-validate.ftl before the 
> validation.js



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to