Hi Mike, The output format is same for less than 3 and greater than 4.
When we add test1, test2 and test3 values the data are not in the proper format. After adding test4 the formatting looks fine. Output will looks like below, the added values should display vertically. Label 1 Test1 Test2 Test3 Test4 ............ Label 2 OutputvalueLab2 OutputvalueLab2 OutputvalueLab2 OutputvalueLab2 ........... Label 3 OutputvalueLab3 OutputvalueLab3 OutputvalueLab3 OutputvalueLab3 ........... Label 4 OutputvalueLab4 OutputvalueLab4 OutputvalueLab4 OutputvalueLab4 ........... Label 5 OutputvalueLab5 OutputvalueLab5 OutputvalueLab5 OutputvalueLab5 ........... Thanks & Regards, Aramudhan.D Aramudhan Divakaran Chennai Mailto:aramudhan.divaka...@viterra.ca www.viterra.ca This e-mail and any attachment(s) are confidential and may be privileged. If you are not the intended recipient please notify me immediately by return e-mail, delete this e-mail and do not copy, use or disclose it. Mike Kienenberger <mkien...@gmail.com > To MyFaces Discussion 01/04/2012 11:07 PM <users@myfaces.apache.org> cc Arunagiri Kaliappan Please respond to <arunagiri.kaliap...@viterra.ca> MyFaces Discussion Subject <us...@myfaces.apac Re: Clarification needed for Tomahawk he.org> datatable tag Can you describe how the output is different when the number is greater than 3 and when the number is less than 4? On Tue, Jan 3, 2012 at 9:01 AM, Arunagiri Kaliappan < arunagiri.kaliap...@viterra.ca> wrote: > Hi, > > In our project (Portal application with JSF 1.1) , we are in need of > showing the columns vertically and also the number of columns is dynamic in > nature. > We are using *Apache MyFaces Tomahawk* library for the above mentioned > requirement. > > We have used *<t:datatable>* and *<t:columns>* tags. We have used the > same datamodel (list datamodel which is made up of ArrayList which in turn > contains objects) for both datatable and columns tags value attribute. But, > the columns are displayed correctly only when the *number of columns is 3 > and above*. For the columns below 3, the display is not proper. > > Can you please suggest as how to proceed further? > > Please do the needful. > > Thanks & Regards, > Arunagiri K > > > > Arunagiri Kaliappan > > Chennai > > Mailto:arunagiri.kaliap...@viterra.ca > www.viterra.ca > > > This e-mail and any attachment(s) are confidential and may be privileged. > If you are not the intended recipient please notify me immediately by > return > e-mail, delete this e-mail and do not copy, use or disclose it. > >