>-------------- Original message -------------- >From: "Adam Koch" <[EMAIL PROTECTED]> > > I added immediate="true" to my cancel button and added a messages tag to my > page, but neither helped. >
I wonder if you need a "viewId" attribute on the end state to tell it where to go next? I didn't see one in the previous thread. <end name="quit" viewId="/index.jsf"/> > Here is some of the log after I clicked the Cancel button the first time: > [2007-01-02 12:47:35,160] [TRACE] [ > org.apache.shale.dialog.basic.BasicDialogContext] [-->EndState()] > [2007-01-02 12:47:35,160] [DEBUG] [ > org.apache.shale.dialog.faces.DialogNavigationHandler] [Advancing dialog > 'View User Authorization' for FacesContext ' > [EMAIL PROTECTED]' with navigation to viewId > '/secure/dialog/addRole/add-step1.jsp'] > > The "EndState" is good to see, but what's confusing to me is that it's > navigating to a view id that isn't defined in the dialog "View User > Authorization". The add-step1.jsp is part of the sub-dialog. > > When I click on the Cancel button again, then I see the correct behaviour: > [2007-01-02 12:48:00,380] [TRACE] [ > org.apache.shale.dialog.basic.BasicDialogContext] > [-->ViewState(viewId=/secure/authorization/index.jsp,redirect=false)] > [2007-01-02 12:48:00,380] [TRACE] [ > org.apache.shale.dialog.basic.BasicDialogContext] > [-->Navigate(viewId=/secure/authorization/index.jsp)] > [2007-01-02 12:48:00,380] [DEBUG] [ > org.apache.shale.dialog.faces.DialogNavigationHandler] [Advancing dialog > 'View User Authorization' for FacesContext ' > [EMAIL PROTECTED]' with navigation to viewId > '/secure/authorization/index.jsp'] > > Any thoughts? > > Adam Gary