You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Noven <no...@yahoo.com> on 2012/12/20 09:36:40 UTC

Datatable sortproperty error

Hi,

I am facing error when try to add sortproperty to datatable column. I use wicket 6.3.0, it works fine using wicket 1.4.2.

My code is below : 


List<IColumn<Message, String>> columns = new ArrayList<IColumn<Message, String>>();
columns.add(new PropertyColumn<Message, String>(new Model<String>("Subject"), "subject", "subject")); // error

columns.add(new PropertyColumn<Message, String>(new Model<String>("Subject"), "subject")); // work


Did somebody found this error before? How to make work?

Thank you. 


Noven

Re: Datatable sortproperty error

Posted by Noven <no...@yahoo.com>.
Martin,

My apology. It was error in my code when extending the datatable. I have correct it and it works fine now. 


Thank you.



________________________________
 From: Martin Grigorov <mg...@apache.org>
To: users@wicket.apache.org; Noven <no...@yahoo.com> 
Sent: Thursday, December 20, 2012 3:42 PM
Subject: Re: Datatable sortproperty error
 

Hi,

What is the error ?
Looking at the signature I don't see a problem.



On Thu, Dec 20, 2012 at 10:36 AM, Noven <no...@yahoo.com> wrote:

Hi,
>
>I am facing error when try to add sortproperty to datatable column. I use wicket 6.3.0, it works fine using wicket 1.4.2.
>
>My code is below :
>
>
>List<IColumn<Message, String>> columns = new ArrayList<IColumn<Message, String>>();
>columns.add(new PropertyColumn<Message, String>(new Model<String>("Subject"), "subject", "subject")); // error
>
>columns.add(new PropertyColumn<Message, String>(new Model<String>("Subject"), "subject")); // work
>
>
>Did somebody found this error before? How to make work?
>
>Thank you.
>
>
>Noven
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jweekend.com/

Re: Datatable sortproperty error

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

What is the error ?
Looking at the signature I don't see a problem.


On Thu, Dec 20, 2012 at 10:36 AM, Noven <no...@yahoo.com> wrote:

> Hi,
>
> I am facing error when try to add sortproperty to datatable column. I use
> wicket 6.3.0, it works fine using wicket 1.4.2.
>
> My code is below :
>
>
> List<IColumn<Message, String>> columns = new ArrayList<IColumn<Message,
> String>>();
> columns.add(new PropertyColumn<Message, String>(new
> Model<String>("Subject"), "subject", "subject")); // error
>
> columns.add(new PropertyColumn<Message, String>(new
> Model<String>("Subject"), "subject")); // work
>
>
> Did somebody found this error before? How to make work?
>
> Thank you.
>
>
> Noven
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>