For my sample, I have a table that contains items (generic) with a location Id. The HR schema has a table of Departments that can be filtered based on this locationId.
So the final running app looks like this.
And yes the departments are filtered based on the locaitonId. So now for the code.
PageFragment |
BackingBean |
PageFlowBean |
A question was raised about how to refresh the list incase there was any dynamic change, the answer to that is to decrease the scope of the bean which holds our map.
Note:
retrieveDepartmentListFromDatasource(locationId) calls a webService to return a list of available departments.
where does SelecteItem define for
ReplyDeleteprivate Map> _itemMapList = new HashMap>();
This comment has been removed by the author.
ReplyDeletehi am having a problem when passing my cascading lov. my use case is i have created Lov based on this sample http://mjabr.wordpress.com/2011/04/01/cascade-list-of-values/ when i test is working fine but when i run it in my jsff page is not passing the selected paramemter.
ReplyDeletei have put the partial trigerr,how can i do the above sample using a bean,i can send you a code