Re: show empty textfield for integer/double property

2009-06-17 Thread wesleywj2
mmands, 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. --

Re: show empty textfield for integer/double property

2009-06-17 Thread Thiago H. de Paula Figueiredo
Em Wed, 17 Jun 2009 17:53:43 -0300, wesleywj2 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 buil

show empty textfield for integer/double property

2009-06-17 Thread wesleywj2
it shows "0" because it is integer type in the textfield, what i wanted to achieve is to not showing anything on the textfield at all. can this be done? please advice. wesley -- View this message in context: http://www.nabble.com/show-empty-textfield-for-integer-double-property-tp24081