I return Page Object class. If i use constructor before return Page class, then page has not finished loading....
> Constructor? > > ERROR java.lang.RuntimeException: Exception assembling root component of >> page SignDoc: Error persisting field SignDoc:sdocinfo: Persistent fields >> may not be up dated until after the page has finished loading. This may be >> due to a >> persistent field with a default value. The default value should be >> removed. >> > > Don't initialize @Persist'ed fields in their declaration nor in > constructor. Use event handler methods for that· I must tell other page class, wich ID show. > How can i communicate with two java class with persistent tapestry >> annotation variable? >> > > Just like you did in 5.0.14. > > In 5.0.14 In tapestry 5.0.14 i use construction Failid.java signDoc.setSignedDocInfo(startSessionResponse.getSignedDocInfo()); return signDoc; SignDoc.java @Persist private SignedDocInfo sdocinfo; > -- > 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 > >