Basic generics support should apply to parameters of event handler methods as
well as getters and setters
---------------------------------------------------------------------------------------------------------
Key: TAPESTRY-2303
URL: https://issues.apache.org/jira/browse/TAPESTRY-2303
Project: Tapestry
Issue Type: Bug
Affects Versions: 5.0.11
Reporter: Howard M. Lewis Ship
The current support for JDK Generics only applies to getter and setter methods.
It would be very useful, for the same use cases where getters and setters are
useful, to allow generics inside event handler methods.
I.e.:
public class GenericCRUD<T>
{
private T _entity;
public T getEntity() { return _entity; }
public void setEntity(T entity) { _entity = entity; }
T onPassivate() { return _entity; }
void onActivate(T entity) { _entity = entity; }
}
This would require integrating the basic generic support directly into
ComponentClassTransformation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]