I'd like to embed two action mappings in one Struts Action but the forwards
are being written to each mapping:

 * @struts.action name="FormTypeForm"
 *                path="/types/note_form/get"
 *                scope="request"
 *                validate="false"
 *                parameter="mode"
 * @struts.action-forward name="add" path="editNoteFormType"
 * @struts.action-forward name="update" path="editNoteFormType"
 * @struts.action-forward name="list" path="listNoteFormTypes"
 * @struts.action-forward name="error" path="reportError"
 *
 * @struts.action name="FormTypeForm"
 *                path="/types/mortgage_form/get"
 *                scope="request"
 *                validate="false"
 *                parameter="mode"
 * @struts.action-forward name="add" path="editMortgageFormType"
 * @struts.action-forward name="update" path="editMortgageFormType"
 * @struts.action-forward name="list" path="listMortgageFormTypes"
 * @struts.action-forward name="error" path="reportError"

...is being generated as:

  <action
      path="/types/note_form/get"
      type="com.socotech.loanauditor.web.document.GetFormTypeAction"
      name="FormTypeForm"
      scope="request"
      parameter="mode"
      unknown="false"
      validate="false"
    >
      <forward
        name="add"
        path="editNoteFormType"
        redirect="false"
      />
      <forward
        name="update"
        path="editNoteFormType"
        redirect="false"
      />
      <forward
        name="list"
        path="listNoteFormTypes"
        redirect="false"
      />
      <forward
        name="error"
        path="reportError"
        redirect="false"
      />
      <forward
        name="add"
        path="editMortgageFormType"
        redirect="false"
      />
      <forward
        name="update"
        path="editMortgageFormType"
        redirect="false"
      />
      <forward
        name="list"
        path="listMortgageFormTypes"
        redirect="false"
      />
      <forward
        name="error"
        path="reportError"
        redirect="false"
      />

Is there a demarcation construct that I'm not aware of?  Thanks in advance
for any help.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to