columns: "filterMethod" doesn't work for dynamic columns.
---------------------------------------------------------

                 Key: RF-3953
                 URL: https://jira.jboss.org/jira/browse/RF-3953
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.2
         Environment: ie6, ie7, ff 3.0, safari 3.1, opera 9.5(3.2.2.BETA1)
            Reporter: Mikhail Vitenkov
            Assignee: Nick Belaevski


Step 1. Add filterMethod to bean:
public boolean filterMethod(Object obj) {
                Data d = (Data)obj;
                if(d.getStr0().startsWith(filterInput)) return true;
                return false;
        }
filterInput is a String value.

Step 2. Bind rich:columns with method listed above through the 'filterMethod' 
attribute.
<rich:columns filterMethod="#{columns.filterMethod}"...

Step 3. Add input field for "filterInput" value defined in Step 1:
<h:outputText value="filterMethod"></h:outputText>
                <h:inputText value="#{columns.filterInput}"
                        onchange="submit();" />

Step 4. Navigate to page contained tested dynamic columns.
Step 5. Enter something in "filterMethod" input & click mouse out.

Actual behavior:
Filter method doesn't work. Data in rich:columns remains previous.

-- 
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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to