;
>
> true
>
>
>
> ...
>
>
>
>
>
> cilquirm <[EMAIL PROTECTED]>
> 17/09/2007 16:50
> Veuillez répondre à
> "Struts Users Mailing List"
>
>
> A
> user@struts.apache.org
> cc
>
> Objet
> Re: [S2] C
17/09/2007 16:50
Veuillez répondre à
"Struts Users Mailing List"
A
user@struts.apache.org
cc
Objet
Re: [S2] Conditional Validation (test if field is present in JSP)
somewhat hackish, but you can accomplish this by using expressions :
#params['attrib'] != null ? att
somewhat hackish, but you can accomplish this by using expressions :
#params['attrib'] != null ? attrib in ('a','list','of','values')
(this is just an example stating that you can check for the existence of the
variable in the parameter and then execute an expression like you normally
would )
Hi all,
We have an Action redirecting to several JSP, depending on the customer.
But the forms of these JSP are different : some fields are added/removed
in some JSP.
So the automatic validation fails for those fields not existing in some
JSP.
We bypass the problem by copying the Action metho
4 matches
Mail list logo