[richfaces-issues] [JBoss JIRA] Commented: (RF-7813) Tablestate of ExtendedDataTable not read from managed Bean during Render-Response

Lukas Fryc (JIRA) jira-events at lists.jboss.org
Fri Mar 26 09:45:38 EDT 2010


    [ https://jira.jboss.org/jira/browse/RF-7813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12522266#action_12522266 ] 

Lukas Fryc commented on RF-7813:
--------------------------------

Reproducing sample - attached sample with modifications:

EDT have binding to TableBean.
+
call `edt.resetState()`; inside TableBean.actionListenerNewTableState method

> 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: Andrey Markhel
>            Priority: Minor
>             Fix For: 3.3.3.Final
>
>         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