You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2013/08/15 14:21:22 UTC

svn commit: r1514243 - /isis/site/trunk/content/applib-guide/how-tos/how-to-03-050-How-to-specify-default-values-for-an-action-parameter.md

Author: danhaywood
Date: Thu Aug 15 12:21:22 2013
New Revision: 1514243

URL: http://svn.apache.org/r1514243
Log:
fixing docs on use of defaultXxx() for action params

Modified:
    isis/site/trunk/content/applib-guide/how-tos/how-to-03-050-How-to-specify-default-values-for-an-action-parameter.md

Modified: isis/site/trunk/content/applib-guide/how-tos/how-to-03-050-How-to-specify-default-values-for-an-action-parameter.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/applib-guide/how-tos/how-to-03-050-How-to-specify-default-values-for-an-action-parameter.md?rev=1514243&r1=1514242&r2=1514243&view=diff
==============================================================================
--- isis/site/trunk/content/applib-guide/how-tos/how-to-03-050-How-to-specify-default-values-for-an-action-parameter.md (original)
+++ isis/site/trunk/content/applib-guide/how-tos/how-to-03-050-How-to-specify-default-values-for-an-action-parameter.md Thu Aug 15 12:21:22 2013
@@ -36,7 +36,7 @@ where N indicates the 0-based parameter 
 
 The syntax for specifying all the parameter default values in one go is:
 
-    public Object[] defaultActionName([ValueOrEntityType param]...)
+    public Object[] defaultActionName()
 
 returning an array which must have one element per parameter in the
 action method signature of corresponding default values.
@@ -59,4 +59,4 @@ For example:
         ...
     }
 
-Note that the `defaultXxx()` method has no parameters.  This does mean that overloaded actions (more than one action with the same name but differing only in its parameter types) are not supported if using this construct.  This is not advisable in any case, since it would cause confusion to the users when rendered in the UI.
\ No newline at end of file
+> **Note** that the `defaultXxx()` method has no parameters.  This does mean that overloaded actions (more than one action with the same name but differing only in its parameter types) are not supported if using this construct.  This is not advisable in any case, since it would cause confusion to the users when rendered in the UI.
\ No newline at end of file