RE: Starting A DialogContext Programmatically

2007-01-25 Thread JS Portal Support
Hi, great help and making slow progress. I've been breaking my head all day on this programmatic dialog though. When I start my dialog though a commandLink, all goes fine, and this is what my log shows (jsportal=debug and org.apache.shale=debug altered for email a bit): (Logon.java:144)Logon

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