You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Uwe Schäfer <us...@thomas-daily.de> on 2010/07/15 15:37:13 UTC

IPropertyReflectionAwareModel

hi

is there a particular reason, why IPropertyReflectionAwareModel does not 
extend IModel<T>?

it looks like an extension of IModel and i need exactly this: an 
IModel<T> that implements IPropertyReflectionAwareModel: might be 
PropertyModel, might be something homebrewn....

currently i have to do something like

foo(IModel<T> myModel){
  if (!(myModel instanceof IPropertyReflectionAwareModel))
   yellAtProgrammer();
  ...
}

cu uwe


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: IPropertyReflectionAwareModel

Posted by Uwe Schäfer <us...@thomas-daily.de>.
Igor Vaynberg schrieb:
> no reason that i can see, file a jira. cant be fixed in 1.4 though.

WICKET-2947. yes, would be a breaking change.

thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: IPropertyReflectionAwareModel

Posted by Igor Vaynberg <ig...@gmail.com>.
no reason that i can see, file a jira. cant be fixed in 1.4 though.

-igor

2010/7/15 Uwe Schäfer <us...@thomas-daily.de>:
> hi
>
> is there a particular reason, why IPropertyReflectionAwareModel does not
> extend IModel<T>?
>
> it looks like an extension of IModel and i need exactly this: an IModel<T>
> that implements IPropertyReflectionAwareModel: might be PropertyModel, might
> be something homebrewn....
>
> currently i have to do something like
>
> foo(IModel<T> myModel){
>  if (!(myModel instanceof IPropertyReflectionAwareModel))
>  yellAtProgrammer();
>  ...
> }
>
> cu uwe
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org