struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4964) Missing javascript in form-validate.ftl
Date Thu, 13 Dec 2018 20:48:00 GMT

    [ https://issues.apache.org/jira/browse/WW-4964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16720587#comment-16720587
] 

Hudson commented on WW-4964:
----------------------------

SUCCESS: Integrated in Jenkins build Struts-master-JDK7 #231 (See [https://builds.apache.org/job/Struts-master-JDK7/231/])
WW-4964 Drops duplicated import of utils.js it should be already (lukaszlenart: rev 072cb725f27879b2695401080b3e730fbbe2a029)
* (edit) core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt
* (edit) core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-24.txt
* (edit) core/src/main/resources/template/xhtml/form-validate.ftl
* (edit) core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt
* (edit) core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-11.txt


> Missing javascript in form-validate.ftl
> ---------------------------------------
>
>                 Key: WW-4964
>                 URL: https://issues.apache.org/jira/browse/WW-4964
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Tags
>    Affects Versions: 2.5.17
>            Reporter: nikos dimitrakas
>            Assignee: Lukasz Lenart
>            Priority: Major
>             Fix For: 2.6
>
>
> There are two versions of form-validate.ftl, one in xhtml theme and one in css_xhtml
theme. The one in css_xhtml is missing the script tag for utils.js (and also some special
character cleaning). This causes the following error on the client: 
> Uncaught ReferenceError: StrutsUtils is not defined
>  at validation.js:161
> (anonymous) @ validation.js:161



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message