I tested it. you are right.
Now I am wondering if the following is possible?
t:dataTable newspaerColumns=1 value=...
t:column
t:column
/t:dataTable
There is only one clumn for the dataTable. So For 5 rows, the result will
look like:
A
B
C
D
I could be wrong, but I don't think there's anything special about how
newspaper columns are rendered.
If you have 4 columns in your table, and you set newspaperColumns=3,
then you end up with a table with 12 columns.
A, B, C, D, A, B, C, D, A, B, C, D
There's no style attribute because
columnClasses is for columns within a newspaperColumn. After rendering a
dataTable, then organize them in newspaper way using a new table. But there is
not a way to specify styleclasses for the new table.
newspaperColumn1, newspaperColumn2,
Mike Kienenberger [EMAIL PROTECTED] wrote:
t:dataTable newspaperColumns=3 /
How to specify the 3 newspaper column style classes, for example their
width(s)? I did not see an attribute like
newspaperColumnClasses=StyleClass1,StyleClass2,StyleClass3
newspaperColumnClasses=#{bean.newspaperColumnClasses}
Any
4 matches
Mail list logo