If you are using 5.2, just rename your onActivate() method to pageReset().

It is strongly recommended to understand activation/passivation mechanism.
See here:

http://tapestry.apache.org/page-navigation.html

On Sun, Mar 13, 2011 at 5:57 AM, ronizedsynch <saipiahm...@yahoo.com> wrote:

> MasterPerson.java [partial]
> @Persist
> private Person person;
>
> private Person personGrid;
>
> public List getListPerson() {
>   return getMasterFacade().getPersonDao().getPersonByFilter(getPerson());
> }
>
> void onSeletectedFromSearch(){
> }
>
> void onSeletectedFromSave(){
>  getMasterFacade().getPersonDao().insert(gerPerson());
> }
>
> MasterPerson.tml
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> in this state:
> the save button is fine work
> the search button is fine work
>
> Problem:
> if I redirect to MasterPerson page it showing the person that has stored on
> session.
>
> I ever use onActivate() method
>
> void onActivate(){
> _resources.discardPersistentFieldChanges();
> }
>
> but that is caused the search button doesn't work
>
> any idea ??
> thank 4 all
>
> Regard,
> Rony
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Persist-vs-onActivate-tp3555214p3555214.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko
http://tapestry5.de

Reply via email to