[richfaces-issues] [JBoss JIRA] Updated: (RF-3953) columns: "filterMethod" doesn't work for dynamic columns.

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Fri Jul 18 11:35:53 EDT 2008


     [ https://jira.jboss.org/jira/browse/RF-3953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski updated RF-3953:
-------------------------------

    Fix Version/s: 3.2.2
         Assignee: Andrei Markavtsov  (was: Nick Belaevski)


> 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: Andrei Markavtsov
>             Fix For: 3.2.2
>
>
> 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

        



More information about the richfaces-issues mailing list