I've a problem with struts client validation. When i try to attach javascript
validation to my simple form, it seems, that struts doesn't include
necessary files js files. validate=true attribute generates this line of
html code: 
<script type="text/javascript"
src="/webfrontendWeb/struts/xhtml/validation.js"></script>
Problem is, that the link to the javascript file does not seem valid (and js
validation of course does not work). When i try to navigate to this url, i
get 404.
I also tried to switch to 2.0.11.2. Here i get bug similar to this: 
https://issues.apache.org/struts/browse/WW-2608
https://issues.apache.org/struts/browse/WW-2608  - no 404 error, but bug.

I have also noticed, that urls generated by s:head tag (dojo.js, ...) are
broken, too.

Interesting is, that client validation in struts 2 showcase application
(bundled with the s2) doesn't work, too.
-- 
View this message in context: 
http://www.nabble.com/-s2.0.12-Client-validation-not-working-tp20372886p20372886.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to