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-M1


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.

Reply via email to