Hi Frank,
See my previous thread on this.
There is a bug in the newspaper column that was not fixed yet.
It does not read the binded value but only the numeric value you set, or
else sets it to 1. I was told to write to JIRA but I saw that was
already done.
I am also waiting for that fix.
Good luck,

-----Original Message-----
From: Oellien, F (Frank) [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 8:39 AM
To: MyFaces Discussion
Subject: Dynamically changing newspaperColumns in dataTable

Hello,

I am using dataTable to define a tabular layout in my page.
The dataTable contains the same class as value. So I use the newspaper
option to display the tabular data.
My problem is that the tabular layout can change between each request
which means that the table can have x columns and y rows depending on
the layout.
I thought that I can influence the number of columns by binding the
newspaperColumns value to a function in the backing bean. However, this
value will obviously only be read during the initialization of
dataTable. If the number changes during further request, it has no
influence on the number of columns. I have also tried to set
preserveDataModel to false.

With regards

Frank Oellien
--------------------------------------
This message, including attachments, is confidential and may be
privileged.
If you are not an intended recipient, please notify the sender then
delete
and destroy the original message and all copies. You should not copy,
forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--------------------------------------

Reply via email to