Hi, I have a question regarding Shale sub dialog.

I have these to dialogs:

......
......
                <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"/>
                        <transition outcome="dialog:transfer.performTransfer"
target="prepareNewTransferAction"/>
                </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"/>
                        <transition outcome="dialog:transfer.performTransfer" 
target="dummyEnd"/>
                </view>
                
                <end name="dummyEnd" viewId="/jsp/common/dummy.jsp"/>
        
        </dialog>


The problem is that when the subdialog reaches the dialog "confirm" the
transition outcome does go back up to the calling dialog. For example, if
view name "confirm" get transition outcome "confirm" page dummy.jsp is
shown, and not executeTransferAction which I want.

I had this working with Shale 1.0, but since i upgraded to Shale 1.1.0 I
have not been able to get this to work. Has anybody else this problem?

Regards

Pich
-- 
View this message in context: 
http://www.nabble.com/Shale-sub-dialog-tf3376354.html#a9396652
Sent from the Shale - User mailing list archive at Nabble.com.

Reply via email to