Marc,

Sorry for the delayed reply...

Unless you've already found it, take a look at

http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-715

There was an earlier enhancement request, but I can't find it for the life of me.

The patch depends on a bugfix, which still hasn't been fixed.

You may find it useful with XDoclet to have a big patchfile to apply whenever you checkout XDoclet, as the committers do not seem to get much time for applying patches. We have a "checkout-patch-build" project for XDoclet. If there are good patches in JIRA, we just add them to our patch file and rebuild. At present, we have 24 patches applied to the tag XDoclet-v1-2beta3. I'll get around to updating the 1.2 final soon, but it's likely most of those patches will stay (there's at least three showstoppers for us).


Matt


Marc Dugger wrote:

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






------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to