igor.vaynberg wrote:
> 
> component.detach() {
>   for (field:fields) {
>     if (imodel.class.isassignablefrom(field.gettype)) {
>         ((imodel)field.get(this)).detach();
>     }
>   }
>   onDetach();
> }
> 

+1

I'm also for moving getModel()/getModelObject() out of Component and only
putting them in things that really use models, like Label and
FormComponent...

I agree, though, that this should probably wait for 1.5...

-- 
View this message in context: 
http://www.nabble.com/users%2C-please-give-us-your-opinion%3A-what-is-your-take-on-generics-with-Wicket-tp17589984p17652189.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to