Passing Parameters Between Web-Services and JSF Pages
Posted
by shay.shmeltzer
on Oracle Blogs
See other posts from Oracle Blogs
or by shay.shmeltzer
Published on Tue, 15 Mar 2011 16:04:10 -0800
Indexed on
2011/03/16
0:14 UTC
Read the original article
Hit count: 297
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:
© Oracle Blogs or respective owner