Em Wed, 01 Apr 2009 18:35:53 -0300, Fernanda C. Carmo <fernanda.ca...@gmail.com> escreveu:

I have an object Product and it has a composite primary key (ProductId).
How can I put this object Product in actionlink's context value?

Hi!

Create a method that return a List containig the values thatt comprise the composite primary key. ;) This works in any Tapestry version. Use EventContext as the only parameter of onActivate or any other event handler method. By the way, in new code, avoid composite primary keys. It's not worth the trouble.

--
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

Reply via email to