Hi!
I've been doing this both for tomahawk 1.1.5 and tomahawk 1.1.6, both worked fine. Currently I'm using myfaces-1.1.5 SNAPSHOT and tomahawk-1.1.6. :) - E - From: Pinal Patel [mailto:[EMAIL PROTECTED] Sent: 2. april 2008 04:25 To: MyFaces Discussion Cc: Rønnevik, Eivind Subject: Re: Tomahawk datatable NewspaperColumns not working for dynamic value Hi, First and foremost, thanks for your response. What version of MyFaces and Tomahawk are you using to resolve the issue? Thanks, Pinal ----- Original Message ---- From: "Rønnevik, Eivind" <[EMAIL PROTECTED]> To: MyFaces Discussion <[email protected]> Sent: Tuesday, April 1, 2008 8:02:21 AM Subject: RE: Tomahawk datatable NewspaperColumns not working for dynamic value Hi! I've been facing this issue as well, and my solution was to create the dataTable programmatically, cause if you set the number of newspaperColumns thereit works.. :) So, in your handler/backing bean you have a private property dataTable with getters and setters. In your getter (or other method that creates the table) then you can set the required properties, something like this: dataTable.setNewspaperColumns(categoryList.getCategoryTota()); dataTable.setNewspaperOrientation("horizontal"); >From your jsp you then need to use a binding pointing at this dataTable, e.g: <t:dataTable var="picture" binding="#{categoryList.dataTable}" width="100%" Hope this helps you! Regards, Eivind From: Pinal Patel [mailto:[EMAIL PROTECTED] Sent: 30. mars 2008 21:56 To: [email protected] Subject: Tomahawk datatable NewspaperColumns not working for dynamic value Hi everyone, I am using Tomahawk Extended_datatable to render nested lists for display. I am using Tomahawk 1.1.7_Snapshot verion (latest nightly build). My requirement is to display the table horizontally and using the 1.1.7_Snapshot version of Tomahawk datatable's newspapercolumns should display horizontally. But the newspapercolumns does not take dynamic value using EL expression; it onlys works on static value. The current version of Tomahawk should supposedly fix the bug to accept dynamic value, but its still not working. So, I am wondering if anyone has faced similar issue or faced similar requirement to display table horizontally. If yes, I would HIGHLY appreciate any insight you can provide to resolve my issue. I've been stuck with this problem for long time and HIGHLY appreciate your valuable insights. Below is the snapshot of my code: <t:dataTable id="categoryTable" border="1" newspaperOrientation="horizontal" newspaperColumns="#{categoryList.categoryTotal}" value="#{categoryList.pictureList}" var="picture"> </t:dataTable> Thanks ________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. <http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20> ________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access <http://us.rd.yahoo.com/evt=47523/*http:/tc.deals.yahoo.com/tc/blockbuster/text5.com%0a> , No Cost.

