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 internally, there's no difference
to a table that looks like this
A, B, C, D, E, F, G, H, I, J, K, L
I suspect you simply need to apply a columnClasses as if it were a
table with 3xN number of columns. For my example above, I'd suggest
maybe this:
columnClasses="StyleClass1,StyleClass1,StyleClass1,StyleClass1,StyleClass2,StyleClass2,StyleClass2,StyleClass2,StyleClass3,StyleClass3,StyleClass3,StyleClass3"
Note that I'm not much of an expert on style classes in general. I
just happen to remember that the newspaperColumn code doesn't do
anything but increase the number of columns in the table without doing
anything to make actual "meta-columns" that group those columns.
Hopefully this is helpful, but it's all based on what I read in the
code rather than what I've done in practice.
On 8/16/07, Dave <[EMAIL PROTECTED]> wrote:
> 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:
> Have you tried the regular columnClasses attribute?
>
> On 8/14/07, Dave wrote:
> >
> >
> >
> > 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 workaround? Thanks,
> >
> > Dave
> >
> > ________________________________
> > Building a website is a piece of cake.
> > Yahoo! Small Business gives you all the tools to get online.
> >
> >
>
>
>
> ________________________________
> Pinpoint customers who are looking for what you sell.
>
>