+1
Eelco
On 9/30/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
+1
-Igor
On 9/30/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
>
> Wouldn't it be better to check against the IDetachable interface in
> the detach method?
>
> /**
> * @see wicket.model.IDetachable#detach()
> */
> public void detach()
> {
> if (target != null && target instanceof IModel)
> {
> ((IModel)target).detach();
> }
> }
>
> This would open up some possibilities for IDataProvider
> implementations that need some detach logic.
>
> Martijn
>
>
> --
> <a href="http://www.thebeststuffintheworld.com/vote_for/wicket">Vote</a>
> for <a href="http://www.thebeststuffintheworld.com/stuff/wicket
> ">Wicket</a>
> at the <a href="http://www.thebeststuffintheworld.com/">Best Stuff in
> the World!</a>
>