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

Brian Leathem commented on RF-12673:
------------------------------------

This problem was introduced with the commit:
https://github.com/richfaces/components/commit/d65e614ef03adf87c0b6df2288689f0fd78d3a77

Since that commit, the ExtendedDataModel is instantiated in the RESTORE_VIEW 
phase, and is not re-instantiated again throughout the lifecycle.  As such the 
ArrangeableModel filter method is not invoked after the filter input value is 
updated in the UPDATE_MODEL_VALUES phase.

A possible solution involves clearing the ExtendedDataModel at the beginning of 
the encode method, to force a re-evaluation of the ArrangeableModel.
                
> Collapsible sub table: filtering doesn't work inside switchable panels
> ----------------------------------------------------------------------
>
>                 Key: RF-12673
>                 URL: https://issues.jboss.org/browse/RF-12673
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables, regression
>    Affects Versions: 4.3.0.M3
>         Environment: RichFaces 4.3.0.20121214-M3
> Metamer 4.3.0.20121214-M3
> Mojarra 2.1.7 (bundled in AS)
> JBoss AS 7.1.2.Final-redhat-1
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 23.0.1271.97 @ Linux x86_64
>            Reporter: Pavol Pitonak
>            Assignee: Brian Leathem
>            Priority: Critical
>             Fix For: 4.3.0.CR1
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> # deploy Metamer and open 
> http://localhost:8080/metamer/faces/components/richCollapsibleSubTable/filtering.xhtml?templates=richAccordion
> # set attribute rows to 0
> # type "Alexander" into input in first column ("Name")
> result:
> * table shows 159 result but only 10 should be visible (those containing 
> "Alexander")
> * worked fine in 4.3.0.M2
> * doesn't work in all switchable panels - _rich:accordion_, _rich:tabPanel_, 
> _rich:togglePanel_ and _rich:collapsiblePanel_

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to