Author: musachy
Date: Wed Feb 18 16:26:29 2009
New Revision: 745559

URL: http://svn.apache.org/viewvc?rev=745559&view=rev
Log:
WW-3003 The "name" attribute in @Result (Convention plugin) should default to 
"success"

Modified:
    
struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/annotation/Result.java

Modified: 
struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/annotation/Result.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/annotation/Result.java?rev=745559&r1=745558&r2=745559&view=diff
==============================================================================
--- 
struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/annotation/Result.java
 (original)
+++ 
struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/annotation/Result.java
 Wed Feb 18 16:26:29 2009
@@ -69,7 +69,7 @@
      * @return  The name of the result mapping. This is the value that is 
returned from the action
      *          method and is used to associate a location with a return value.
      */
-    String name();
+    String name() default com.opensymphony.xwork2.Action.SUCCESS;
 
     /**
      * @return  The location of the result within the web application or 
anywhere on disk. This location


Reply via email to