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 2014/12/11 14:03:12 UTC

svn commit: r932290 - in /websites/staging/isis/trunk: cgi-bin/ content/ content/more-advanced-topics/Fixture-Scripts.html

Author: buildbot
Date: Thu Dec 11 13:03:12 2014
New Revision: 932290

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/more-advanced-topics/Fixture-Scripts.html

Propchange: websites/staging/isis/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Dec 11 13:03:12 2014
@@ -1 +1 @@
-1644623
+1644624

Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Dec 11 13:03:12 2014
@@ -1 +1 @@
-1644623
+1644624

Modified: websites/staging/isis/trunk/content/more-advanced-topics/Fixture-Scripts.html
==============================================================================
--- websites/staging/isis/trunk/content/more-advanced-topics/Fixture-Scripts.html (original)
+++ websites/staging/isis/trunk/content/more-advanced-topics/Fixture-Scripts.html Thu Dec 11 13:03:12 2014
@@ -872,7 +872,7 @@ on different starting scenarios.</p>
 </code></pre>
 
 <p>These parameters are then made available in <code>ExecutionContext</code> to be consumed by the fixture script (and any child
-fixture scripts that might be called in turn).</p>
+fixture scripts that might be called in turn):</p>
 
 <pre><code>public class ExecutionContext {
     ...
@@ -895,7 +895,10 @@ to support parameters specified in key=v
 </code></pre>
 
 <p>The last method <code>setParameterIfNotPresent(...)</code>, provides a useful way by which the fixture script can supply defaults
-if they haven't been specified in the calling script.  For example, the <code>ToDoItemsRecreate</code> fixture script uses this API:</p>
+if they haven't been specified in the calling script.</p>
+
+<p>For example, the <code>ToDoItemsRecreate</code> fixture script uses this API to default an "ownedBy" parameter (so that every
+todo item created is for a particular user):</p>
 
 <pre><code>public class ToDoItemsRecreate extends FixtureScript {
     ...