Re: How to end a SCXML dialog in an action?

2007-01-29 Thread Paul Spencer
Rahul, I was using 1.0.4. When I switch to 1.1.0-SNAPSHOT, it worked. Paul Spencer Rahul Akolkar wrote: On 1/26/07, Paul Spencer [EMAIL PROTECTED] wrote: Rahul, I an getting the following when I click on the home link. It appears that the dialog is still running even though it was

Re: How to end a SCXML dialog in an action?

2007-01-29 Thread Rahul Akolkar
On 1/29/07, Paul Spencer [EMAIL PROTECTED] wrote: Rahul, I was using 1.0.4. When I switch to 1.1.0-SNAPSHOT, it worked. snip/ OK, I'll try to reproduce this (in a couple of days) using the 1.0.4 artifacts (nothing jumps out at me that would have caused such a change in behavior, but I'll

Re: How to end a SCXML dialog in an action?

2007-01-26 Thread Rahul Akolkar
On 1/26/07, Paul Spencer [EMAIL PROTECTED] wrote: Rahul Akolkar wrote: snip/ As mentioned above, that would be inside the method called by the MB, if at all we wanted to stop an active dialog and delegate to the faces-config navigation. What is the name of the method, or where do I

How to end a SCXML dialog in an action?

2007-01-25 Thread Paul Spencer
I have a dialog that adds a vendor. If the dialog successfully add the vendor, or the dialog is canceled, then I want to end the dialog with a call to the action #{vendorManager.listAllVendors}. The view to display upon the completion of the action is configured in faces-config.xml. How to do

Re: How to end a SCXML dialog in an action?

2007-01-25 Thread Rahul Akolkar
On 1/25/07, Paul Spencer [EMAIL PROTECTED] wrote: I have a dialog that adds a vendor. If the dialog successfully add the vendor, or the dialog is canceled, then I want to end the dialog with a call to the action #{vendorManager.listAllVendors}. The view to display upon the completion of the

Re: How to end a SCXML dialog in an action?

2007-01-25 Thread Paul Spencer
Rahul, I do not completely follow you answer. Assume the following: 1) stateId = start Display the view /editVendor_1 OutcomeNext state --- successpage2 cancel end 2) stateId = page2 Display the view /editVendor_2 OutcomeNext state