The documentation says I can do this:

public class ViewPerson
{
  @Persist("entity")
  @Property
  private Person person;
  
  void onActivate(Person person)
  {
    this.person = person;
  }
  
}



But what do I do if I want to do this:


public class ViewPerson
{
  @Persist("entity")
  @Property
  private Person kevin;

  @Persist("entity")
  @Property
  private Person jeff;
  
  void onActivate(Person kevin, Person jeff)  //??
  {
    this.person = person;
  }
  
}


http://tapestry.apache.org/hibernate-user-guide.html 




--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Using-Persist-with-entities-tp5716411.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