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
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
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
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
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
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
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
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
8 matches
Mail list logo