You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Alin Dosoniu (JIRA)" <my...@incubator.apache.org> on 2005/08/17 14:07:54 UTC
[jira] Created: (MYFACES-417) t:dataTable columnHeaders not updated when changeing the number
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
Priority: Minor
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
[jira] Commented: (MYFACES-417) t:dataTable columnHeaders not updated when changeing the number
Posted by "Alin Dosoniu (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-417?page=comments#action_12319009 ]
Alin Dosoniu commented on MYFACES-417:
--------------------------------------
I modified the OpenDataList.java and openDataTable.jsp in order to have a
selectbox from where can change the number of columns that are displayed.
The same behaviour :(. I can send the sources.
> 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
> Priority: Minor
>
> 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
[jira] Commented: (MYFACES-417) t:dataTable columnHeaders not updated when changeing the number
Posted by "Alin Dosoniu (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-417?page=comments#action_12319008 ]
Alin Dosoniu commented on MYFACES-417:
--------------------------------------
I am a little curious why the Paged and Sortable (dynamic number of columns;
mouseover) from simple.war doesn't have an example similar with what I need.
In my opinion, what I am trying to do is one of the examples where t:columns
should be easy to be used. I am thinking to modify a little this example to
see if the same thing is happening in example from simple.war.
I will write if find something.
> 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
> Priority: Minor
>
> 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
[jira] Closed: (MYFACES-417) t:dataTable columnHeaders not updated when changeing the number
Posted by "Mathias Broekelmann (JIRA)" <my...@incubator.apache.org>.
[ 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
[jira] Updated: (MYFACES-417) t:dataTable columnHeaders not updated when changeing the number
Posted by "Alin Dosoniu (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-417?page=all ]
Alin Dosoniu updated MYFACES-417:
---------------------------------
Attachment: OpenDataList.java
openDataTable.jsp
> 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
> Priority: Minor
> 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