struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject RE: ajax validation issue
Date Thu, 11 Sep 2008 17:42:52 GMT
--- On Thu, 9/11/08, Gawain Hammond wrote:
> 1.) validation.js was missing in my html, I wasn't
> using <sx:head> which seems to be the only tag that 
> generates a src path to it, I was using <s:head> 
> which afaik was my only choice in 2.0.11.1.
> Upgrading to 2.1.2 resolved this.
> 
> I had to put this in manually:
> 
> <script type="text/javascript" 
>         src="/myapp/struts/xhtml/validation.js">
> </script>

In S2.0 the validation.js file should be loaded by the form tag, in form.ftl--it's a little
weird that it wouldn't be.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message