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

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Wed Feb 24 09:29:10 EST 2010


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

Nick Belaevski commented on RF-7813:
------------------------------------

As a workaround we can implement resetState() method to nullify the state stored in component. This method should be called by the application developer from inside action on the instance of component bound to model.

Other changes are risky and shouldn't be done at the current stage.

> 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: 3.3.3.GA
>
>         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