Hello Michael,

You could add the check directly inside the validate method to see if the
validation should occur or not. Also since validators aren't visual
artifacts, rendered would not be very semantically correct. However, I guess
a "relevant" or "active" attribute could have been considered, but that
would imply some specification changes to work with every validators and
component libraries.


Regards,

~ Simon


Regards,

~ Simon

On 10/19/07, Michael Heinen <[EMAIL PROTECTED]> wrote:
>
>  Is there any reason why validators don't have a rendered attribute?
>
> I use a dataList to render a List of fields dynamically and want to add a
> validator to an input field depending on an EL expression.
>
>
>
> I found some old discussions in the list about optional validators but did
> not find detailed info.
>
>
>
> How can I accomplish this without without doubling the outer input fields?
>
>
>
>
>
> Michael
>

Reply via email to