Sorry, I'll work on putting an example of its use into the example app.

In the meantime, what this means is that it's going to add errors to the errors list 
and the lists of errors in the map of fieldErrors. It WILL NOT stop execution just 
because you have an error. You can apply the DefaultWorkflowInterceptor after the 
validation to have it automatically return "input" if you have any errors applied to 
your Action. Otherwise, you can decide how to deal with them in your execute() method.

> -----Original Message-----
> From: Samuel Mota [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 27, 2003 4:14 PM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] Validation Framework doubt
> 
> 
> Hi,
> 
> I'm using the XWork validation framework but I'm in doubt 
> about how to use it's results.
> 
> The wiki says ".... Bear in mind that even if errors are 
> added due to failed validation, the action will still be executed."
> 
> So I must add the errors to the stack on my own 
> doValidation() method? Seems a lot confusing so I think I'd 
> misunderstood this :( ...
> 
> Is there some example to me? (the beta packed examples do not 
> use the ValidationFramework)
> 
> Pleeease :)
> 
> thanks
> 
> + Samuel G. Mota
> + [EMAIL PROTECTED]
> + 55 (11) 4417 7093
> + Business Application Dpt.
> + Netset Serviços em Tecnologia
> + a Hypercom Company
> + http://www.hypercom.com
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to