Uploaded image for project: 'Shale'
  1. Shale
  2. SHALE-423

Subdialog not returning to calling dialog

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.0-SNAPSHOT
    • 1.0.5
    • Dialog
    • None
    • Windows XP, Eclipse 3.2
    • Important

    Description

      When calling a subdialog from any other dialog, the sub dialog does not return attention to the calling dialog. In my example use case a common confirm page is to be shown (using subdialog) before returning to calling dialog and continue.

      ......
      ......
      <action name="prepareConfirmTransferAction" method="#

      {performTransferUseCaseBean.prepareConfirmTransfer}

      ">
      <transition outcome="success" target="confirmTransferSub"/>
      <transition outcome="failure" target="performTransferView"/>
      </action>

      <subdialog name="confirmTransferSub" dialogName="common.confirm">
      <transition outcome="confirm" target="executeTransferAction"/>
      <transition outcome="back" target="performTransferView"/>
      <transition outcome="cancel" target="cancelTransferEnd"/>
      </subdialog>

      <action name="executeTransferAction" method="#

      {performTransferUseCaseBean.executeTransfer}

      ">
      <transition outcome="success" target="receiptTransferView"/>
      <transition outcome="failure" target="confirmTransferView"/>
      </action>
      ......
      ......

      <dialog name="common.confirm" start="confirm">

      <view name="confirm" viewId="/transfer_register_confirmtransfer.jsp">
      <transition outcome="back" target="dummyEnd"/>
      <transition outcome="confirm" target="dummyEnd"/>
      <transition outcome="cancel" target="dummyEnd"/>
      </view>

      <end name="dummyEnd" viewId="/jsp/common/dummy.jsp"/>

      </dialog>

      If transition from view "confirm" is "confirm" the page flow ends up on view "/jsp/common/dummy.jsp" instead of returning to the calling dialog and action "executeTransferAction".

      For more information:
      http://www.nabble.com/Shale-sub-dialog-tf3376354.html#a9399479

      Attachments

        Activity

          People

            rahul@apache.org Rahul Akolkar
            pich Per Jansson
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: