You can use <t:columns> with <t:datatable>
the value="" attribute represents the data in the backing bean,
this can be a List or DataModel, or even a ResultSet (not recommended).
There is an example in the tomahawk simple examples in svn:

http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/simple/src/m
ain/webapp/openDataTable.jsp

and the backing bean

http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/simple/src/m
ain/java/org/apache/myfaces/examples/listexample/OpenDataList.java
 

-----Original Message-----
From: danielitob [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 19, 2006 3:12 AM
To: [email protected]
Subject: t:columns help...


Hi guys,
i'm crazing with datatable and i need desperately your help.
I need to create a datatable with a dynamic number of rows and
columns(depending by 2 number inserted by user).
Each row of this datatable has to be used as an input form,that is the
values of each row has to go into a mysql table.
I want use t:columns for doing it...it's possible?
I've read about t: columns but can i use it into a h:datatable?Or they need
t:datatable?
Last question(the most important one).
I need some pratical help.
I pass a list to columns,that is each object of my list will be a
column...right?
Can you post me some example of doing it?
Please help me,i'm new of jsf,myfaces and datatable....i need your help to
go on...thanks

--
View this message in context:
http://www.nabble.com/t%3Acolumns-help...-tf2298175.html#a6385306
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to