You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "Jing Ge (Besitec IT DEHAM)" <JG...@besitec.com> on 2009/06/08 15:49:04 UTC
Generic type of AjaxFallBackDefaultDataTable
Hello,
We are using Wicket for building our new web application. Today I want
to try the AjaxFallbackDefaultDataTable. But the example of it has event
a syntax error:
The constructor AjaxFallbackDefaultDataTable<Contact>(String,
List<IColumn<?>>, ListModelDataProvider<Contact>, int) is undefined
Reason: the AjaxFallbackDefaultDataTable hast the constructor:
public AjaxFallbackDefaultDataTable(String id, final List<IColumn<T>>
columns,
ISortableDataProvider<T> dataProvider, int
rowsPerPage)
While the columns, that is created in the example, is of type
List<IColumn<?>>. The generic types show me the conflict.
Where can I find a correct example? Could anyone please send me a worked
example? Thanks!
Best regards!
Jing Ge
Re: Generic type of AjaxFallBackDefaultDataTable
Posted by Igor Vaynberg <ig...@gmail.com>.
this email could have been way more helpful if you linked to the
online example you mentioned.
-igor
On Mon, Jun 8, 2009 at 7:32 AM, Jing Ge (Besitec IT
DEHAM)<JG...@besitec.com> wrote:
> HI,
>
> I got the correct example from the downloaded package.
>
> Btw: the online example should be kept up to date.
>
> Thx.
>
> ---------------------------------------------------
>
> -----Original Message-----
> From: Jing Ge (Besitec IT DEHAM) [mailto:JGe@besitec.com]
> Sent: Montag, 8. Juni 2009 15:49
> To: users@wicket.apache.org
> Subject: Generic type of AjaxFallBackDefaultDataTable
>
>
>
>
>
> Hello,
>
>
>
> We are using Wicket for building our new web application. Today I want
> to try the AjaxFallbackDefaultDataTable. But the example of it has event
> a syntax error:
>
>
>
> The constructor AjaxFallbackDefaultDataTable<Contact>(String,
> List<IColumn<?>>, ListModelDataProvider<Contact>, int) is undefined
>
>
>
> Reason: the AjaxFallbackDefaultDataTable hast the constructor:
>
>
>
> public AjaxFallbackDefaultDataTable(String id, final List<IColumn<T>>
> columns,
>
> ISortableDataProvider<T> dataProvider, int
> rowsPerPage)
>
>
>
> While the columns, that is created in the example, is of type
> List<IColumn<?>>. The generic types show me the conflict.
>
>
>
> Where can I find a correct example? Could anyone please send me a worked
> example? Thanks!
>
>
>
>
>
> Best regards!
>
> Jing Ge
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
RE: Generic type of AjaxFallBackDefaultDataTable
Posted by "Jing Ge (Besitec IT DEHAM)" <JG...@besitec.com>.
HI,
I got the correct example from the downloaded package.
Btw: the online example should be kept up to date.
Thx.
---------------------------------------------------
-----Original Message-----
From: Jing Ge (Besitec IT DEHAM) [mailto:JGe@besitec.com]
Sent: Montag, 8. Juni 2009 15:49
To: users@wicket.apache.org
Subject: Generic type of AjaxFallBackDefaultDataTable
Hello,
We are using Wicket for building our new web application. Today I want
to try the AjaxFallbackDefaultDataTable. But the example of it has event
a syntax error:
The constructor AjaxFallbackDefaultDataTable<Contact>(String,
List<IColumn<?>>, ListModelDataProvider<Contact>, int) is undefined
Reason: the AjaxFallbackDefaultDataTable hast the constructor:
public AjaxFallbackDefaultDataTable(String id, final List<IColumn<T>>
columns,
ISortableDataProvider<T> dataProvider, int
rowsPerPage)
While the columns, that is created in the example, is of type
List<IColumn<?>>. The generic types show me the conflict.
Where can I find a correct example? Could anyone please send me a worked
example? Thanks!
Best regards!
Jing Ge
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org