Here is the scenario i have a Richfaces datatable where i have added filter concept like below
<rich:column width="250px" sortBy="#{test.name}" filterExpression="#{fn:equalsIgnoreCase(test.name, filterValue)}"
filterValue="#{InventoryFilter.name}">
and all bean initialized by application-context.xml and scope of the bean request
EDIT:-
<bean id="InventoryFilter" class="com.alu.ipprd.bsm.soa.portal.filter.InventoryFilter" scope="request" />
Now when i am switching tab ,let us suppose from Tab A to Tab B old search value still coming while each tab i have defined switchType="server"
So it mean when i am swtiching tabs a request is going to server so my application should initialized InventoryFilter.java class.
But it not working please someone guide me what i am doing wrong?
EDIT:- Tab Code
<rich:tabPanel id="tabPanel1" switchType="server"
selectedTab="#{panelMenuBean.selectedTabName}"
value="#{panelMenuBean.selectedTabName}"
style="max-width:500px; height:300px;"
itemChangeListener="#{inventoriesBean.getClearBean}">
<rich:tab id="customerTab"
name="#{bsmPortalLabel['tab.inventory.customer']}" rendered="#{loginBean.isInventoriesCustomerTabEnable()}">
</rich:tab>
//SOME Other tabs here
</rich:tabPanel>