cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Passing data between wizards

jmomber
9-Granite

Passing data between wizards

This is going to be a bit complicated to explain but I'll try my best. 🙂



I have a wizard (wiz1)that contains a mvc table. The table has a toolbar which lauches another wizard (wiz2)for uploading a file. Once I'm done uploading the file, the wizard (wiz2) closesand would like to populate the table on wiz1with the information within the file I just uploaded. Makes sense, right? 🙂



My question is, how do I pass the information from wiz2 back to wiz1 and the table? I've been diving through the Customization guide and Help Center, but there is a massive amount of information so I'm just looking for a step in the right direction.



Thanks!


~Jamie

2 REPLIES 2
ddemay
1-Newbie
(To:jmomber)

The wizard is an action right? With each step being an action right? The
key is on unwinding actions to invoke a refresh opener on the invoking
window ui (can be done as ajax if actions setup correctly) In the handler
of the action there will be a method that executes post completion of
action, that's where the refresh call needs to occur. Make sense? If not, I
can dig up the specific method name and type out a hypothetical example of
refresh opener. Don't worry, this isn't exactly well documented, you need
to tear down a similar example to really figure this out ergo a wizard that
refreshes a table in the main browser window for example.



- Dave


Your wizard contains "commadBean" object if it contains begin.jspf and end.jspf.


In such a case you can use commandBean.getSelectedXXXX() or .getXXX() , to capture the details of the files your browsed.


Also , you can try to work with the request/resspose between the jsp's.

Top Tags