I am having some problems with the shale dialogs.  I have defined my
dialogs (correctly, I believe) in the dialog-config.xml as follows:

 

<dialogs>

  <dialog name="Log in" start="login">

    <action name="login" method="#{account$login.login}">

      <transition outcome="authenticated" target="Exit"/>

      <transition outcome="unauthenticated" target="Login Form"/>

    </action>

    <view name="Login Form" viewId="/tiles/Login.jsp">

      <transition outcome="authenticated" target="Exit"/>

    </view>

    <end name="Exit" viewId="/tiles/Homepage.jsp"/>

  </dialog>

</dialogs>

 

However, when I successfully authenticate I don't end up on my
home page, but remain on the login page.  I found this in the log file:

 

DEBUG http-8080-Processor24
org.apache.shale.dialog.faces.DialogNavigationHandler -
handleNavigation(viewId=/tiles/Login.jsp,fromAction=#{account$login.logi
n},outcome=authenticated)

DEBUG http-8080-Processor24
org.apache.myfaces.application.NavigationHandlerImpl - handleNavigation
fromAction=#{account$login.login} outcome=authenticated no matching
navigation-case found, staying on current ViewRoot

DEBUG http-8080-Processor24
org.apache.shale.view.faces.ViewPhaseListener -
afterPhase([EMAIL PROTECTED]
0aa1,INVOKE_APPLICATION(5))

 

Why is no matching case found?  It seems like it should be.

 

Thanks,

 

*       Greg

*        

 

Reply via email to