[ http://issues.apache.org/struts/browse/WW-1420?page=comments#action_38672 
] 
            
Ted Husted commented on WW-1420:
--------------------------------

Thanks for the patch, Jason. I've opened 
http://jira.opensymphony.com/browse/XW-432 to cover this issue, and attached 
there an updated copy of your patch. 

Two things 

First, the original patch included some files found in "config/providers/". Are 
these meant to be part of the patch, or is this something else you are working 
on? 

Second, when creating the patch, start at the base XWork directory, so that 
your local file paths are not included. Not a big deal, I just corrected the 
paths, but it saves a step. 

Thanks again. I'm looking forward to having this fix on board. 

-Ted.

> 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

        

Reply via email to