Re: Question on validation

2008-01-23 Thread Martin Braure de Calignon
works only for validation in java, not with .xml files -- Martin Braure de Calignon signature.asc Description: Ceci est une partie de message numériquement signée

Re: Question on validation

2008-01-21 Thread Martin Braure de Calignon
Le lundi 21 janvier 2008 à 14:35 +0100, Martin Braure de Calignon a écrit : > Hello :-), > > I have two questions, the first one is more important for me : > I have a validation xml files, but I want to validate only if user click > on 'OK' button, and not on 'Cance

Question on validation

2008-01-21 Thread Martin Braure de Calignon
clear method, is to have an interceptor (BackViewInterceptor), that intercept the result 'input', and change it to the previous result. But this solution only works on simple cases. Is there's a better way of handling such a beh

Re: Validation question

2008-01-11 Thread Martin Braure de Calignon
Le vendredi 11 janvier 2008 à 15:46 -0800, Dave Newton a écrit : > The validation interceptor will look for, and call, validate${methodName} > (and validateDo${methodName}). > > d. Great ! thank you all :-) -- Martin Braure de Calignon signature.asc Description: Ceci est u

Re: Validation question

2008-01-11 Thread Martin Braure de Calignon
Le vendredi 11 janvier 2008 à 09:15 -0500, Ted Husted a écrit : > On Jan 11, 2008 8:10 AM, Martin Braure de Calignon <[EMAIL PROTECTED]> wrote: > > Of course yes :-). But I need a validate() per method. > > I haven't used it myself, but the syntax validate-action is

Re: Validation question

2008-01-11 Thread Martin Braure de Calignon
rk, or there might be another way to form the > OGNL expression. But given the choice between OGNL and Java, I'll take > Java. :) So for me it seems the better choice would be type converter ? what do you think ? Thanks, -- Martin Braure de Calignon signature.asc Description: Ceci est une partie de message numériquement signée

[S2] validation on list of bean (was Validation question)

2008-01-08 Thread Martin Braure de Calignon
Le mardi 08 janvier 2008 à 14:08 +0100, Martin Braure de Calignon a écrit : Sorry I've forgot [S2] in subject > Hello, > > I'm currently using struts2 for a project. > I want to validate all elements of a list (each elements should have a > non-empty value, or

Validation question

2008-01-08 Thread Martin Braure de Calignon
ole I have a warning, and the validator does not do what I want. WARN - Got result of null when trying to get Boolean I don't know if it is related to my validator but it seems to be. Any idea on how writing validator on all elements of the list ? Thanks :-) -- Martin Braure d