Re: Render queue error in SetupRender

2015-01-26 Thread Thiago H de Paula Figueiredo
On Sun, 25 Jan 2015 06:33:19 -0200, Cheng Zhang wrote: Hi All, Hi! public class Person { @Inject public Person(){ this.name = "defaultname"; } @Inject public Person(String name){ this.name = name; } These @Inject annotations should be removed fro

Re: Render queue error in SetupRender

2015-01-25 Thread Cheng Zhang
Hi Geoff, Thanks for responding. I removed the @Persist but does not help. I have another project with almost same code working well. I found the difference is, in that project, the create page's java import org.apache.tapestry.ioc.annotations.Inject rather than org.apache.tapestry5.ioc.annotatio

Re: Render queue error in SetupRender

2015-01-25 Thread Geoff Callender
I'm not sure what all of those @Inject's are for, and I'd recommend avoiding @Persist wherever possible. Have a look at this example for ideas: T5.4: http://jumpstart.doublenegative.com.au/jumpstart7/together/easycrud/person/create T5.3: http://jumpstart.doublenegative.com.au/ju