You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by bu...@apache.org on 2013/08/15 14:21:28 UTC
svn commit: r874702 - in /websites/staging/isis/trunk: cgi-bin/ content/
content/applib-guide/how-tos/how-to-03-050-How-to-specify-default-values-for-an-action-parameter.html
Author: buildbot
Date: Thu Aug 15 12:21:27 2013
New Revision: 874702
Log:
Staging update by buildbot for isis
Modified:
websites/staging/isis/trunk/cgi-bin/ (props changed)
websites/staging/isis/trunk/content/ (props changed)
websites/staging/isis/trunk/content/applib-guide/how-tos/how-to-03-050-How-to-specify-default-values-for-an-action-parameter.html
Propchange: websites/staging/isis/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Aug 15 12:21:27 2013
@@ -1 +1 @@
-1514242
+1514243
Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Aug 15 12:21:27 2013
@@ -1 +1 @@
-1514242
+1514243
Modified: websites/staging/isis/trunk/content/applib-guide/how-tos/how-to-03-050-How-to-specify-default-values-for-an-action-parameter.html
==============================================================================
--- websites/staging/isis/trunk/content/applib-guide/how-tos/how-to-03-050-How-to-specify-default-values-for-an-action-parameter.html (original)
+++ websites/staging/isis/trunk/content/applib-guide/how-tos/how-to-03-050-How-to-specify-default-values-for-an-action-parameter.html Thu Aug 15 12:21:27 2013
@@ -291,7 +291,7 @@ parameter, or for all parameters.</p>
<p>The syntax for specifying all the parameter default values in one go is:</p>
-<pre><code>public Object[] defaultActionName([ValueOrEntityType param]...)
+<pre><code>public Object[] defaultActionName()
</code></pre>
<p>returning an array which must have one element per parameter in the
@@ -316,7 +316,9 @@ action method signature of corresponding
}
</code></pre>
-<p>Note that the <code>defaultXxx()</code> 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.</p>
+<blockquote>
+ <p><strong>Note</strong> that the <code>defaultXxx()</code> 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.</p>
+</blockquote>