You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/05/11 16:56:20 UTC

DO NOT REPLY [Bug 34865] - Create Default Transitions for Dialogs

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34865>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34865





------- Additional Comments From gvanmatre@comcast.net  2005-05-11 16:56 -------
(In reply to comment #0)

Taking it a step further, inheritance might also be useful? 

<dialogs>
  <dialog            name="Create Account"
                    start="User Information">

    <view sequence="5" name="User Information"
                   viewId="/pages/account.jsp"/>

    <view sequence="10" name="Phone Numbers"
                   viewId="/pages/account.jsp"/>

    <view sequence="15" name="Address"
                   viewId="/pages/account.jsp"/>

    <view sequence="20" name="Summary"
                   viewId="/pages/account.jsp"/>

    <end             name="Exit"
                   viewId="/pages/login.jsp">

    </end>
  </dialog>


  <dialog  name="Create Acme Account" extends="Create Account">
    <!-- insert a step -->
    <view sequence="6" name="Verify Password"
                   viewId="/pages/account.jsp"/>
    <!-- override a view -->
    <view sequence="20" viewId="/pages/acmeAccount.jsp"/>
  </dialog>


</dialogs>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org