Re: nested loop view

2009-03-26 Thread Olivier Michallat
I think you have to add projects to the current category item, not to this (which would refer to the categories listview itself). So try replacing: this.add(projects); By: item.add(projects); 2009/3/26 Luther Baker lutherba...@gmail.com: I'm trying to create a page - similar to Jira's

Re: Generics question

2009-03-13 Thread Olivier Michallat
This looks exactly like the DropDownChoice issue that has been debated recently. See the comments in JIRA: https://issues.apache.org/jira/browse/WICKET-2137 The problem is that IModelList? extends DomainObject doesn't work as we intuitively expect it to. It won't match IModelListSubgenre (nor

Re: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-04 Thread Olivier Michallat
Hi everyone (I'm new to the list), Johannes, you are right about lists: If the constructor accepts the widened type, you can add all those lists... List? extends Number n = new ListNumber; List? extends Number n = new ListInteger; List? extends Number n = new ListDouble; But in our case