shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Per Jansson (JIRA)" <>
Subject [jira] Created: (SHALE-423) Subdialog not returning to calling dialog
Date Mon, 12 Mar 2007 13:19:51 GMT
Subdialog not returning to calling dialog

                 Key: SHALE-423
             Project: Shale
          Issue Type: Bug
          Components: Dialog
    Affects Versions: 1.1.0-SNAPSHOT
         Environment: Windows XP, Eclipse 3.2
            Reporter: Per Jansson

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"/>

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

                 <action name="executeTransferAction" method="#{performTransferUseCaseBean.executeTransfer}">
                         <transition outcome="success" target="receiptTransferView"/>
                         <transition outcome="failure" target="confirmTransferView"/>

<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"/>

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


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:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message