Hi, everybody!

This generics support introduced in Tapestry 5.0.10 is awesome. I was
already developing an in-house Tapestry 5-related library, including a
BaseEditPage and BaseListPage that does validation using Hibernate
Validator, object saving (using our in-house DAO and service
libraries), dedicated activation context handlers, etc. With Tapestry
5.0.10, I could decrease de amount of code needed to code a CRUD. The
only thing I needed to make it avoid any repetitive code is the
support of generics in event methods (onActivate, onActionFromXXX,
etc), something than does not work yet. ;) It would allow me to write
a generic onActivate(A value) (A is the type of the object activation
context) in my BaseEditPage and the onActionFromRemove(K objectKey)
from both my BaseEditPage and BaseListPage.

Howard, what do you prefer: a new JIRA or comments in the original one?

We could try to convince my boss to donate this code to Tapestry. :)

-- 
Thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to