I'm working with the latest snapshot and to get out of a sub-dialog, I have
to hit the "Cancel" (or "Finish") twice to return to the previous dialog.
Has anyone else seen this? I thought it might be my dialog-config.xml wasn't
set up correctly, but I compared it to the one from this article[1] and it
seemed fine.  Is this perhaps a new bug with the latest version?

Thanks,
Adam

Here's my dialog-config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dialogs PUBLIC "-//Apache Software Foundation//DTD Shale Dialog
Configuration 1.1//EN"  "http://shale.apache.org/dtds/dialog-config_1_1.dtd
">
<dialogs>
   <dialog name="View User Authorization" start="View User Authorization">
       <view name="View User Authorization"
viewId="/secure/authorization/index.jsp" redirect="true">
           <transition outcome="Add Role" target="Add Role"/>
           <transition outcome="cancel" target="Exit"/>
       </view>
       <subdialog dialogName="Add Role" name="Add Role">
           <transition outcome="finish" target="View User Authorization"/>
           <transition outcome="cancel" target="View User Authorization"/>
       </subdialog>
       <end name="Exit" viewId="/secure/index.jsf"/>
   </dialog>
   <dialog name="Add Role" start="Select Role">
       <view name="Select Role" viewId="/secure/dialog/addRole/add-
step1.jsp" redirect="true">
           <transition outcome="next" target="Add Attributes"/>
           <transition outcome="cancel" target="Exit"/>
       </view>
       <view name="Add Attributes" viewId="/secure/dialog/addRole/add-
step2.jsp" redirect="true">
           <transition outcome="previous" target="Select Role"/>
           <transition outcome="next" target="Confirm"/>
           <transition outcome="cancel" target="Exit"/>
       </view>
       <view name="Confirm" viewId="/secure/dialog/addRole/add-step3.jsp"
redirect="true">
           <transition outcome="previous" target="Add Attributes"/>
           <transition outcome="finish" target="Exit"/>
           <transition outcome="cancel" target="Exit"/>
       </view>
       <end name="Exit"/>
   </dialog>
</dialogs>

[1] http://www.devx.com/Java/Article/31419

Reply via email to