On Thu, Dec 9, 2010 at 3:26 PM, Michal Ciasnocha <m...@struts.cz> wrote:
> Hi Greg,
>
> I use in my code @SkipValidation annotation for method which I don't want to
> validate. For me it is easier than use interceptors.
>
> @SkipValidation
> public String cancel() {
>    return SUCCESS;
> }
>
> The second part - redirect - I hope is correct.
>

I think the problem is coming down to whether I use validation=true on
the form.. If I don't, I'm not getting the errormessages/labels.. if I
do, then I get client-side javascript validated that isn't affected by
the serverside annotations.

Serverside validation is fine if I can figure out why the errormessage
labels are disappearing.. Seems like it might be a function of using
the Convention plugin.

-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre

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

Reply via email to