add the possibility to specify "type" attribute of <action-mappings> element in 
struts-config.xml
-------------------------------------------------------------------------------------------------

         Key: XDP-84
         URL: http://jira.codehaus.org/browse/XDP-84
     Project: XDoclet 2 Plugins
        Type: New Feature
 Reporter: Renaud Bruyeron
     Fix For: 1.0.3
 Attachments: patch.txt

plugin-struts from CVS does not allow to specify the type attribute of 
<action-mappings> in struts-config.xml.
The attached patch solves this by adding a "mappingtype" property to the 
StrutsConfigXMLPlugin and modifies the jelly templates accordingly.

Usage is like so:
        <xdoclet verbose="true">
            <fileset dir="${webapp.src}">
                <include name="**/actions/*.java"/>
            </fileset>
                <component
                        
classname="org.xdoclet.plugin.struts.StrutsConfigXMLPlugin"
                        mergedir="${webapp.mergedir}"
                    destdir="${webapp}/WEB-INF"
                        mappingtype="myapp.CustomActionMapping"/>
        </xdoclet>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to