-
1. Re: filterMethod dont work on RF 3.2.1 snapshot
lmk May 5, 2008 9:03 AM (in response to lmk)
cant filter using filterMethod even with the RF 3.2.1.CR3 release..
env: RF > 3.2.0.GA, myfaces 1.2.2,facelets 1.1.14.<rich:column filterMethod="#{bean.filterCompanies}"> <f:facet name="header"> <h:selectOneMenu value="#{bean.filterExchangeValue}"> <f:selectItems value="#{bean.filterCompanies}" /> <a4j:support event="onchange" reRender="tableFEC" /> </h:selectOneMenu> </f:facet> <h:outputText value="#{list.company}"></h:outputText> </rich:column>
-
2. Re: filterMethod dont work on RF 3.2.1 snapshot
lmk May 6, 2008 12:54 PM (in response to lmk)Hi guys,
it seems that the filterValue is not populated after a4j:support on onchange event, when selectOneMenu is inside dataTable..
when i put selectOneMenu inside a4j:region, the value is populated 1 time out of 2..
is this a known issue or have to change anything to my code..?
thanks!! -
3. Re: filterMethod dont work on RF 3.2.1 snapshot
lmk May 13, 2008 5:41 AM (in response to lmk)hello;
the problem occurs also on RF 3.2.1.CR4,
fields inside dataTable are not populated on the ajax reques,
how to turn arround this issue??
thanks! -
4. Re: filterMethod dont work on RF 3.2.1 snapshot
ilya_shaikovsky May 13, 2008 5:59 AM (in response to lmk)lmk, please add filterValue="#{bean.filterExchangeValue}" to the column component in your snippet.
B.t.w. - external filtering shown at our demo examples. -
5. Re: filterMethod dont work on RF 3.2.1 snapshot
lmk May 13, 2008 9:00 AM (in response to lmk)"ilya_shaikovsky" wrote:
lmk, please add filterValue="#{bean.filterExchangeValue}" to the column component in your snippet.
B.t.w. - external filtering shown at our demo examples.
the filterValue parameter is not used at the demo example:<rich:column filterExpression="#{fn:containsIgnoreCase(cap.timeZone, filteringBean.filterZone)}"> <f:facet name="header"> <h:selectOneMenu value="#{filteringBean.filterZone}"> <f:selectItems value="#{filteringBean.filterZones}" /> <a4j:support event="onchange" reRender="table" /> </h:selectOneMenu> </f:facet> <h:outputText value="#{cap.timeZone}" /> </rich:column>
even withfilterValue="#{bean.filterExchangeValue}"
this value still equal to null after onchange event ..
NB: the code works fine with RF 3.2.0.SR1 version. -
6. Re: filterMethod dont work on RF 3.2.1 snapshot
ilya_shaikovsky May 13, 2008 9:13 AM (in response to lmk)ok.. sorry, yes filter value was not the reason certainly. Will be investigated.
-
8. Re: filterMethod dont work on RF 3.2.1 snapshot
lmk May 13, 2008 10:00 AM (in response to lmk)thanks!!