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

Reply via email to