Hi,
If you already use ValidField then you don't have to change it to String
data type.
public Integer getIntegerValue(){
return this.integerValue;
}
public void setIntegerValue(Integer value){
this.integerValue = value;
}
<component id="myValidField" type="ValidField">
<binding name="value" expression="integerValue"/>
<binding name="validator" expression="beans.intValidator"/>
<static-binding name="displayName" value="'My Valid Field'"/>
</component>
regards,
Gunna
----- Original Message -----
From: "Ryan Pan" <[EMAIL PROTECTED]>
To: "Tapestry users" <[email protected]>
Sent: Friday, December 09, 2005 10:58 AM
Subject: Re: a issue about type binding
Hi Gunna,
If "ValidField" has been used, is it means that we should do validation
first and then we convert the type manually.So what I wanna is whether there
were some ways to get type convert automatically?
Thanks,
Ryan.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]