I'm sure your problem is related to themes/templates.
If you are using simple theme you have to provide your own labels for
fields, so the field validation works and S2 knows where to place the
messages (because you know validation happens, it's just the messages
not displaying, right?).
che
alidation doesnt happen at all .
> The class and xml file are in the same package structure .
>
> Do anyone have an idea about this ?
> Any help on this will be greatly appreciated .
>
> Thanks
> Nanditha
>
>
--
View this message
2010/4/23 nandyiyer :
> Changed the code and fixed the issue . The validation works but the message
> wont be displayed on the screen . Can anyone say what is the problem here ?
How do you know that it works?
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia
I tried adding this tag - ( and also with , but no luck ... What could be the problem here ?
And suppose if I dont use Simple theme , should we do anything ?
Thanks
Nanditha
--
View this message in context:
http://old.nabble.com/Struts2-XML-based-validation-doesnt-work-%21
2010/4/26 nandyiyer :
> I didnt understand the previous message . Could you please elaborate on it or
> tell me as to where to add it ?
If you are using Simple theme, you must add previously mentioned tag
into your jsp.
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http:/
s and xml file are in the same package structure .
>
> Do anyone have an idea about this ?
> Any help on this will be greatly appreciated .
>
> Thanks
> Nanditha
>
>
--
View this message in context:
http://old.nabble.com/Struts2-XML-based-validation-doesnt-work-%21-tp28265349p28
2010/4/23 nandyiyer :
>
> Changed the code and fixed the issue . The validation works but the message
> wont be displayed on the screen . Can anyone say what is the problem here ?
What theme are you using? If Simple you must add or
or tag.
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła
snt happen at all .
> The class and xml file are in the same package structure .
>
> Do anyone have an idea about this ?
> Any help on this will be greatly appreciated .
>
> Thanks
> Nanditha
>
>
--
View this message in co
2010/4/16 nandyiyer :
> I'm trying to include XML based validation in my application ?
>
> This is part of my struts.xml -
> http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl
-
To unsubscribe,
this will be greatly appreciated .
Thanks
Nanditha
--
View this message in context:
http://old.nabble.com/Struts2-XML-based-validation-doesnt-work-%21-tp28265349p28265349.html
Sent from the Struts - User mailing list archive
10 matches
Mail list logo