Some examples that might help:

        T5.4: 
http://jumpstart.doublenegative.com.au/jumpstart7/examples/input/create1
        T5.3: 
http://jumpstart.doublenegative.com.au/jumpstart/examples/input/create1

Geoff


On 17 Dec 2014, at 6:07 am, Thiago H de Paula Figueiredo <thiag...@gmail.com> 
wrote:

> On Tue, 16 Dec 2014 15:37:17 -0200, Deepak <mn.dee...@gmail.com> wrote:
>>> AddCelebrity.tml
>>> -----------------------
>>> <t:beaneditform object="celebrity"/>
>>> 
>>> AddCelebrity.java
>>> -------------------------
>>> public class AddCelebrity {
>>> @Persist
>>> @Property
>>> private Celebrity celebrity;
>>> 
>>> }
>>> 
>>> What am I doing wrong ?
> 
> Add this to AddCelebrity:
> 
> void onPrepare() {
>       if (celebrity == null) {
>               celebrity = new Celebrity();
>       }
> }
>>> 
>>> Thanks,
>>> Deepak
>>> 
> 
> 
> -- 
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.com.br
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 


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

Reply via email to