Craig McIlwee wrote:
> 
> 2) the wicket web site now suggests the following code for generic
> components:
> 
> @SuppressWarnings("unchecked")
> public final T getModelObject()
> {
>         return (T)getDefaultModelObject();
> }
> 

I am just starting to use the new form and it struck me as a little strange
that getModel() and its friends are not a part of any interface or abstract
class.
-- 
View this message in context: 
http://www.nabble.com/generics-tp18083910p18446636.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