no String != T
and the super constructor wants to have T not String.
and i think you cant in that constructor ok T == String so String is valid..
i have no idea how to do that.
johan
On Tue, May 13, 2008 at 5:23 PM, Stefan Simik <[EMAIL PROTECTED]>
wrote:
>
> Uuf, great :) It works ! Thx.
>
> But, is not String something Serializable ?
> I cannot understand where was the problem,
> but I know, this is more about Java Generics, not about Wicket.
>
>
>
>
> Johan Compagner wrote:
> >
> > the only thing i can quickly come up with is this
> >
> > public ExtendLabel(String id, T string)
> > {
> > super(id, new Model<T>(string));
> > }
> >
>
> --
> View this message in context:
> http://www.nabble.com/Using-generics-with-some-non-generic-classes-in-Wicket-tp17208928p17211220.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>