On Thu, Jun 12, 2008 at 8:45 AM, Elmar Kretzer <[EMAIL PROTECTED]> wrote:
> Hello everyone,
> i got a short question related to following situation:
> this is a part of a form where people can alter their password.
>
> <tr:inputText secret="true" value="#{myBean.user.password}" >
> <f:validateLength minimum="8" />
> </tr:inputText>
>
> The problem: trinidad always renders only 6 characters when secret is set to
> true.
> This causes the validator to throw an exception.
> i am not wether this is a bug or a feature, but are there any common ways
> how to deal with this?
not a bug.
It renders ****** for security reasons.
I'd move the validation into the bean...
-M
>
> Trinidad 1.2.8
> MyFaces 1.2.3
>
> thanks in advance
> elmar
>
>
>
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org