[richfaces-issues] [JBoss JIRA] Commented: (RF-7813) Tablestate of ExtendedDataTable not read from managed Bean during Render-Response
Danilo Magrini (JIRA)
jira-events at lists.jboss.org
Wed Feb 24 09:17:12 EST 2010
[ https://jira.jboss.org/jira/browse/RF-7813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12516317#action_12516317 ]
Danilo Magrini commented on RF-7813:
------------------------------------
if we put the ManagedBean TableBean in session scope, the second request (the second click) the dataTable is updated correctly.
> Tablestate of ExtendedDataTable not read from managed Bean during Render-Response
> ---------------------------------------------------------------------------------
>
> Key: RF-7813
> URL: https://jira.jboss.org/jira/browse/RF-7813
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 3.3.1
> Environment: Windows XP, Java 1.5.0_16, JSF Sun RI 1.2_13b01
> Reporter: Tobias Peper
> Assignee: Nick Belaevski
> Priority: Minor
> Fix For: Future
>
> Attachments: sample-src.zip
>
>
> I hava a ExtendedDataTable and a CommandButton on the Page.
> The TableState of the table is bound to a String in a managed Bean.
> ActionListener of the CommandButton changes the tableState (for example column ordering) - but with no effect because the tableState is not read from the managed Bean during the Render-Response-Phase.
> Quick fix for me was inserting the follings two lines to the Method beforeRenderResponse(FacesContext) of org.richfaces.component.UIExtendedDataTable:
> ----------
> state = null;
> setTableState(null);
> ----------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list