thanks Thiago, it works out alright. thanks much


Thiago H. de Paula Figueiredo wrote:
> 
> Em Wed, 17 Jun 2009 17:53:43 -0300, wesleywj2 <wesley...@yahoo.co.uk>  
> escreveu:
> 
>> hi,
> 
> Hi!
> 
>> public class MyPage{
>>     @Property
>>     @Persist
>>     private int theValue;
>> }
> 
> Try changing the type from int to Integer. As any other ordinary Java int  
> field, it is automatically initialized with 0 when the instance is built.  
> Null Integer values are shown as blank space in the TextField component.
> 
> -- 
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/show-empty-textfield-for-integer-double-property-tp24081871p24083213.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to