Re: Datatable sortproperty error

2012-12-20 Thread Martin Grigorov
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 noven_...@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 :


 ListIColumnMessage, String columns = new ArrayListIColumnMessage,
 String();
 columns.add(new PropertyColumnMessage, String(new
 ModelString(Subject), subject, subject)); // error

 columns.add(new PropertyColumnMessage, String(new
 ModelString(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/


Re: Datatable sortproperty error

2012-12-20 Thread Noven
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 mgrigo...@apache.org
To: users@wicket.apache.org; Noven noven_...@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 noven_...@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 :


ListIColumnMessage, String columns = new ArrayListIColumnMessage, 
String();
columns.add(new PropertyColumnMessage, String(new ModelString(Subject), 
subject, subject)); // error

columns.add(new PropertyColumnMessage, String(new ModelString(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/