Hi, I like the feature that we can now pass Hibernate entity to the onActivate and T5 automatically picks up object from database. however it assumes what passed is the primary key, example:
1. this works. localhost://page/1 2. this will not work: localhost://page/myName is there a way to tell T5 that to use a particular field to pick up the object? thanks, sample code follows: public class Page { private Person person; void onActivate(Person person) { this.person = person; } Object onPassivate() { return this.person; } } -- View this message in context: http://www.nabble.com/t5%3A-using-a-non-primary-key-field-as-context-tp19289427p19289427.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]