Author: mrdon Date: Sun Sep 10 21:47:47 2006 New Revision: 442097 URL: http://svn.apache.org/viewvc?view=rev&rev=442097 Log: Adding missing fileupload dep for showcase, added checkbox interceptor to proper stacks
WW-1349 WW-992 Modified: struts/struts2/trunk/apps/showcase/pom.xml struts/struts2/trunk/apps/showcase/src/main/resources/struts.xml struts/struts2/trunk/core/src/main/resources/struts-default.xml Modified: struts/struts2/trunk/apps/showcase/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/pom.xml?view=diff&rev=442097&r1=442096&r2=442097 ============================================================================== --- struts/struts2/trunk/apps/showcase/pom.xml (original) +++ struts/struts2/trunk/apps/showcase/pom.xml Sun Sep 10 21:47:47 2006 @@ -61,6 +61,12 @@ <artifactId>rife-continuations</artifactId> <version>0.0.2</version> </dependency> + <dependency> + <groupId>commons-fileupload</groupId> + <artifactId>commons-fileupload</artifactId> + <version>1.1</version> + </dependency> + </dependencies> Modified: struts/struts2/trunk/apps/showcase/src/main/resources/struts.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/resources/struts.xml?view=diff&rev=442097&r1=442096&r2=442097 ============================================================================== --- struts/struts2/trunk/apps/showcase/src/main/resources/struts.xml (original) +++ struts/struts2/trunk/apps/showcase/src/main/resources/struts.xml Sun Sep 10 21:47:47 2006 @@ -47,6 +47,7 @@ <package name="default" extends="struts-default"> <interceptors> <interceptor-stack name="crudStack"> + <interceptor-ref name="checkbox" /> <interceptor-ref name="params" /> <interceptor-ref name="static-params" /> <interceptor-ref name="defaultStack" /> Modified: struts/struts2/trunk/core/src/main/resources/struts-default.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/struts-default.xml?view=diff&rev=442097&r1=442096&r2=442097 ============================================================================== --- struts/struts2/trunk/core/src/main/resources/struts-default.xml (original) +++ struts/struts2/trunk/core/src/main/resources/struts-default.xml Sun Sep 10 21:47:47 2006 @@ -66,7 +66,7 @@ <interceptor-ref name="exception"/> <interceptor-ref name="servlet-config"/> <interceptor-ref name="prepare"/> - <interceptor-ref name="static-params"/> + <interceptor-ref name="checkbox"/> <interceptor-ref name="params"/> <interceptor-ref name="conversionError"/> </interceptor-stack> @@ -124,6 +124,7 @@ <interceptor-ref name="chain"/> <interceptor-ref name="model-driven"/> <interceptor-ref name="fileUpload"/> + <interceptor-ref name="checkbox"/> <interceptor-ref name="static-params"/> <interceptor-ref name="params"/> <interceptor-ref name="conversionError"/> @@ -156,8 +157,8 @@ <interceptor-ref name="debugging"/> <interceptor-ref name="model-driven"/> <interceptor-ref name="fileUpload"/> - <interceptor-ref name="static-params"/> <interceptor-ref name="checkbox"/> + <interceptor-ref name="static-params"/> <interceptor-ref name="params"/> <interceptor-ref name="conversionError"/> <interceptor-ref name="validation">