Hi,

Again I have problems identifying the description of the problem in your
mails.
"it seems not working" doesn't say anything. Just avoid using such
statements.
Better add info about what is expected and what is the actual result.

Next time I will just ignore your mail.

Martin Grigorov
Wicket Training and Consulting


On Fri, Mar 14, 2014 at 6:53 AM, chathuraka.waas
<chathuraka.w...@gmail.com>wrote:

> Hi,
>
> i'm trying to migrate my application from 1.4 to 6.14. i have a class
> extending the DataTable and it seems not working after the migration.
>
> i tried replacing the extended class with the DataTable class and it worked
> fine.
>
> this is my code for extending the DataTable class.
>
> public class TestTable<T,Object> extends DataTable<T,Object> {
>

Here you shadow a real type - java.lang.Object.
It is not problem per se, but it is very easy to become such.


>
>         private static final long serialVersionUID = 1L;
>
>
>         public TestTable(String id, List<IColumn&lt;T, Object>> columns,
> IDataProvider<T> dataProvider, int rowsPerPage) {
>                 super(id, columns, dataProvider, rowsPerPage);
>         }
>
> }
>
> am i doing something wrong here. please shed some light on this. Thanks in
> advance.
>
> Regards,
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Extending-the-DataTable-class-doesnt-work-tp4664952.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to