Passing Parameters Between Web-Services and JSF Pages
By Shay Shmeltzer-Oracle on Mar 15, 2011
This is another quick demo that shows a common scenario that combines several demos I did in the past.
The scenario – we have two web services, one returns a list of objects, the other allows us to update an object. We want to build a page flow where the first page shows us the list of objects, allows us to select one, and then we can edit that instance in the next page and call the second web service to update our data source.
The demo shows:
How to select a row and save the object value in a pageFlowScope. (using setPropertyListener).
How to create a page that allows me to modify the value of the pageFlowScope object, and how to pass the object as a parameter to the second Web service.
Check it out here: