In my custom validator :

public void validate(Field field, String constraintValue, MessageFormatter
formatter,
                        String value) throws ValidationException {
                String controlName = field.getControlName();
}

But, it's not possible to get the bind of field ?

I'd like to do that :
field.getbound()

Thanks !


aicfr wrote:
> 
> Hi !
> 
> Here is my problem : i have a little form
> 
> <label for="login">Login : </label> <t:textfield t:id="login"
> t:value="user.login" />
> <label for="login">Login : </label> <t:textfield t:id="login2"
> t:value="user.login" />
> 
> <label for="password">Password : </label> <t:passwordfield id="password"
> t:id="password" t:value="password" />
> 
> and i'd like to know if it's possible to get the value of t:value
> parameter in a custom validator. Here, i'd like to get user.login.
> 
> Thanks !
> 

-- 
View this message in context: 
http://n2.nabble.com/T5%3A-get-value-of-textfield-tp678312p678318.html
Sent from the Tapestry Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to