Generics changes in 1.4-rc1

2008-11-20 Thread aditsu

Hi, I've been using m3 for a while and just tried switching to rc1. I found
several problems:
- LabelTree.getNodeTextModel requires IModel and returns IModel. I was
overriding it and returning a Model, but I can't do that anymore.
Why not just return IModel ?
- RatingPanel now requires an IModel for the rating, but I was
using IModel. How can I show "rated 3.6 from 7 votes" now? Can it
use IModel instead?
- BaseTree requires IModel; I was using a Model with a
DefaultTreeModel object, but I can't do that anymore (TreeModel is not
necessarily Serializable). Why not just require IModel
?

Adrian
-- 
View this message in context: 
http://www.nabble.com/Generics-changes-in-1.4-rc1-tp20599173p20599173.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]



Re: Generics changes in 1.4-rc1

2008-11-20 Thread Johan Compagner
Please make issues for this in jira

On 11/20/08, aditsu <[EMAIL PROTECTED]> wrote:
>
> Hi, I've been using m3 for a while and just tried switching to rc1. I found
> several problems:
> - LabelTree.getNodeTextModel requires IModel and returns IModel. I was
> overriding it and returning a Model, but I can't do that anymore.
> Why not just return IModel ?
> - RatingPanel now requires an IModel for the rating, but I was
> using IModel. How can I show "rated 3.6 from 7 votes" now? Can it
> use IModel instead?
> - BaseTree requires IModel; I was using a Model with a
> DefaultTreeModel object, but I can't do that anymore (TreeModel is not
> necessarily Serializable). Why not just require IModel
> ?
>
> Adrian
> --
> View this message in context:
> http://www.nabble.com/Generics-changes-in-1.4-rc1-tp20599173p20599173.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]
>
>

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



Re: Generics changes in 1.4-rc1

2008-11-20 Thread aditsu


Johan Compagner wrote:
> 
> Please make issues for this in jira
> 

Since you said issues, I created 3 issues: WICKET-1947, WICKET-1948,
WICKET-1949

Adrian
-- 
View this message in context: 
http://www.nabble.com/Generics-changes-in-1.4-rc1-tp20599173p20615568.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]