You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Martijn Dashorst <ma...@gmail.com> on 2007/09/11 21:38:49 UTC

IDetachable everywhere!

I noticed that Component doesn't implement IDetachable, but does have
a detach() method.

Now I'm not saying duck typing is A Good Thing™ in general, but in
this case, if it walks like a duck...

Martijn

-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta3 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/

Re: IDetachable everywhere!

Posted by Johan Compagner <jc...@gmail.com>.
IDetachable was really meant for models
we could let component implement it but thats pure for looking pretty i
guess
because where would we test for it?

johan


On 9/11/07, Martijn Dashorst <ma...@gmail.com> wrote:
>
> I noticed that Component doesn't implement IDetachable, but does have
> a detach() method.
>
> Now I'm not saying duck typing is A Good Thing™ in general, but in
> this case, if it walks like a duck...
>
> Martijn
>
> --
> Buy Wicket in Action: http://manning.com/dashorst
> Apache Wicket 1.3.0-beta3 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/
>