+1 the javadoc should be clear that the underlying model object needs to be
a list or whatever. It would be nice to switch to imodel<t> right now.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Johan Compagner
> Sent: Friday, July 29, 2005 4:33 AM
> To: wicket-user@lists.sourceforge.net
> Subject: [Wicket-user] VOTE: one more api break for AbstractChoice
> 
> We now have:
> 
> public AbstractChoice(final String id, IModel model, final 
> List choices, final IChoiceRenderer renderer)
> 
> I want to change it to:
> 
> public AbstractChoice(final String id, IModel model, final 
> IModel choices, final IChoiceRenderer renderer)
> 
> So that you can use detachable models much more easy.
> 
> We could change it to:
> 
> public AbstractChoice(final String id, IModel model, final 
> IListDatasource choices, final IChoiceRenderer renderer)
> 
> But this i don't think i want. Just use IModel everywhere and 
> let the model object be specific to a certain interface if 
> needed Then with 1.5 we could say:
> 
> public AbstractChoice(final String id, IModel model, final 
> IModel<List> choices, final IChoiceRenderer renderer) or 
> public AbstractChoice(final String id, IModel model, final 
> IModel<IListDatasource> choices, final IChoiceRenderer renderer)
> 
> So anybody +1 or -1 for the change to List->IModel
> 
> johan
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & 
> EXPO September 19-22, 2005 * San Francisco, CA * Development 
> Lifecycle Practices Agile & Plan-Driven Development * 
> Managing Projects & Teams * Testing & QA Security * Process 
> Improvement & Measurement * http://www.sqe.com/bsce5sf 
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> 




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to