Re: Extending the DataTable class doesnt work

2014-03-19 Thread Martin Grigorov
Hi, In MyDataTable.html you need to add either a second in the , or a second for this extra row. As I said earlier is not allowed in , and elements. Martin Grigorov Wicket Training and Consulting On Wed, Mar 19, 2014 at 7:11 AM, chathuraka.waas wrote: > Hi, > > i'm still trying to fix my

Re: Extending the DataTable class doesnt work

2014-03-18 Thread chathuraka.waas
Hi, i'm still trying to fix my issue. Even though most of the issues are fixed there is one small glitch i cant get my way around. Given my business scenario i need to be able to add a empty row to the table after its been rendered by wicket. In wicket 1.4 this was achieved by,

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
On Fri, Mar 14, 2014 at 12:10 PM, chathuraka.waas wrote: > hi, > > thanks for your reply. I tried making the to a > element in the panel markup. > > http://www.w3.org/1999/xhtml"; > xmlns:wicket=" > http://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=blob_plain;f=wicket-core/src/m

Re: Extending the DataTable class doesnt work

2014-03-14 Thread chathuraka.waas
hi, thanks for your reply. I tried making the to a element in the panel markup. http://www.w3.org/1999/xhtml"; xmlns:wicket="http://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=blob_plain;f=wicket-core/src/main/resources/META-INF/wicket-1.5.xsd;hb=master";> it didnt

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
On Fri, Mar 14, 2014 at 11:42 AM, chathuraka.waas wrote: > hi, > > i'm still trying to fix my initial issue where i have a customized > DataTable > class. I have a panel and inside that i have the table i'm extended from > the > Data Table. > > the code for my extended table is this. > > public c

Re: Extending the DataTable class doesnt work

2014-03-14 Thread chathuraka.waas
hi, i'm still trying to fix my initial issue where i have a customized DataTable class. I have a panel and inside that i have the table i'm extended from the Data Table. the code for my extended table is this. public class OfferTable extends DataTable { private static final lo

Re: Extending the DataTable class doesnt work

2014-03-14 Thread chathuraka.waas
Got the basic datatable to show in the page. Thanks Martin. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Extending-the-DataTable-class-doesnt-work-tp4664952p4664961.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-5534 Martin Grigorov Wicket Training and Consulting On Fri, Mar 14, 2014 at 10:33 AM, Martin Grigorov wrote: > > > On Fri, Mar 14, 2014 at 10:30 AM, chathuraka.waas < > chathuraka.w...@gmail.com> wrote: > >> hi, >> >> this is my markup for the panel

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
On Fri, Mar 14, 2014 at 10:30 AM, chathuraka.waas wrote: > hi, > > this is my markup for the panel > > http://wicket.apache.org/";> > > change to I am not sure why Wicket allows this. DataTable can check the name of its tag and throw exception when it is not table ... > > > and th

Re: Extending the DataTable class doesnt work

2014-03-14 Thread chathuraka.waas
hi, this is my markup for the panel http://wicket.apache.org/";> and the generated markup is this, Name Name No Records Found Regards,

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
Show us the markup of the panel where this table is added please. Martin Grigorov Wicket Training and Consulting On Fri, Mar 14, 2014 at 10:09 AM, chathuraka.waas wrote: > Hi Thanks for your replies. > > what i ment from not working was it doesnt give any compilation errors or > runtime errors

Re: Extending the DataTable class doesnt work

2014-03-14 Thread chathuraka.waas
Hi Thanks for your replies. what i ment from not working was it doesnt give any compilation errors or runtime errors but simply it doesnt show the table as in the html. I tried implementing the basics of DataTable just to try out. here's my code. List> columns = new ArrayList>(); col

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Ernesto Reinaldo Barreiro
Hi, I just remember at some point there were some incompatible changes on DataTable: remember having to adjust the markup of an extension to get it working again... But as Martin states, your mail is not very helpful as you don't clearly state what the problem is: class does not compile?, you get

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
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