You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2010/08/07 21:01:21 UTC

[jira] Updated: (WICKET-2947) IPropertyReflectionAwareModel should extend IModel

     [ https://issues.apache.org/jira/browse/WICKET-2947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg updated WICKET-2947:
----------------------------------

    Fix Version/s: 1.5-M2
                       (was: 1.5-M1)

> IPropertyReflectionAwareModel should extend IModel<T>
> -----------------------------------------------------
>
>                 Key: WICKET-2947
>                 URL: https://issues.apache.org/jira/browse/WICKET-2947
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>            Reporter: uwe schaefer
>            Priority: Minor
>             Fix For: 1.5-M2
>
>
> 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
> void foo(IModel<T> myModel){
>  if (!(myModel instanceof IPropertyReflectionAwareModel))
>   yellAtProgrammer();
>  ...
> } 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.