Hmm. Raising this old issue into discussion again...

It does not work this way. Calling the returnFromDialog again does not have any 
affect. To my understanding there needs to be a submit from the 'parent' dialog 
in order to close it by calling returnFromDialog.

Any other suggestions? Is there any elegant way to achieve the functionality we 
want?

S

-----Original Message-----
From: Richard Yee [mailto:[email protected]]
Sent: 19. joulukuuta 2008 16:49
To: MyFaces Discussion
Subject: Re: [Trinidad] How to get out of Trinidad dialog scope with multiple 
dialogs

Call returnFromDialog again right after you call returnFromDialog for
Dialog 2. Or, you might be able to initiate Dialog1 and navigate to the
second page as a regular view as opposed to opening another dialog. It
would appear in the same window as dialog1. Then you would only need to
call returnFromDialog once.

-R

Luhtala Santeri wrote:
>
> We have a problem with getting out of dialog scope. The situation is
> as follows:
>
>
>
> Mainpage.jspx -> Dialog1.jspx -> Dialog2.jspx
>
>
>
> Now in the Dialog2 the user clicks a link and we need to redirect out
> of the JSF app to another web app and for that we want to get back to
> Mainpage.
>
> We can get out of the Dialog2 scope(calling returnFromDialog) but how
> to get out of Dialog1 scope programmatically without any user
> input(submit) at that point. So in other words we want out of both
> dialogs scope with one submit.
>
>
>
> Santeri
>

Reply via email to