But if you have a lot of Link<Void> for you cases
then make 1 simple subclass of Link

johan


On Thu, May 22, 2008 at 12:41 PM, Jan Kriesten <[EMAIL PROTECTED]>
wrote:

>
> Hi Johan,
>
>  ahh yes thats true i overlooked your changes..
>> then yes currently you have to do new Link<Void> (to get rid of the
>> warnings)
>>
>
> there are quite annoying many cases of this kind, where you really just
> don't need to add models to components and have to boilerplate these with
> <Void> or anything else.
>
> So, I can really understand and support Martijns objections to have
> Component generified just for the sake of it.
>
> If it's to clearify the API - make those cases generic or have them
> implement a different IModel (like ListModel e.g.).
>
> Best regards, --- Jan.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to