You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by aj...@apache.org on 2008/08/03 14:50:08 UTC
svn commit: r682162 -
/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/src/com/ecyrd/jspwiki/action/NoneActionBean.java
Author: ajaquith
Date: Sun Aug 3 05:50:08 2008
New Revision: 682162
URL: http://svn.apache.org/viewvc?rev=682162&view=rev
Log:
Massive re-factoring to make Stripes less invasive.
Modified:
incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/src/com/ecyrd/jspwiki/action/NoneActionBean.java
Modified: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/src/com/ecyrd/jspwiki/action/NoneActionBean.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/src/com/ecyrd/jspwiki/action/NoneActionBean.java?rev=682162&r1=682161&r2=682162&view=diff
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/src/com/ecyrd/jspwiki/action/NoneActionBean.java (original)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/src/com/ecyrd/jspwiki/action/NoneActionBean.java Sun Aug 3 05:50:08 2008
@@ -1,5 +1,9 @@
package com.ecyrd.jspwiki.action;
+import net.sourceforge.stripes.action.DefaultHandler;
+import net.sourceforge.stripes.action.HandlesEvent;
+import net.sourceforge.stripes.action.Resolution;
+
import com.ecyrd.jspwiki.WikiContext;
/**
@@ -11,7 +15,13 @@
* @author Andrew Jaquith
*
*/
-@WikiRequestContext("none")
public class NoneActionBean extends WikiContext
{
+ @DefaultHandler
+ @HandlesEvent( "none" )
+ @WikiRequestContext( "none" )
+ public Resolution view()
+ {
+ return null;
+ }
}