Re: Extending the DataTable class doesnt work

2014-03-19 Thread Martin Grigorov
Hi, In MyDataTable.html you need to add either a second tr in the tbody, or a second tbody for this extra row. As I said earlier div is not allowed in table, tbody and tr elements. Martin Grigorov Wicket Training and Consulting On Wed, Mar 19, 2014 at 7:11 AM, chathuraka.waas

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
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

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

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. ListIColumnlt;TestData,String columns = new

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 chathuraka.w...@gmail.com wrote: Hi Thanks for your replies. what i ment from not working was it doesnt give any compilation

Re: Extending the DataTable class doesnt work

2014-03-14 Thread chathuraka.waas
hi, this is my markup for the panel wicket:panel xmlns:wicket=http://wicket.apache.org/; div wicket:id=OffersTable/div /wicket:panel and the generated markup is this, div id=id28 class=offer-type-panel div id=id29 Name Name

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
On Fri, Mar 14, 2014 at 10:30 AM, chathuraka.waas chathuraka.w...@gmail.com wrote: hi, this is my markup for the panel wicket:panel xmlns:wicket=http://wicket.apache.org/; div wicket:id=OffersTable/div change div to table I am not sure why Wicket allows this. DataTable can check

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 mgrigo...@apache.orgwrote: On Fri, Mar 14, 2014 at 10:30 AM, chathuraka.waas chathuraka.w...@gmail.com wrote: hi, this is my markup for

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 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 OfferTableT,S extends DataTableT,S { private static

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
On Fri, Mar 14, 2014 at 11:42 AM, chathuraka.waas chathuraka.w...@gmail.com 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

Re: Extending the DataTable class doesnt work

2014-03-14 Thread chathuraka.waas
hi, thanks for your reply. I tried making the div to a element in the panel markup. wicket:panel xmlns=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;

Re: Extending the DataTable class doesnt work

2014-03-14 Thread Martin Grigorov
On Fri, Mar 14, 2014 at 12:10 PM, chathuraka.waas chathuraka.w...@gmail.com wrote: hi, thanks for your reply. I tried making the div to a element in the panel markup. wicket:panel xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket=