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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Passing data between wizards

jmomber
12-Amethyst

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
7-Bedrock
(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.

Announcements


Top Tags