[ http://issues.apache.org/jira/browse/MYFACES-417?page=all ]
Mathias Broekelmann closed MYFACES-417:
---------------------------------------
Fix Version: Nightly Build
Resolution: Fixed
Assign To: Mathias Broekelmann
Fixed.
Thanks Alin Dosoniu for reporting and supplying a test case.
> t:dataTable columnHeaders not updated when changeing the number
> ---------------------------------------------------------------
>
> Key: MYFACES-417
> URL: http://issues.apache.org/jira/browse/MYFACES-417
> Project: MyFaces
> Type: Bug
> Components: General
> Versions: Nightly Build
> Environment: WindowsXP, Java 1.5, Tomcat5.5, MyFaces Nigtly Build from
> August 16... build on my computer
> Reporter: Alin Dosoniu
> Assignee: Mathias Broekelmann
> Priority: Minor
> Fix For: Nightly Build
> Attachments: OpenDataList.java, openDataTable.jsp
>
> I am using t:dataTable on a page and need to change its number of columns
> when change value of a selectbox. Something like want to show 3 months and
> from a selectbox select value 6, so I want to display a table with 6 columns
> instead of 3.
>
> The problem that I have is that first time after modify the number of columns
> (now have january, february, march), I modify the columnHeaders list but in
> browser I get a table with only 3 columns as header (and the data from header
> is the old data - january, february, march) but with all 6 columns for data.
> If I click on a link from scroller (go to second page for example), the page
> is showing the header correctly, it has 6 columns - january, february, march,
> april, may, june.
>
> Something similar is happening when changing the number of columns from 6 to
> 3. I get a table with 6 columns as header and only 3 columns as data.
>
> Do I have to call a specific method after changing the list of header values?
> Or is this a known problem of t:dataTable in this scenario?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira