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

Reply via email to