You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2006/12/18 14:16:58 UTC

[jira] Updated: (WW-1420) default-class-ref

     [ http://issues.apache.org/struts/browse/WW-1420?page=all ]

Ted Husted updated WW-1420:
---------------------------

    Comment: was deleted

> default-class-ref
> -----------------
>
>                 Key: WW-1420
>                 URL: http://issues.apache.org/struts/browse/WW-1420
>             Project: Struts 2
>          Issue Type: Improvement
>            Reporter: Ted Husted
>             Fix For: 2.0.2
>
>         Attachments: default-class-ref-patch.txt
>
>
> Allow a package to specify a default Action class. 
> <package name="country" extends="orgListers, crud" namespace="/country">
>     <global-results>
>         <result name="CRUD-list" type="freemarker">/template/eplus/metaDataList.ftl</result>
>     </global-results>
>     <default-interceptor-ref>crudStack</default-interceptor-ref>
>     <default-class-ref>com.eplus.app.country.action.CountryCrudAction</default-class-ref>
>     <action name="*Country" method="{1}">
>         <interceptor-ref name="{1}Stack"/>
>     </action>
>     <action name="saveCountry" method="save"/>
>     <action name="deleteCountry" method="delete"/>
> </package>

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