Hi-

I'm having trouble understanding how to use subdialogs.  How do I specify 
the end state for a subdialog that also ends the calling dialog?  The 
documentation mentions some of the possiblities, but doesn't really show 
how to configure it.  Is there a good example somewhere?  I looked in the 
samples I downloaded, but the subdialog isn't included.  If I understand 
it correctly.  In the example below (from shale-starter and sql-browser), 
the subdialog "Edit Profile" is mentioned, but it isn't in 
dialog-config.xml.

Thanks for your help.
Adam

  <!-- Define your application dialogs here, similar to the following 
example -->

<!--
  <dialog                name="Log On"
                        start="Check Cookie">

    <action              name="Check Cookie"
                       method="#{profile$logon.check}">
      <transition     outcome="authenticated"
                       target="Exit"/>
      <transition     outcome="unauthenticated"
                       target="Logon Form"/>
    </action>

    <view                name="Logon Form"
                       viewId="/profile/logon.jsp">
      <transition     outcome="authenticated"
                       target="Exit"/>
      <transition     outcome="create"
                       target="Create Profile"/>
      <transition     outcome="cancel"
                       target="Exit"/>
    </view>

    <subdialog           name="Create Profile"
                   dialogName="Edit Profile">
      <transition     outcome="success"
                       target="Exit"/>
    </subdialog>

    <end                 name="Exit"
                       viewId="/usecases.jsp"/>

  </dialog>
-->

Adam Brod
Product Development Team

Disclaimer: This electronic mail and any attachments are confidential and may 
be privileged. If you are not the intended recipient, please notify the sender 
immediately by replying to this email, and destroy all copies of this email and 
any attachments. Thank you.

Reply via email to