The biggest difference is that <component validator="#{bean.method}">
calls a validation method on a backing bean while f:validator points
to a validator object.

<h:inputText validator="myValidator" /> isn't legal in the example above.

On 1/3/06, Marco <[EMAIL PROTECTED]> wrote:
> Hi All;
>
> I wanna know what is the difference between
>
> <h:inputText validator="myValidator" />
>
> and
>
> <h:inputText>
>      <f:validator validatorId="myValidator" />
> </h:inputText>
>
> Thanks
>

Reply via email to