Hi,
As far as I know it's very difficult - if not impossible - for Tapestry
to support generics in method parameters because of the way generics are
implemented in Java (type erasure).
-Filip
On 2008-07-28 15:44, Thiago H. de Paula Figueiredo wrote:
Em Mon, 28 Jul 2008 10:33:46 -0300, Moritz Gmelin <[EMAIL PROTECTED]>
escreveu:
public abstract SuperClass<E extends foo> {
public abstract void onActivate(E value);
}
public SubClass Extends SuperClass<Bar> {
public void onActivate (Bar value) {
System.out.println ("Here i am " + value);
}
Tapestry 5 does not support generics in method parameters, just fields.
So, for Tapestry, you're not overriding onActivate, you have two
different versions of it. It would be awesome if Tapestry supported
generics in method parameters . . .
Thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]