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 2016/03/08 00:19:36 UTC

[1/3] isis-site git commit: ISIS-993: layouts

Repository: isis-site
Updated Branches:
  refs/heads/asf-site d7ccc28b7 -> e106aba4d


http://git-wip-us.apache.org/repos/asf/isis-site/blob/e106aba4/content/guides/ug.html
----------------------------------------------------------------------
diff --git a/content/guides/ug.html b/content/guides/ug.html
index 283c912..49e552c 100644
--- a/content/guides/ug.html
+++ b/content/guides/ug.html
@@ -506,7 +506,7 @@ table.CodeRay td.code>pre{padding:0}
 <p>Apache Isis documentation is broken out into a number of user, reference and "supporting procedures" guides.</p>
 </div>
 <div class="paragraph">
-<p>The user guides available are:</p>
+<p>The <strong>user guides</strong> available are:</p>
 </div>
 <div class="ulist">
 <ul>
@@ -526,7 +526,7 @@ table.CodeRay td.code>pre{padding:0}
 <p><a href="ugtst.html">Testing</a></p>
 </li>
 <li>
-<p><a href="ugbtb.html">Beyond the Basics</a> (this guide)</p>
+<p><a href="ugbtb.html">Beyond the Basics</a></p>
 </li>
 </ul>
 </div>

http://git-wip-us.apache.org/repos/asf/isis-site/blob/e106aba4/content/guides/ugfun.html
----------------------------------------------------------------------
diff --git a/content/guides/ugfun.html b/content/guides/ugfun.html
index 1ada81b..62ca70b 100644
--- a/content/guides/ugfun.html
+++ b/content/guides/ugfun.html
@@ -5198,22 +5198,39 @@ TODO -  easiest to simply store using DataNucleus' support for collections, mark
 <div class="sect2">
 <h3 id="_ugfun_object-layout_static">5.1. Static Object Layout</h3>
 <div class="paragraph">
-<p>Metadata providing UI hints can be specified either statically, using annotations, or dynamically, using a <code>.layout.json</code> file.  This section describes the static approach, using annotations.</p>
+<p>Metadata providing UI hints can be specified either statically, using annotations, or dynamically, using either a <a href="#_ugfun_object-layout_dynamic_xml"><code>layout.xml</code></a> file (<code>1.12.0-SNAPSHOT</code>) or a <a href="#_ugfun_object-layout_dynamic"><code>.layout.json</code></a> file.</p>
+</div>
+<div class="paragraph">
+<p>This section describes the static approach, using annotations.</p>
+</div>
+<div class="admonitionblock note">
+<table>
+<tr>
+<td class="icon">
+<i class="fa icon-note" title="Note"></i>
+</td>
+<td class="content">
+<div class="paragraph">
+<p>Tabs and tabgroups are only supported using <a href="#_ugfun_object-layout_dynamic_xml"><code>layout.xml</code></a> files (<code>1.12.0-SNAPSHOT</code>); they are not supported by annotations.</p>
+</div>
+</td>
+</tr>
+</table>
 </div>
 <div class="sect3">
 <h4 id="__code_memberorder_code">5.1.1. <code>@MemberOrder</code></h4>
 <div class="paragraph">
-<p>The <code>@MemberOrder</code> annotation is used to specify the relative order of domain class properties, collections and actions.</p>
+<p>The <a href="rgant.html#_rgant_MemberOrder"><code>@MemberOrder</code></a>  annotation is used to specify the relative order of domain class properties, collections and actions.</p>
 </div>
 <div class="paragraph">
-<p>The annotation defines two attributes, <code>name()</code> and <code>sequence()</code>.  Their usage depends on the member type:</p>
+<p>The annotation defines two attributes, <a href="rgant.html#_rgant_MemberOrder_name"><code>name()</code></a> and <a href="rgant.html#_rgant_MemberOrder_sequence"><code>sequence()</code></a>.  Their usage depends on the member type:</p>
 </div>
 <div class="ulist">
 <ul>
 <li>
-<p>for properties, the <code>name()</code> is used to group properties together.  The <code>sequence()</code> then orders properties within these groups. If no <code>name()</code> is specified then the property is placed in a fallback "General" group, called "General".<br></p>
+<p>for properties, the <code>name()</code> is used to group properties together into a member group (also called a property group or (in <code>1.12.0-SNAPSHOT</code>) a fieldset.  The <code>sequence()</code> then orders properties within these groups. If no <code>name()</code> is specified then the property is placed in a fallback "General" group, called "General".<br></p>
 <div class="paragraph">
-<p>The name of these "member groups" are then referenced by <a href="rgant.html#_rgant-MemberGroupLayout"><code>@MemberGroupLayout</code></a>.</p>
+<p>The name of these member groups/fieldsets are then referenced by <a href="rgant.html#_rgant-MemberGroupLayout"><code>@MemberGroupLayout</code></a>.</p>
 </div>
 </li>
 <li>
@@ -5221,22 +5238,26 @@ TODO -  easiest to simply store using DataNucleus' support for collections, mark
 </li>
 <li>
 <p>for actions, the <code>name()</code> attribute associates an action with either a property or with a collection.<br></p>
-<div class="paragraph">
+<div class="ulist">
+<ul>
+<li>
 <p>If the <code>name()</code> attribute matches a property name, then the action&#8217;s button is rendered close to the property, according to <a href="rgant.html#_rgant-ActionLayout_position"><code>@ActionLayout#position()</code></a> attribute.<br></p>
-</div>
-<div class="paragraph">
-<p>On the other hand if the `name() attribute matches a collection name, then the action&#8217;s button is rendered on the collection&#8217;s header.<br></p>
-</div>
-<div class="paragraph">
+</li>
+<li>
+<p>On the other hand if the `name() attribute matches a collection name, then the action&#8217;s button is rendered on the collection&#8217;s header.</p>
+</li>
+<li>
 <p>If there is no <code>name()</code> value, then the action is considered to pertain to the object as a whole, and its button is rendered close to the object&#8217;s icon and title.</p>
-</div>
-<div class="paragraph">
-<p>Within any of these, the <code>sequence()</code> then determines the relative ordering of the action with respect to other actions that have been similarly associated with properties/collections or left as "free-standing".</p>
+</li>
+</ul>
 </div>
 </li>
 </ul>
 </div>
 <div class="paragraph">
+<p>Within any of these, the <code>sequence()</code> then determines the relative ordering of the action with respect to other actions that have been similarly associated with properties/collections or left as "free-standing".</p>
+</div>
+<div class="paragraph">
 <p>For example:</p>
 </div>
 <div class="listingblock">
@@ -5264,7 +5285,7 @@ TODO -  easiest to simply store using DataNucleus' support for collections, mark
 <p>This defines three property (or member) groups, "General", "Detail" and "Misc"; "General" is the default if no <code>name</code> attribute is specified. Properties in the same member group are rendered together, as a fieldset.</p>
 </div>
 <div class="paragraph">
-<p>In addition, actions can optionally be associated (rendered close to) either properties or actions. This is done by overloading the <code>@MemberOrder&#8217;s `name</code> attribute, holding the value of the property or collection.</p>
+<p>In addition, actions can optionally be associated (rendered close to) either properties or actions. This is done by overloading the <code>@MemberOrder</code>'s <a href="rgant.html#_rgant_MemberOrder_name"><code>name()</code></a> attribute, holding the value of the property or collection.</p>
 </div>
 <div class="paragraph">
 <p>For example:</p>
@@ -5293,16 +5314,36 @@ TODO -  easiest to simply store using DataNucleus' support for collections, mark
 <p>will associate the <code>completed()</code> and <code>notYetCompleted()</code> actions with the <code>complete</code> property, and will associate the <code>add()</code> and <code>remove()</code> actions with the <code>dependencies</code> collection.</p>
 </div>
 <div class="paragraph">
-<p>The value of <code>sequence()</code> is a string.  The simplest convention (as shown in the example above) is to use numbers&#8201;&#8212;&#8201;1, 2, 3&#8201;&#8212;&#8201;though it is a better idea to leave gaps in the numbers&#8201;&#8212;&#8201;10, 20, 30 perhaps&#8201;&#8212;&#8201;such that a new member may be added without having to edit existing numbers.  A useful alternative is to adopt the 'dewey-decimal' notation&#8201;&#8212;&#8201;1, 1.1, 1.2, 2, 3, 5.1.1, 5.2.2, 5.2, 5.3&#8201;&#8212;&#8201;which allows for an indefinite amount of future insertion.  It also allows subclasses to insert their class members as required.</p>
+<p>The value of <a href="rgant.html#_rgant_MemberOrder_sequence"><code>sequence()</code></a> is a string.  The simplest convention (as shown in the example above) is to use numbers&#8201;&#8212;&#8201;1, 2, 3&#8201;&#8212;&#8201;though it is a better idea to leave gaps in the numbers&#8201;&#8212;&#8201;10, 20, 30 perhaps&#8201;&#8212;&#8201;such that a new member may be added without having to edit existing numbers.</p>
+</div>
+<div class="paragraph">
+<p>Even better is to adopt the 'dewey-decimal' notation&#8201;&#8212;&#8201;1, 1.1, 1.2, 2, 3, 5.1.1, 5.2.2, 5.2, 5.3&#8201;&#8212;&#8201;which allows for an indefinite amount of future insertion.  It also allows subclasses to insert their class members as required.</p>
 </div>
 </div>
 <div class="sect3">
 <h4 id="__code_membergrouplayout_code">5.1.2. <code>@MemberGroupLayout</code></h4>
 <div class="paragraph">
-<p>The <code>@MemberGroupLayout</code> annotation specifies the relative positioning of property groups as being either in a left column, a middle column or in a right column.  The annotation also specifies the relative width of the columns.</p>
+<p>The <a href="rgant.html#_rgant_MemberGroupLayout"><code>@MemberGroupLayout</code></a> annotation specifies the relative positioning of property groups/fieldsets as being either in a left column, a middle column or in a right column.  The annotation also specifies the relative width of the columns.</p>
+</div>
+<div class="paragraph">
+<p>The property groups/fieldsets in this case are those that are inferred from the <code>@MemberOrder#name()</code> attribute.</p>
+</div>
+<div class="admonitionblock tip">
+<table>
+<tr>
+<td class="icon">
+<i class="fa icon-tip" title="Tip"></i>
+</td>
+<td class="content">
+<div class="paragraph">
+<p>It is also possible to combine <code>@MemberOrder</code> with dynamic layouts, either using <a href="#_ugfun_object-layout_xml">XML</a> (<code>1.12.0-SNAPSHOT</code>) or <a href="#_ugfun_object-layout_dynamic">JSON</a>.  The layout file defines only the regions of a grid structure (fieldsets/columns etc), but does <em>not</em> specify the properties/collections/actions within those grid regions.  The <code>@MemberOrder</code> annotation in effect "binds" the properties or collections to those regions of the grid.</p>
 </div>
 <div class="paragraph">
-<p>The property groups in this case are those that are inferred from the <code>@MemberOrder#name()</code> attribute.</p>
+<p>When dynamic layouts are used this way, the <a href="rgant.html#_rgant_MemberGroupLayout"><code>@MemberGroupLayout</code></a> annotation is essentially ignored, but the metadata from the <a href="rgant.html#_rgant_MemberOrder"><code>@MemberOrder</code></a> annotation (and the other layout annotations, <a href="rgant.html#_rgant_ActionLayout"><code>@ActionLayout</code></a>, <a href="rgant.html#_rgant_PropertyLayout"><code>@PropertyLayout</code></a> and <a href="rgant.html#_rgant_CollectionLayout"><code>@CollectionLayout</code></a>) are all still honoured.</p>
+</div>
+</td>
+</tr>
+</table>
 </div>
 <div class="paragraph">
 <p>For example:</p>
@@ -5448,15 +5489,419 @@ TODO -  easiest to simply store using DataNucleus' support for collections, mark
 </div>
 </div>
 <div class="sect2">
-<h3 id="_ugfun_object-layout_dynamic">5.2. Dynamic Object Layout</h3>
+<h3 id="_ugfun_object-layout_dynamic_xml">5.2. Dynamic (XML) Layout (<code>1.12.0-SNAPSHOT</code>)</h3>
+<div class="paragraph">
+<p>Metadata providing UI hints can be specified either <a href="#_ugfun_object-layout_static">statically</a>, using annotations, or dynamically using an <code>Xxx.layout.xml</code> file (where <code>Xxx</code> is the entity or view model object to be rendered).</p>
+</div>
+<div class="paragraph">
+<p>The <code>Xxx.layout.xml</code> file is just the serialized form of a <a href="rgcms.html#_rgcms_classes_layout"><code>Grid</code></a> layout class defined within Apache Isis' applib.  These are JAXB-annotated classes with corresponding XSD schemas; the upshot of that
+is that IDEs such as IntelliJ and Eclipse can provide "intellisense", making iteasy to author such layout files.</p>
+</div>
+<div class="paragraph">
+<p>It is also possible to download an initial <code>.layout.xml</code> - capturing any existing layout metadata - using the <a href="rgsvc.html#_rgsvc_api_LayoutService"><code>LayoutService</code></a> (exposed on the prototyping menu) or using a <a href="rgcms.html#_rgcms_classes_mixins_Object">mixin action</a> contributed to every domain object.</p>
+</div>
+<div class="admonitionblock note">
+<table>
+<tr>
+<td class="icon">
+<i class="fa icon-note" title="Note"></i>
+</td>
+<td class="content">
+<div class="paragraph">
+<p>It is also possible to describe dynamic layouts using a <code>.layout.json</code> file, as discussed <a href="#_ugfun_object-layout_dynamic">here</a>.  As of <code>1.12.0-SNAPSHOT</code> the <code>.layout.json</code> file should be considered as deprecated: the <code>.layout.xml</code> file also allows enables much more sophisticated custom layouts than those afforded by <code>.layout.json</code>.</p>
+</div>
+</td>
+</tr>
+</table>
+</div>
+<div class="sect3">
+<h4 id="_grids_vs_components">5.2.1. Grids vs Components</h4>
+<div class="paragraph">
+<p>The XML file distinguishes between two types of element:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>those that define a grid structure, of: rows, columns, tab groups and tabs.<br></p>
+<div class="paragraph">
+<p>The rows and columns are closely modelled on <a href="getbootstrap.com">Bootstrap 3</a> (used in the implementation of the <a href="#ugvw.adoc">Wicket viewer</a>).</p>
+</div>
+</li>
+<li>
+<p>those that defines common components, of: fieldsets (previously called member groups or property groups), properties, collections, actions and also the title/icon of the domain object itself.</p>
+</li>
+</ul>
+</div>
+<div class="paragraph">
+<p>More information about these classes can be found in <a href="rgcms.html#_rgcms_classes_layout">the reference guide</a>.  More information on Bootstrap 3&#8217;s grid system can be found <a href="http://getbootstrap.com/css/#grid">here</a>.</p>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_screencast">5.2.2. Screencast</h4>
+<div class="paragraph">
+<p>The following screencast describes the feature:</p>
+</div>
+<div class="videoblock">
+<div class="content">
+<iframe width="800px" height="534px" src="//www.youtube.com/embed/MxewC5Pve5k?rel=0" frameborder="0" allowfullscreen></iframe>
+</div>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_examples">5.2.3. Examples</h4>
+<div class="paragraph">
+<p>Probably the easiest way to understand dynamic XML layouts is by example.  For this we&#8217;ll use the <code>ToDoItem</code> from the
+(non-ASF) <a href="http://github.com/isisaddons/isis-app-todoapp">Isis addons' todoapp</a>:</p>
+</div>
+<div class="imageblock">
+<div class="content">
+<a class="image" href="images/ugfun/_ugfun_object-layout_dynamic_xml/ToDoItem.png"><img src="images/ugfun/_ugfun_object-layout_dynamic_xml/ToDoItem.png" alt="ToDoItem" width="940px"></a>
+</div>
+</div>
+<div class="sect4">
+<h5 id="_namespaces">Namespaces</h5>
+<div class="paragraph">
+<p>First things first; every <code>.layout.xml</code> file must properly declare the XSD namespaces and schemas.  There are two: one for the grid classes, and one for the common component classes:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml"><span class="preprocessor">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;</span>
+<span class="tag">&lt;bs3:grid</span>
+  <span class="attribute-name">xsi:schemaLocation</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">http://isis.apache.org/applib/layout/component</span>
+                      <span class="content">http://isis.apache.org/applib/layout/component/component.xsd</span>
+                      <span class="content">http://isis.apache.org/applib/layout/grid/bootstrap3</span>
+                      <span class="content">http://isis.apache.org/applib/layout/grid/bootstrap3/bootstrap3.xsd</span><span class="delimiter">&quot;</span></span>
+  <span class="attribute-name">xmlns:bs3</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">http://isis.apache.org/applib/layout/grid/bootstrap3</span><span class="delimiter">&quot;</span></span>
+  <span class="attribute-name">xmlns:c</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">http://isis.apache.org/applib/layout/component</span><span class="delimiter">&quot;</span></span>
+  <span class="attribute-name">xmlns:xsi</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">http://www.w3.org/2001/XMLSchema-instance</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+    ...
+<span class="tag">&lt;/bs3:grid&gt;</span></code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Most IDEs will automatically download the XSD schemas from the specified schema locations, thereby providing
+"intellisense" help as you edit the file.</p>
+</div>
+</div>
+<div class="sect4">
+<h5 id="_rows_full_width_cols_and_tabs">Rows, full-width cols, and tabs</h5>
+<div class="paragraph">
+<p>The example layout consists of three rows: a row for the object/icon, a row containing a properties, and a row containing collections.   In all three cases the row contains a single column spanning the full width of the page.  For the property and collection rows, the column contains a tab group.</p>
+</div>
+<div class="paragraph">
+<p>This corresponds to the following XML:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml">    <span class="tag">&lt;bs3:row&gt;</span>
+        <span class="tag">&lt;bs3:col</span> <span class="attribute-name">span</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">12</span><span class="delimiter">&quot;</span></span> <span class="attribute-name">unreferencedActions</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">true</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+            <span class="tag">&lt;c:domainObject</span> <span class="attribute-name">bookmarking</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">AS_ROOT</span><span class="delimiter">&quot;</span></span><span class="tag">/&gt;</span>
+        <span class="tag">&lt;/bs3:col&gt;</span>
+    <span class="tag">&lt;/bs3:row&gt;</span>
+    <span class="tag">&lt;bs3:row&gt;</span>
+        <span class="tag">&lt;bs3:col</span> <span class="attribute-name">span</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">12</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+            <span class="tag">&lt;bs3:tabGroup&gt;</span>
+                <span class="tag">&lt;bs3:tab</span> <span class="attribute-name">name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">Properties</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>...<span class="tag">&lt;/bs3:tab&gt;</span>
+                <span class="tag">&lt;bs3:tab</span> <span class="attribute-name">name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">Other</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>...<span class="tag">&lt;/bs3:tab&gt;</span>
+                <span class="tag">&lt;bs3:tab</span> <span class="attribute-name">name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">Metadata</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>...<span class="tag">&lt;/bs3:tab&gt;</span>
+            <span class="tag">&lt;/bs3:tabGroup&gt;</span>
+        <span class="tag">&lt;/bs3:col&gt;</span>
+    <span class="tag">&lt;/bs3:row&gt;</span>
+    <span class="tag">&lt;bs3:row&gt;</span>
+        <span class="tag">&lt;bs3:col</span> <span class="attribute-name">span</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">12</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+            <span class="tag">&lt;bs3:tabGroup</span> <span class="attribute-name">unreferencedCollections</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">true</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+                <span class="tag">&lt;bs3:tab</span> <span class="attribute-name">name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">Similar to</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>...<span class="tag">&lt;/bs3:tab&gt;</span>
+                <span class="tag">&lt;bs3:tab</span> <span class="attribute-name">name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">Dependencies</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>...<span class="tag">&lt;/bs3:tab&gt;</span>
+            <span class="tag">&lt;/bs3:tabGroup&gt;</span>
+        <span class="tag">&lt;/bs3:col&gt;</span>
+    <span class="tag">&lt;/bs3:row&gt;</span></code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>You will notice that one of the <code>col</code>umns has an <code>unreferencedActions</code> attribute, while one of the <code>tabGroup</code>s has a similar <code>unreferencedCollections</code> attribute.  This topic is discussed in more detail <a href="rgcms.html#_ugfun_object-layout_dynamic_xml-unreferenced">below</a>.</p>
+</div>
+</div>
+<div class="sect4">
+<h5 id="_fieldsets">Fieldsets</h5>
+<div class="paragraph">
+<p>The first tab containing properties is divided into two columns, each of which holds a single fieldset of multiple properties.  Those properties in turn can have associated actions.</p>
+</div>
+<div class="paragraph">
+<p>This corresponds to the following XML:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml">            <span class="tag">&lt;bs3:tab</span> <span class="attribute-name">name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">Properties</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+                <span class="tag">&lt;bs3:row&gt;</span>
+                    <span class="tag">&lt;bs3:col</span> <span class="attribute-name">span</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">6</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+                        <span class="tag">&lt;c:fieldSet</span> <span class="attribute-name">name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">General</span><span class="delimiter">&quot;</span></span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">general</span><span class="delimiter">&quot;</span></span> <span class="attribute-name">unreferencedProperties</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">true</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+                            <span class="tag">&lt;c:action</span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">duplicate</span><span class="delimiter">&quot;</span></span> <span class="attribute-name">position</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">PANEL_DROPDOWN</span><span class="delimiter">&quot;</span></span><span class="tag">/&gt;</span>
+                            <span class="tag">&lt;c:action</span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">delete</span><span class="delimiter">&quot;</span></span><span class="tag">/&gt;</span>
+                            <span class="tag">&lt;c:property</span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">description</span><span class="delimiter">&quot;</span></span><span class="tag">/&gt;</span>
+                            <span class="tag">&lt;c:property</span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">category</span><span class="delimiter">&quot;</span></span><span class="tag">/&gt;</span>
+                            <span class="tag">&lt;c:property</span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">subcategory</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+                                <span class="tag">&lt;c:action</span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">updateCategory</span><span class="delimiter">&quot;</span></span><span class="tag">/&gt;</span>
+                                <span class="tag">&lt;c:action</span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">analyseCategory</span><span class="delimiter">&quot;</span></span> <span class="attribute-name">position</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">RIGHT</span><span class="delimiter">&quot;</span></span><span class="tag">/&gt;</span>
+                            <span class="tag">&lt;/c:property&gt;</span>
+                            <span class="tag">&lt;c:property</span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">complete</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+                                <span class="tag">&lt;c:action</span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">completed</span><span class="delimiter">&quot;</span></span> <span class="attribute-name">cssClassFa</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">fa-thumbs-up</span><span class="delimiter">&quot;</span></span><span class="tag">/&gt;</span>
+                                <span class="tag">&lt;c:action</span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">notYetCompleted</span><span class="delimiter">&quot;</span></span> <span class="attribute-name">cssClassFa</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">fa-thumbs-down</span><span class="delimiter">&quot;</span></span><span class="tag">/&gt;</span>
+                            <span class="tag">&lt;/c:property&gt;</span>
+                        <span class="tag">&lt;/c:fieldSet&gt;</span>
+                    <span class="tag">&lt;/bs3:col&gt;</span>
+                    <span class="tag">&lt;bs3:col</span> <span class="attribute-name">span</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">6</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+                        ...
+                    <span class="tag">&lt;/bs3:col&gt;</span>
+                <span class="tag">&lt;/bs3:row&gt;</span>
+            <span class="tag">&lt;/bs3:tab&gt;</span></code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>The tab defines two columns, each span of 6 (meaning half the width of the page).</p>
+</div>
+<div class="paragraph">
+<p>In the first column there is a single fieldset.  Notice how actions - such as <code>duplicate</code> and <code>delete</code> - can be associated with this fieldset directly, meaning that they should be rendered on the fieldset&#8217;s top panel.</p>
+</div>
+<div class="paragraph">
+<p>Thereafter the fieldset lists the properties in order.  Actions can be associated with properties too; here they are rendered underneath or to the right of the field.</p>
+</div>
+<div class="paragraph">
+<p>Note also the <code>unreferencedProperties</code> attribute for the fieldset; this topic is discussed in more detail <a href="rgcms.html#_ugfun_object-layout_dynamic_xml-unreferenced">below</a>.</p>
+</div>
+</div>
+<div class="sect4">
+<h5 id="_collections_3">Collections</h5>
+<div class="paragraph">
+<p>In the final row the collections are placed in tabs, simply one collection per tab.  This corresponds to the following XML:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="xml">                <span class="tag">&lt;bs3:tab</span> <span class="attribute-name">name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">Similar to</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+                    <span class="tag">&lt;bs3:row&gt;</span>
+                        <span class="tag">&lt;bs3:col</span> <span class="attribute-name">span</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">12</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+                            <span class="tag">&lt;c:collection</span> <span class="attribute-name">defaultView</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">table</span><span class="delimiter">&quot;</span></span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">similarTo</span><span class="delimiter">&quot;</span></span><span class="tag">/&gt;</span>
+                        <span class="tag">&lt;/bs3:col&gt;</span>
+                    <span class="tag">&lt;/bs3:row&gt;</span>
+                <span class="tag">&lt;/bs3:tab&gt;</span>
+                <span class="tag">&lt;bs3:tab</span> <span class="attribute-name">name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">Dependencies</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+                    <span class="tag">&lt;bs3:row&gt;</span>
+                        <span class="tag">&lt;bs3:col</span> <span class="attribute-name">span</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">12</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+                            <span class="tag">&lt;c:collection</span> <span class="attribute-name">defaultView</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">table</span><span class="delimiter">&quot;</span></span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">dependencies</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
+                                <span class="tag">&lt;c:action</span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">add</span><span class="delimiter">&quot;</span></span><span class="tag">/&gt;</span>
+                                <span class="tag">&lt;c:action</span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">remove</span><span class="delimiter">&quot;</span></span><span class="tag">/&gt;</span>
+                            <span class="tag">&lt;/c:collection&gt;</span>
+                        <span class="tag">&lt;/bs3:col&gt;</span>
+                    <span class="tag">&lt;/bs3:row&gt;</span>
+                <span class="tag">&lt;/bs3:tab&gt;</span></code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>As with properties, actions can be associated with collections; this indicates that they should be rendered in the collection&#8217;s header.</p>
+</div>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_ugfun_object-layout_dynamic_xml-unreferenced">5.2.4. Unreferenced Members</h4>
+<div class="paragraph">
+<p>As noted in the preceding discussion, several of the grid&#8217;s regions have either an <code>unreferencedActions</code>, <code>unreferencedCollections</code> or <code>unreferencedProperties</code> attribute.</p>
+</div>
+<div class="paragraph">
+<p>The rules are:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><code>unreferencedActions</code> attribute can be specified either on a column or on a fieldset. <br></p>
+<div class="paragraph">
+<p>It would normally be typical to use the column holding the <code>&lt;domainObject/&gt;</code> icon/title, that is as shown in the example.  The unreferenced actions then appear as top-level actions for the domain object.</p>
+</div>
+</li>
+<li>
+<p><code>unreferencedCollections</code> attribute can be specified either on a column or on a tabgroup.<br></p>
+<div class="paragraph">
+<p>If specified on a column, then that column will contain each of the unreferenced collections, stacked one on top of the other.  If specified on a tab group, then a separate tab will be created for each collection, with that tab containing only that single collection.</p>
+</div>
+</li>
+<li>
+<p><code>unreferencedProperties</code> attribute can be specified only on a fieldset.</p>
+</li>
+</ul>
+</div>
+<div class="paragraph">
+<p>The purpose of these attributes is to indicate where in the layout any unreferenced members should be rendered.  Every grid <em>must</em> nominate one region for each of these three member types, the reason being that to ensure that the layout can be used even if it is incomplete with respect to the object members inferred from the Java source code.  This might be because the developer forgot to update the layout, or it might be because of a new mixin (property, collection or action) contributed to many objects.</p>
+</div>
+<div class="paragraph">
+<p>The framework ensures that in any given grid exactly one region is specified for each of the three <code>unreferenced&#8230;&#8203;</code> attributes.  If the grid fails this validation, then a warning message will be displayed, and the invalid XML logged.  The layout XML will then be ignored.</p>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_migrating_from_earlier_versions">5.2.5. Migrating from earlier versions</h4>
+<div class="paragraph">
+<p>As noted earlier on, it is possible to download layout XML files using the <a href="rgsvc.html#_rgsvc_api_LayoutService"><code>LayoutService</code></a> (exposed on the prototyping menu); this will download a ZIP file of layout XML files for all domain entities and view models.  Alternatively the layout XML for a single domain object can be downloaded using the <a href="rgcms.html#_rgcms_classes_mixins_Object">mixin action</a> (contributed to every domain object).</p>
+</div>
+<div class="paragraph">
+<p>There are four "styles":</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>current</p>
+</li>
+<li>
+<p>complete</p>
+</li>
+<li>
+<p>normalized</p>
+</li>
+<li>
+<p>minimal</p>
+</li>
+</ul>
+</div>
+<div class="paragraph">
+<p>Ignorig the "current" style (which merely downloads the currently cached layout), the other three styles allow the
+developer to choose how much metadata is to be specified in the XML, and how much (if any) will be obtained
+elsewhere, either from annotations in the metamodel or from an earlier <code>.layout.json</code> file if present.  The table
+below summarises the choices:</p>
+</div>
+<table class="tableblock frame-all grid-all spread">
+<caption class="title">Table 2. Table caption</caption>
+<colgroup>
+<col style="width: 25%;">
+<col style="width: 25%;">
+<col style="width: 25%;">
+<col style="width: 25%;">
+</colgroup>
+<thead>
+<tr>
+<th class="tableblock halign-left valign-bottom">Style</th>
+<th class="tableblock halign-center valign-bottom"><a href="rgant.html#_rgant_MemberGroupLayout"><code>@MemberGroupLayout</code></a></th>
+<th class="tableblock halign-center valign-bottom"><a href="rgant.html#_rgant_MemberOrder"><code>@MemberOrder</code></a></th>
+<th class="tableblock halign-center valign-bottom"><a href="rgant.html#_rgant_ActionLayout"><code>@ActionLayout</code></a>, <a href="rgant.html#_rgant_PropertyLayout"><code>@PropertyLayout</code></a>, <a href="rgant.html#_rgant_CollectionLayout"><code>@CollectionLayout</code></a></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="tableblock halign-left valign-bottom"><p class="tableblock"><code>COMPLETE</code></p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">serialized as XML</p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">serialized as XML</p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">serialized as XML</p></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-bottom"><p class="tableblock"><code>NORMALIZED</code></p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">serialized as XML</p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">serialized as XML</p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">not in the XML</p></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-bottom"><p class="tableblock"><code>MINIMAL</code></p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">serialized as XML</p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">not in the XML</p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">not in the XML</p></td>
+</tr>
+</tbody>
+</table>
+<div class="paragraph">
+<p>As a developer, you therefore have a choice as to how you provide the metadata required for customised layouts:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>if you want all layout metadata to be read from the <code>.layout.xml</code> file, then download the "complete" version, and copy the file alongside the domain class.  You can then remove all <code>@MemberGroupLayout</code>, <code>@MemberOrder</code>, <code>@ActionLayout</code>, <code>@PropertyLayout</code> and <code>@CollectionLayout</code> annotations from the source code of the domain class.</p>
+</li>
+<li>
+<p>if you want to use layout XML file to describe the grid (columns, tabs etc) and specify which object members are associated with those regions of the grid, then download the "normalized" version.  You can then remove the <code>@MemberGroupLayout</code> and <code>@MemberOrder</code> annotations from the source code of the domain class, but retain the <code>@ActionLayout</code>, <code>@PropertyLayout</code> and <code>@CollectionLayout</code> annotations.</p>
+</li>
+<li>
+<p>if you want to use layout XML file ONLY to describe the grid, then download the "minimal" version.  The grid regions will be empty in this version, and the framework will use the <code>@MemberOrder</code> annotation to bind object members to those regions.  The only annotation that can be safely removed from the source code with this style is the <code>@MemberGroupLayout</code> annotation.</p>
+</li>
+</ul>
+</div>
+<div class="paragraph">
+<p>Download either for a single domain object, or download all domain objects (entities and view models).</p>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_domain_services">5.2.6. Domain Services</h4>
+<div class="paragraph">
+<p>For more information about layouts, see:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><a href="rgsvc.html#_rgsvc_api_LayoutService"><code>LayoutService</code></a> (whose functionality is exposed on the prototyping menu as an action) and lso the a <a href="rgcms .html#_rgcms_classes_mixins_Object">mixin action</a></p>
+</li>
+<li>
+<p><a href="rgsvc.html#_rgsvc_spi_GridService"><code>GridService</code></a> and its supporting services, <a href="rgsvc.html#_rgsvc_spi_GridLoaderService"><code>GridLoaderService</code></a> and <a href="rgsvc.html#_rgsvc_spi_GridSystemService"><code>GridSystemService</code></a></p>
+</li>
+<li>
+<p><a href="rgcms.html#_rgcms_classes_layout">grid layout classes</a>, defined in the Apache Isis applib</p>
+</li>
+</ul>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_required_updates_to_the_dom_project_s_pom_xml">5.2.7. Required updates to the dom project&#8217;s pom.xml</h4>
+<div class="paragraph">
+<p>Any <code>.layout.xml</code> files must be compiled and available in the classpath.  Ensure the following is defined in the dom project&#8217;s <code>pom.xml</code>:</p>
+</div>
+<div class="listingblock xml">
+<div class="content">
+<pre class="CodeRay highlight"><code>&lt;resources&gt;
+    &lt;resource&gt;
+        &lt;filtering&gt;false&lt;/filtering&gt;
+        &lt;directory&gt;src/main/resources&lt;/directory&gt;
+    &lt;/resource&gt;
+    &lt;resource&gt;
+        &lt;filtering&gt;false&lt;/filtering&gt;
+        &lt;directory&gt;src/main/java&lt;/directory&gt;
+        &lt;includes&gt;
+            &lt;include&gt;**&lt;/include&gt;
+        &lt;/includes&gt;
+        &lt;excludes&gt;
+            &lt;exclude&gt;**/*.java&lt;/exclude&gt;
+        &lt;/excludes&gt;
+    &lt;/resource&gt;
+&lt;/resources&gt;</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>If using an Apache Isis <a href="#_ugfun_getting-started_simpleapp-archetype">SimpleApp archetype</a>, then the POM is already correctly configured.</p>
+</div>
+</div>
+</div>
+<div class="sect2">
+<h3 id="_ugfun_object-layout_dynamic">5.3. Dynamic (JSON) Layout</h3>
+<div class="paragraph">
+<p>Metadata providing UI hints can be specified either <a href="#_ugfun_object-layout_static">statically</a>, using annotations, or dynamically, using either a <a href="#_ugfun_object-layout_dynamic_xml"><code>layout.xml</code></a> file or (as described here) a <code>.layout.json</code> file.</p>
+</div>
+<div class="admonitionblock important">
+<table>
+<tr>
+<td class="icon">
+<i class="fa icon-important" title="Important"></i>
+</td>
+<td class="content">
+<div class="paragraph">
+<p>(As of <code>1.12.0-SNAPSHOT</code>), the use of dynamic layouts through the <code>.layout.json</code> is DEPRECATED.</p>
+</div>
+<div class="paragraph">
+<p>The <code>.layout.json</code> file will be ignored if a <code>.layout.xml</code> file is present.  It is possible to download initial <code>.layout.xml</code> files - which will capture all the metadata originally in the <code>.layout.json</code> file - using the <a href="rgsvc.html#_rgsvc_api_MetamodelService"><code>MetamodelService</code></a> (exposed on the prototyping menu).</p>
+</div>
 <div class="paragraph">
-<p>Metadata providing UI hints can be specified either statically, using annotations, or dynamically, using a <code>.layout.json</code> file.  This section describes the dynamic approach, using the file.</p>
+<p>The <code>.layout.xml</code> file also allows enables much more sophisticated custom layouts than those afforded by <code>.layout.json</code>, and the layout files are easier to write due to the presence of an XSD schema file which ensures that the file is syntactically correct.</p>
+</div>
+</td>
+</tr>
+</table>
 </div>
 <div class="sect3">
-<h4 id="_json_layout_file">5.2.1. JSON layout file</h4>
+<h4 id="_json_layout_file">5.3.1. JSON layout file</h4>
 <div class="paragraph">
-<p>The JSON layout file for class <code>Xxx</code> takes the name <code>Xxx.layout.json</code>, and resides in the same package as the class.
-The format of the file is:</p>
+<p>The JSON layout file for class <code>Xxx</code> takes the name <code>Xxx.layout.json</code>, and resides in the same package as the class.</p>
+</div>
+<div class="paragraph">
+<p>The format of the file is:</p>
 </div>
 <div class="listingblock">
 <div class="content">
@@ -5551,14 +5996,43 @@ ordered according either to annotations (if present) or fallback/default values.
 </div>
 </div>
 <div class="sect3">
-<h4 id="_downloading_an_initial_layout">5.2.2. Downloading an initial layout</h4>
+<h4 id="_downloading_an_initial_layout">5.3.2. Downloading an initial layout</h4>
 <div class="paragraph">
 <p>The fastest way to get started is to use the (non-ASF) <a href="http://github.com/isisaddons/isis-module-devutils">Isis addons' devutils</a> module to download the layout file (derived from any existing static metadata defined by annotations).</p>
 </div>
 </div>
+<div class="sect3">
+<h4 id="_required_updates_to_the_dom_project_s_pom_xml_2">5.3.3. Required updates to the dom project&#8217;s pom.xml</h4>
+<div class="paragraph">
+<p>Any <code>.layout.json</code> files must be compiled and available in the classpath.  Ensure the following is defined in the dom project&#8217;s <code>pom.xml</code>:</p>
+</div>
+<div class="listingblock xml">
+<div class="content">
+<pre class="CodeRay highlight"><code>&lt;resources&gt;
+    &lt;resource&gt;
+        &lt;filtering&gt;false&lt;/filtering&gt;
+        &lt;directory&gt;src/main/resources&lt;/directory&gt;
+    &lt;/resource&gt;
+    &lt;resource&gt;
+        &lt;filtering&gt;false&lt;/filtering&gt;
+        &lt;directory&gt;src/main/java&lt;/directory&gt;
+        &lt;includes&gt;
+            &lt;include&gt;**&lt;/include&gt;
+        &lt;/includes&gt;
+        &lt;excludes&gt;
+            &lt;exclude&gt;**/*.java&lt;/exclude&gt;
+        &lt;/excludes&gt;
+    &lt;/resource&gt;
+&lt;/resources&gt;</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>If using an Apache Isis <a href="#_ugfun_getting-started_simpleapp-archetype">SimpleApp archetype</a>, then the POM is already correctly configured.</p>
+</div>
+</div>
 </div>
 <div class="sect2">
-<h3 id="_ugfun_object-layout_application-menu">5.3. Application Menu Layout</h3>
+<h3 id="_ugfun_object-layout_application-menu">5.4. Application Menu Layout</h3>
 <div class="paragraph">
 <p>The actions of domain services are made available as an application menu bar. By default each domain service
 corresponds to a single menu on this menu bar, with its actions as the drop-down menu items. This is rarely exactly
@@ -5570,7 +6044,7 @@ placement of menu items.</p>
 application built using Apache Isis.</p>
 </div>
 <div class="sect3">
-<h4 id="__domainservicelayout">5.3.1. @DomainServiceLayout</h4>
+<h4 id="__domainservicelayout">5.4.1. @DomainServiceLayout</h4>
 <div class="paragraph">
 <p>Menus for domain services can be placed either on a primary, secondary or tertiary menu bar.</p>
 </div>
@@ -5666,7 +6140,7 @@ thereafter the purpose of the <code>menuOrder</code> is to order the menu servic
 </div>
 </div>
 <div class="sect3">
-<h4 id="_ordering_menu_actions">5.3.2. Ordering menu actions</h4>
+<h4 id="_ordering_menu_actions">5.4.2. Ordering menu actions</h4>
 <div class="paragraph">
 <p>For a given service, the actions within a section on a menu is determined by the <code>@MemberOrder</code> annotation. Thus, for
 the <code>Units</code> domain service, its actions are annotated:</p>
@@ -5699,7 +6173,7 @@ is not recommended).</p>
 </div>
 </div>
 <div class="sect3">
-<h4 id="_tertiary_menubar">5.3.3. Tertiary menubar</h4>
+<h4 id="_tertiary_menubar">5.4.3. Tertiary menubar</h4>
 <div class="paragraph">
 <p>The tertiary menu bar consists of a single unnamed menu, rendered underneath the user&#8217;s login, top right. This is
 intended primarily for actions pertaining to the user themselves, eg their account, profile or settings:</p>
@@ -5736,7 +6210,7 @@ viewer does <em>not</em> place dividers between actions from different services
 </div>
 </div>
 <div class="sect3">
-<h4 id="_isis_add_on_modules">5.3.4. Isis Add-on modules</h4>
+<h4 id="_isis_add_on_modules">5.4.4. Isis Add-on modules</h4>
 <div class="paragraph">
 <p>Some of the (non-ASF) <a href="http://isisaddons.org">Isis Addons</a> modules also provide services whose actions appear in top-level menus.</p>
 </div>
@@ -5771,7 +6245,7 @@ using security or using a <a href="ugbtb.html#_ugbtb_decoupling_vetoing-visibili
 </div>
 </div>
 <div class="sect2">
-<h3 id="_ugfun_object-layout_static-vs-dynamic">5.4. Static vs Dynamic Layouts</h3>
+<h3 id="_ugfun_object-layout_static-vs-dynamic">5.5. Static vs Dynamic Layouts</h3>
 <div class="paragraph">
 <p>Using <a href="#_ugfun_object-layout_dynamic">dynamic object layout</a>s using JSON has the huge benefit that the layout can be updated without requiring a recompile of the code and redeploy of the app.  Many developers also find it easier to rationalize about layout when all the hints are collated together in a single place (rather than scattered across the class members as annotations).</p>
 </div>
@@ -5785,7 +6259,7 @@ using security or using a <a href="ugbtb.html#_ugbtb_decoupling_vetoing-visibili
 <p>Also, dynamic layouts have no notion of inheritance, whereas the dewey-decimal format <code>@MemberOrder</code> annotation allows the metadata of the subclass its superclasses to fit together relatively seamlessly.</p>
 </div>
 <div class="sect3">
-<h4 id="_best_of_both_worlds">5.4.1. Best of both worlds?</h4>
+<h4 id="_best_of_both_worlds">5.5.1. Best of both worlds?</h4>
 <div class="paragraph">
 <p>Using the (non-ASF) <a href="http://github.com/isisaddons/isis-jrebel-plugin">Isis addons' jrebel</a> plugin comes close to getting the best of both words: metadata is specified in a type-safe way using annotations, but can be reloaded automatically.</p>
 </div>
@@ -6671,23 +7145,42 @@ example the <a href="ug.html#_ug_getting-started_simpleapp-archetype">SimpleApp
 <li><a href="#_other_annotations">5.1.4. Other Annotations</a></li>
 </ul>
 </li>
-<li><a href="#_ugfun_object-layout_dynamic">5.2. Dynamic Object Layout</a>
+<li><a href="#_ugfun_object-layout_dynamic_xml">5.2. Dynamic (XML) Layout (<code>1.12.0-SNAPSHOT</code>)</a>
+<ul class="sectlevel3">
+<li><a href="#_grids_vs_components">5.2.1. Grids vs Components</a></li>
+<li><a href="#_screencast">5.2.2. Screencast</a></li>
+<li><a href="#_examples">5.2.3. Examples</a>
+<ul class="sectlevel4">
+<li><a href="#_namespaces">Namespaces</a></li>
+<li><a href="#_rows_full_width_cols_and_tabs">Rows, full-width cols, and tabs</a></li>
+<li><a href="#_fieldsets">Fieldsets</a></li>
+<li><a href="#_collections_3">Collections</a></li>
+</ul>
+</li>
+<li><a href="#_ugfun_object-layout_dynamic_xml-unreferenced">5.2.4. Unreferenced Members</a></li>
+<li><a href="#_migrating_from_earlier_versions">5.2.5. Migrating from earlier versions</a></li>
+<li><a href="#_domain_services">5.2.6. Domain Services</a></li>
+<li><a href="#_required_updates_to_the_dom_project_s_pom_xml">5.2.7. Required updates to the dom project&#8217;s pom.xml</a></li>
+</ul>
+</li>
+<li><a href="#_ugfun_object-layout_dynamic">5.3. Dynamic (JSON) Layout</a>
 <ul class="sectlevel3">
-<li><a href="#_json_layout_file">5.2.1. JSON layout file</a></li>
-<li><a href="#_downloading_an_initial_layout">5.2.2. Downloading an initial layout</a></li>
+<li><a href="#_json_layout_file">5.3.1. JSON layout file</a></li>
+<li><a href="#_downloading_an_initial_layout">5.3.2. Downloading an initial layout</a></li>
+<li><a href="#_required_updates_to_the_dom_project_s_pom_xml_2">5.3.3. Required updates to the dom project&#8217;s pom.xml</a></li>
 </ul>
 </li>
-<li><a href="#_ugfun_object-layout_application-menu">5.3. Application Menu Layout</a>
+<li><a href="#_ugfun_object-layout_application-menu">5.4. Application Menu Layout</a>
 <ul class="sectlevel3">
-<li><a href="#__domainservicelayout">5.3.1. @DomainServiceLayout</a></li>
-<li><a href="#_ordering_menu_actions">5.3.2. Ordering menu actions</a></li>
-<li><a href="#_tertiary_menubar">5.3.3. Tertiary menubar</a></li>
-<li><a href="#_isis_add_on_modules">5.3.4. Isis Add-on modules</a></li>
+<li><a href="#__domainservicelayout">5.4.1. @DomainServiceLayout</a></li>
+<li><a href="#_ordering_menu_actions">5.4.2. Ordering menu actions</a></li>
+<li><a href="#_tertiary_menubar">5.4.3. Tertiary menubar</a></li>
+<li><a href="#_isis_add_on_modules">5.4.4. Isis Add-on modules</a></li>
 </ul>
 </li>
-<li><a href="#_ugfun_object-layout_static-vs-dynamic">5.4. Static vs Dynamic Layouts</a>
+<li><a href="#_ugfun_object-layout_static-vs-dynamic">5.5. Static vs Dynamic Layouts</a>
 <ul class="sectlevel3">
-<li><a href="#_best_of_both_worlds">5.4.1. Best of both worlds?</a></li>
+<li><a href="#_best_of_both_worlds">5.5.1. Best of both worlds?</a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/isis-site/blob/e106aba4/content/guides/ugvw.html
----------------------------------------------------------------------
diff --git a/content/guides/ugvw.html b/content/guides/ugvw.html
index 573c306..7e26fac 100644
--- a/content/guides/ugvw.html
+++ b/content/guides/ugvw.html
@@ -1341,8 +1341,7 @@ value type (character large object), each of which also includes metadata about
 <code>disableModalDialogs</code></p>
 </div></div></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock"><code>true</code>,<code>false</code> (<code><em>false</em></code>)</p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">By default the Apache Isis Wicket viewer uses a modal dialog for action parameters.  Before this feature was implemented (prior to 1.4.0), Apache Isis rendered action parameters on its own page.  This property re-enables the old behaviour.
-</p><p class="tableblock">Note that action pages are still used for bookmarked actions.</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">(<code>1.12.0-SNAPSHOT</code>), no longer supported.</p></td>
 </tr>
 <tr>
 <td class="tableblock halign-left valign-top"><div><div class="paragraph">
@@ -1753,119 +1752,23 @@ property:</p>
 <p>The wicket viewer has full support for the various methods of specifying the <a href="ugfun.html#_ugfun_object-layout">layout of objects</a>, either statically or dynamically.</p>
 </div>
 <div class="paragraph">
-<p>Dynamic reloading is automatically supported when running in <a href="rgcfg.html#_rgcfg_deployment-types">prototype (development) mode</a>, the Wicket viewer automatically rebuilds the metamodel for each class as it is rendered.    Conversely, do note that the Wicket viewer will <strong>not</strong> pick up new metadata if running in production/server mode.</p>
-</div>
-<div class="admonitionblock tip">
-<table>
-<tr>
-<td class="icon">
-<i class="fa icon-tip" title="Tip"></i>
-</td>
-<td class="content">
-<div class="paragraph">
-<p>To pick up a change, edit the <code>.layout.json</code> file in the IDE and rebuild.  Then click on the title of the object <em>*twice*</em>.</p>
-</div>
-<div class="paragraph">
-<p>The first click will cause Apache Isis to pick up the new metadata, but too late in the process to adjust the rendering.  The second click will re-render the object with the new metadata.</p>
-</div>
-</td>
-</tr>
-</table>
-</div>
-<div class="paragraph">
-<p>The screenshots below show some of the effects that can be accomplished, for the open source <a href="https://github.com/estatio/estatio">Estatio</a> app.</p>
-</div>
-<div class="paragraph">
-<p>First, an <code>Invoice</code>.  This places the properties in three equal-sized columns, with collections underneath:</p>
-</div>
-<div class="imageblock">
-<div class="content">
-<a class="image" href="images/wicket-viewer/layouts/estatio-Invoice.png"><img src="images/wicket-viewer/layouts/estatio-Invoice.png" alt="estatio Invoice" width="800px"></a>
-</div>
-</div>
-<div class="paragraph">
-<p>Next, <code>Lease</code>.  This places its properties in two columns (one wide, one narrow), with its collections shown in the right-most column:</p>
-</div>
-<div class="imageblock">
-<div class="content">
-<a class="image" href="images/wicket-viewer/layouts/estatio-Lease.png"><img src="images/wicket-viewer/layouts/estatio-Lease.png" alt="estatio Lease" width="800px"></a>
-</div>
-</div>
-<div class="paragraph">
-<p>Next, <code>LeaseItem</code>.  This is similar to <code>Lease</code>, with two columns for properties and the third column for collections:</p>
-</div>
-<div class="imageblock">
-<div class="content">
-<a class="image" href="images/wicket-viewer/layouts/estatio-LeaseItem.png"><img src="images/wicket-viewer/layouts/estatio-LeaseItem.png" alt="estatio LeaseItem" width="800px"></a>
-</div>
-</div>
-<div class="paragraph">
-<p>And finally, from the (non-ASF) <a href="http://github.com/isisaddons/isis-app-todoapp">Isis addons' todoapp</a>, its <code>ToDoItem</code>.  This puts its properties in two columns; the collections (not visible in the screenshot below) are underneath (like Estatio&#8217;s <code>Invoice</code>):</p>
-</div>
-<div class="imageblock">
-<div class="content">
-<a class="image" href="images/wicket-viewer/layouts/todoapp-ToDoItem.png"><img src="images/wicket-viewer/layouts/todoapp-ToDoItem.png" alt="todoapp ToDoItem" width="800px"></a>
-</div>
-</div>
-<div class="paragraph">
-<p>To learn more about how to configure these types of layout, see the <a href="ugfun.html#_ugfun_object-layout">object layout</a> chapter.</p>
-</div>
-<div class="sect2">
-<h3 id="_screencast">5.1. Screencast</h3>
-<div class="paragraph">
-<p>How to layout properties and collections dynamically, in the Wicket viewer.</p>
-</div>
-<div class="videoblock">
-<div class="content">
-<iframe width="530px" height="354px" src="//www.youtube.com/embed/zmrg49WeEPc?rel=0" frameborder="0" allowfullscreen></iframe>
-</div>
-</div>
-<div class="admonitionblock note">
-<table>
-<tr>
-<td class="icon">
-<i class="fa icon-note" title="Note"></i>
-</td>
-<td class="content">
-<div class="paragraph">
-<p>Note that this screencast shows an earlier version of the <a href="#">Wicket viewer</a> UI (specifically, pre 1.8.0).</p>
-</div>
-</td>
-</tr>
-</table>
-</div>
-</div>
-<div class="sect2">
-<h3 id="_required_updates_to_the_dom_project_s_pom_xml">5.2. Required updates to the dom project&#8217;s pom.xml</h3>
-<div class="paragraph">
-<p>If using the <code>.layout.json</code> files, these must be compiled and available in the classpath. When using an IDE such as Eclipse+M2E, any <code>.layout.json</code> files in <code>src/main/java</code> or <code>src/main/resources</code> will be part of the classpath automatically. However, unless the <code>pom.xml</code> is changed, these will not be part of the compiled WAR.</p>
-</div>
-<div class="paragraph">
-<p>Therefore, make sure the following is added to the dom project&#8217;s <code>pom.xml</code>:</p>
-</div>
-<div class="listingblock xml">
-<div class="content">
-<pre class="CodeRay highlight"><code>&lt;resources&gt;
-    &lt;resource&gt;
-        &lt;filtering&gt;false&lt;/filtering&gt;
-        &lt;directory&gt;src/main/resources&lt;/directory&gt;
-    &lt;/resource&gt;
-    &lt;resource&gt;
-        &lt;filtering&gt;false&lt;/filtering&gt;
-        &lt;directory&gt;src/main/java&lt;/directory&gt;
-        &lt;includes&gt;
-            &lt;include&gt;**&lt;/include&gt;
-        &lt;/includes&gt;
-        &lt;excludes&gt;
-            &lt;exclude&gt;**/*.java&lt;/exclude&gt;
-        &lt;/excludes&gt;
-    &lt;/resource&gt;
-&lt;/resources&gt;</code></pre>
-</div>
-</div>
-<div class="paragraph">
-<p>If using an Apache Isis <a href="ugfun.html#_ugfun_getting-started_simpleapp-archetype">SimpleApp archetype</a>, then the POM is already correctly configured.</p>
+<p>For more information, see:</p>
 </div>
+<div class="ulist">
+<ul>
+<li>
+<p>the <a href="ugfun.html#_ugfun_object-layout">user guide fundamentals</a> (layout chapter);</p>
+</li>
+<li>
+<p><a href="rgsvc.html#_rgsvc_api_LayoutService"><code>LayoutService</code></a> (whose functionality is exposed on the prototyping menu as an action) and lso the a <a href="rgcms .html#_rgcms_classes_mixins_Object">mixin action</a></p>
+</li>
+<li>
+<p><a href="rgsvc.html#_rgsvc_spi_GridService"><code>GridService</code></a> and its supporting services, <a href="rgsvc.html#_rgsvc_spi_GridLoaderService"><code>GridLoaderService</code></a> and <a href="rgsvc.html#_rgsvc_spi_GridSystemService"><code>GridSystemService</code></a></p>
+</li>
+<li>
+<p><a href="rgcms.html#_rgcms_classes_layout">grid layout classes</a>, defined in the Apache Isis applib</p>
+</li>
+</ul>
 </div>
 </div>
 </div>
@@ -3094,12 +2997,7 @@ TODO
 </li>
 </ul>
 </li>
-<li><a href="#_ugvw_layout">5. Layout</a>
-<ul class="sectlevel2">
-<li><a href="#_screencast">5.1. Screencast</a></li>
-<li><a href="#_required_updates_to_the_dom_project_s_pom_xml">5.2. Required updates to the dom project&#8217;s pom.xml</a></li>
-</ul>
-</li>
+<li><a href="#_ugvw_layout">5. Layout</a></li>
 <li><a href="#_ugvw_customisation">6. Customisation</a>
 <ul class="sectlevel2">
 <li><a href="#_ugvw_customisation_brand-logo">6.1. Brand logo</a>

http://git-wip-us.apache.org/repos/asf/isis-site/blob/e106aba4/content/migration-notes.html
----------------------------------------------------------------------
diff --git a/content/migration-notes.html b/content/migration-notes.html
index 9e121df..584165a 100644
--- a/content/migration-notes.html
+++ b/content/migration-notes.html
@@ -503,6 +503,26 @@ table.CodeRay td.code>pre{padding:0}
 
         <div id="doc-content">
           <div class="sect1">
+<h2 id="_migration-notes_1.11.0-to-1.12.0">From v1.11.0 to 1.12.0</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>Apache Isis 1.12.0-SNAPSHOT is still in development.</p>
+</div>
+<div class="sect2">
+<h3 id="__code_isis_viewer_wicket_disablemodaldialogs_code_removed"><code>isis.viewer.wicket.disableModalDialogs</code> removed</h3>
+<div class="paragraph">
+<p>The Apache Isis Wicket viewer uses a modal dialog for action parameters.  Before this feature was implemented (prior
+to 1.4.0), action parameters were rendered on their own page.  This property was provided to re-enable the old
+behaviour.</p>
+</div>
+<div class="paragraph">
+<p>The property has now been removed and this feature removed; actions parameters are always now always shown in a
+ modal dialog.</p>
+</div>
+</div>
+</div>
+</div>
+<div class="sect1">
 <h2 id="_migration-notes_1.10.0-to-1.11.0">From v1.10.0 to 1.11.0</h2>
 <div class="sectionbody">
 <div class="paragraph">
@@ -1982,6 +2002,11 @@ into the new <code>org.isisaddons.module.settings:isis-module-settings-dom</code
         <div id="toc" class="toc2">
             <div class="fallback-toc">
                 <ul class="sectlevel1">
+<li><a href="#_migration-notes_1.11.0-to-1.12.0">From v1.11.0 to 1.12.0</a>
+<ul class="sectlevel2">
+<li><a href="#__code_isis_viewer_wicket_disablemodaldialogs_code_removed"><code>isis.viewer.wicket.disableModalDialogs</code> removed</a></li>
+</ul>
+</li>
 <li><a href="#_migration-notes_1.10.0-to-1.11.0">From v1.10.0 to 1.11.0</a>
 <ul class="sectlevel2">
 <li><a href="#_swagger_ui">Swagger UI</a></li>

http://git-wip-us.apache.org/repos/asf/isis-site/blob/e106aba4/content/release-notes.html
----------------------------------------------------------------------
diff --git a/content/release-notes.html b/content/release-notes.html
index 80ea0bc..ee8aace 100644
--- a/content/release-notes.html
+++ b/content/release-notes.html
@@ -533,6 +533,17 @@ table.CodeRay td.code>pre{padding:0}
 <td class="tableblock halign-right valign-top"><p class="tableblock">Bugs</p></td>
 </tr>
 <tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#r1.12.0">1.12.0</a></p></td>
+<td class="tableblock halign-left valign-top"></td>
+<td class="tableblock halign-left valign-top"><div></div></td>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p><code>1.12.0-SNAPSHOT</code> is still in development</p>
+</div></div></td>
+<td class="tableblock halign-right valign-top"></td>
+<td class="tableblock halign-right valign-top"></td>
+<td class="tableblock halign-right valign-top"></td>
+</tr>
+<tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#r1.11.1">1.11.1</a></p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">17-jan-2016</p></td>
 <td class="tableblock halign-left valign-top"><div><div class="ulist">
@@ -973,6 +984,17 @@ table.CodeRay td.code>pre{padding:0}
 </div>
 </div>
 <div class="sect1">
+<h2 id="r1.12.0">1.12.0-SNAPSHOT</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>Apache Isis 1.12.0-SNAPSHOT is still in development.</p>
+</div>
+<div class="paragraph">
+<p>ISIS-993: layout XMLs.  Also mixins for Persistable_datanucleusId, Persistable_datanucleusVersionXxx.  Also possible to associate actions with fieldsets (previously called member groups or property groups) rather than simply properties <em>within</em> those fieldsets; such actions will be rendered on the panel.</p>
+</div>
+</div>
+</div>
+<div class="sect1">
 <h2 id="r1.11.1">1.11.1</h2>
 <div class="sectionbody">
 <div class="paragraph">
@@ -4762,6 +4784,7 @@ category of UI events (so that titles, icons and CSS classes can be provided by
             <div class="fallback-toc">
                 <ul class="sectlevel1">
 <li><a href="#_summary">Summary</a></li>
+<li><a href="#r1.12.0">1.12.0-SNAPSHOT</a></li>
 <li><a href="#r1.11.1">1.11.1</a>
 <ul class="sectlevel2">
 <li><a href="#_bug">Bug</a></li>

http://git-wip-us.apache.org/repos/asf/isis-site/blob/e106aba4/content/screencasts.html
----------------------------------------------------------------------
diff --git a/content/screencasts.html b/content/screencasts.html
index 0e9e335..7252a30 100644
--- a/content/screencasts.html
+++ b/content/screencasts.html
@@ -690,17 +690,17 @@ table.CodeRay td.code>pre{padding:0}
 <tbody>
 <tr>
 <td class="tableblock halign-left valign-top"><div><div class="paragraph">
-<p>Dynamic layouts in the Wicket viewer<br></p>
+<p>Dynamic (XML) layouts in the Wicket viewer (v1.12.0)<br></p>
 </div>
 <div class="paragraph">
 <p><em>How to layout properties and collections dynamically</em><br></p>
 </div>
 <div class="paragraph">
-<p>Learn more <a href="./user-guide/rg.html#_rg-object-layout">here</a></p>
+<p>Learn more <a href="./guides/ugfun.html#_ugfun_object-layout_dynamic_xml">here</a></p>
 </div></div></td>
 <td class="tableblock halign-left valign-top"><div><div class="videoblock">
 <div class="content">
-<iframe width="420px" height="236px" src="//www.youtube.com/embed/zmrg49WeEPc?rel=0" frameborder="0" allowfullscreen></iframe>
+<iframe width="420px" height="236px" src="//www.youtube.com/embed/MxewC5Pve5k?rel=0" frameborder="0" allowfullscreen></iframe>
 </div>
 </div></div></td>
 </tr>


[2/3] isis-site git commit: ISIS-993: layouts

Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/isis-site/blob/e106aba4/content/guides/rgsvc.html
----------------------------------------------------------------------
diff --git a/content/guides/rgsvc.html b/content/guides/rgsvc.html
index 22abd06..10d1baf 100644
--- a/content/guides/rgsvc.html
+++ b/content/guides/rgsvc.html
@@ -870,6 +870,22 @@ SpecificationProvider</code></a>.</p>
 <td class="tableblock halign-left valign-top"><div></div></td>
 </tr>
 <tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_rgsvc_api_LayoutService"><code>o.a.i.applib.</code><br>
+<code>services.layout</code><br>
+<code>LayoutService</code></a></p></td>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p>(<code>1.12.0-SNAPSHOT</code>) Provides the ability to download dynamic layout XML files, in various styles.</p>
+</div></div></td>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p><code>LayoutServiceDefault</code><br>
+<code>o.a.i.core</code><br>
+<code>isis-core-metamodel</code></p>
+</div></div></td>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p>Functionality surfaced in the UI through related mixin and menu.</p>
+</div></div></td>
+</tr>
+<tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_rgsvc_api_MementoService"><code>o.a.i.applib.</code><br>
 <code>services.memento</code><br>
 <code>MementoService</code></a></p></td>
@@ -1188,7 +1204,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 <p>When an action is invoked in this way, this service allows each object instance to "know where it is" in the collection; it acts a little like an iterator.  In particular, an object can determine if it is the last object to be called, and so can perform special processing, eg to return a summary calculated result.</p>
 </div>
 <div class="sect3">
-<h4 id="_api">2.2.1. API</h4>
+<h4 id="_api_implementation_2">2.2.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The API defined by the service is:</p>
 </div>
@@ -1322,7 +1338,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 implementation of this class depends on the configured <code>BackgroundCommandService</code> (in order to query for the persisted (background) <code>Command</code>s.</p>
 </div>
 <div class="sect3">
-<h4 id="_api_implementation_2">2.3.1. API &amp; Implementation</h4>
+<h4 id="_api_implementation_3">2.3.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>Returns a proxy around the object which is then used to obtain the signature of the action to be invoked in the background.</p>
 </div>
@@ -1685,7 +1701,7 @@ org.quartz.plugin.jobInitializer.failOnFileNotFound = true</code></pre>
 </table>
 </div>
 <div class="sect3">
-<h4 id="_api_implementation_3">2.4.1. API &amp; Implementation</h4>
+<h4 id="_api_implementation_4">2.4.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The API defined by <code>BookmarkService</code> is:</p>
 </div>
@@ -1800,7 +1816,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 <p>Therefore it&#8217;s common to provide a domain service whose responsibility is to provide the current time.  This service can be injected into any domain object (and can be mocked out for unit testing). Apache Isis provides such a facade through the <code>ClockService</code>.</p>
 </div>
 <div class="sect3">
-<h4 id="_api_implementation_4">2.5.1. API &amp; Implementation</h4>
+<h4 id="_api_implementation_5">2.5.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The API defined by <code>ClockService</code> is:</p>
 </div>
@@ -1970,7 +1986,7 @@ instead subclass from <code>o.a.i.applib.clock.Clock</code> singleton (as descri
 </div>
 </div>
 <div class="sect3">
-<h4 id="_api_implementation_5">2.6.2. API &amp; Implementation</h4>
+<h4 id="_api_implementation_6">2.6.2. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The <code>CommandContext</code> request-scoped service defines the following very simple API:</p>
 </div>
@@ -2229,7 +2245,7 @@ view model.</p>
 <p>A typical use case is to generate a clickable link for rendering in an email, PDF, tweet or other communication.</p>
 </div>
 <div class="sect3">
-<h4 id="_api_implementation_6">2.7.1. API &amp; Implementation</h4>
+<h4 id="_api_implementation_7">2.7.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The API defined by <code>DeepLinkService</code> is:</p>
 </div>
@@ -2949,7 +2965,7 @@ implementation of <code>DomainObjectContainer</code> service is automatically re
 <p>Apache Isis provides a default implementation to send emails using an external SMTP provider.  Note that this must be configured (using a number of configuration properties) before it can be used.  The that sends email as an HTML message, using an external SMTP provider.</p>
 </div>
 <div class="sect3">
-<h4 id="_api_implementation_7">2.9.1. API &amp; Implementation</h4>
+<h4 id="_api_implementation_8">2.9.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The API for the service is:</p>
 </div>
@@ -3632,7 +3648,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </table>
 </div>
 <div class="sect3">
-<h4 id="_api_implementation_8">2.11.1. API &amp; Implementation</h4>
+<h4 id="_api_implementation_9">2.11.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The API for the service is:</p>
 </div>
@@ -3693,7 +3709,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </table>
 </div>
 <div class="sect3">
-<h4 id="_api_implementation_9">2.12.1. API &amp; Implementation</h4>
+<h4 id="_api_implementation_10">2.12.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The API defined by this service is:</p>
 </div>
@@ -3785,7 +3801,7 @@ action annotated with <a href="rgant.html#_rgant_HomePage"><code>@HomePage</code
 of that service (and may be useful for other use cases).</p>
 </div>
 <div class="sect3">
-<h4 id="_api_implementation_10">2.13.1. API &amp; Implementation</h4>
+<h4 id="_api_implementation_11">2.13.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The API defined by <code>HomePageProviderService</code> is:</p>
 </div>
@@ -4202,7 +4218,7 @@ a persistent entity).  The enum indicates whether these schemas should be includ
 <p>This service is provided as a convenience for applications, but is also used internally by the framework to
 <a href="rgant.html#_rgant-XmlRootElement"><code>@XmlRootElement</code></a>-annotated
 <a href="ugbtb.html#_ugbtb_view-models">view models</a>.  The functionality to download XML and XSD schemas is also
-exposed in the UI through mixins to <a href="rgcms.html#_rgcms_classes_roles_Dto"><code>Dto</code></a> interface.</p>
+exposed in the UI through mixins to <a href="rgcms.html#_rgcms_classes_mixins_Dto"><code>Dto</code></a> interface.</p>
 </div>
 </div>
 <div class="sect3">
@@ -4221,7 +4237,142 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_api_MementoService">2.16. <code>MementoService</code></h3>
+<h3 id="_rgsvc_api_LayoutService">2.16. <code>LayoutService</code> (<code>1.12.0-SNAPSHOT</code>)</h3>
+<div class="paragraph">
+<p>The <code>LayoutService</code> provides the ability to obtain the XML layout for a single domain object or for all domain
+objects.  This functionality is surfaced through the user interface through a related <a href="#_rgsvc_api_LayoutService_related-mixins-and-menus">mixin and menu action</a>.</p>
+</div>
+<div class="sect3">
+<h4 id="_rgsvc_api_LayoutService_api-and-implementation">2.16.1. API &amp; Implementation</h4>
+<div class="paragraph">
+<p>The API defined by <code>LayoutService</code> is:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="type">interface</span> <span class="class">LayoutService</span> {
+    <span class="predefined-type">String</span> toXml(<span class="predefined-type">Class</span>&lt;?&gt; domainClass, <span class="predefined-type">Style</span> style);        <i class="conum" data-value="1"></i><b>(1)</b>
+    <span class="type">byte</span><span class="type">[]</span> toZip(<span class="predefined-type">Style</span> style);                              <i class="conum" data-value="2"></i><b>(2)</b>
+}</code></pre>
+</div>
+</div>
+<div class="colist arabic">
+<table>
+<tr>
+<td><i class="conum" data-value="1"></i><b>1</b></td>
+<td>Returns the serialized XML form of the layout (grid) for the specified domain class, in specified style (discussed below).</td>
+</tr>
+<tr>
+<td><i class="conum" data-value="2"></i><b>2</b></td>
+<td>Returns (a byte array) of a zip of the serialized XML of the layouts (grids), for all domain entities and view models.</td>
+</tr>
+</table>
+</div>
+<div class="paragraph">
+<p>The <code>Style</code> enum is defined as:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="java"><span class="type">enum</span> <span class="predefined-type">Style</span> {
+    CURRENT,
+    COMPLETE,
+    NORMALIZED,
+    MINIMAL
+}</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>The <code>CURRENT</code> style corresponds to the layout already loaded for the domain class, typically from an already persisted
+<code>layout.xml</code> file.  The other three styles allow the developer to choose how much metadata is to be specified in the
+XML, and how much (if any) will be obtained elsewhere, typically from annotations in the metamodel (but also from
+<code>.layout.json</code> file if present).  The table below summarises the choices:</p>
+</div>
+<table class="tableblock frame-all grid-all spread">
+<caption class="title">Table 3. Table caption</caption>
+<colgroup>
+<col style="width: 25%;">
+<col style="width: 25%;">
+<col style="width: 25%;">
+<col style="width: 25%;">
+</colgroup>
+<thead>
+<tr>
+<th class="tableblock halign-left valign-bottom">Style</th>
+<th class="tableblock halign-center valign-bottom"><a href="rgant.html#_rgant_MemberGroupLayout"><code>@MemberGroupLayout</code></a></th>
+<th class="tableblock halign-center valign-bottom"><a href="rgant.html#_rgant_MemberOrder"><code>@MemberOrder</code></a></th>
+<th class="tableblock halign-center valign-bottom"><a href="rgant.html#_rgant_ActionLayout"><code>@ActionLayout</code></a>, <a href="rgant.html#_rgant_PropertyLayout"><code>@PropertyLayout</code></a>, <a href="rgant.html#_rgant_CollectionLayout"><code>@CollectionLayout</code></a></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="tableblock halign-left valign-bottom"><p class="tableblock"><code>COMPLETE</code></p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">serialized as XML</p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">serialized as XML</p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">serialized as XML</p></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-bottom"><p class="tableblock"><code>NORMALIZED</code></p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">serialized as XML</p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">serialized as XML</p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">not in the XML</p></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-bottom"><p class="tableblock"><code>MINIMAL</code></p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">serialized as XML</p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">not in the XML</p></td>
+<td class="tableblock halign-center valign-bottom"><p class="tableblock">not in the XML</p></td>
+</tr>
+</tbody>
+</table>
+<div class="paragraph">
+<p>As a developer, you therefore have a choice as to how you provide the metadata required for customised layouts:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>if you want all layout metadata to be read from the <code>.layout.xml</code> file, then download the "complete" version, and copy the file alongside the domain class.  You can then remove all <code>@MemberGroupLayout</code>, <code>@MemberOrder</code>, <code>@ActionLayout</code>, <code>@PropertyLayout</code> and <code>@CollectionLayout</code> annotations from the source code of the domain class.</p>
+</li>
+<li>
+<p>if you want to use layout XML file to describe the grid (columns, tabs etc) and specify which object members are associated with those regions of the grid, then download the "normalized" version.  You can then remove the <code>@MemberGroupLayout</code> and <code>@MemberOrder</code> annotations from the source code of the domain class, but retain the <code>@ActionLayout</code>, <code>@PropertyLayout</code> and <code>@CollectionLayout</code> annotations.</p>
+</li>
+<li>
+<p>if you want to use layout XML file ONLY to describe the grid, then download the "minimal" version.  The grid regions will be empty in this version, and the framework will use the <code>@MemberOrder</code> annotation to bind object members to those regions.  The only annotation that can be safely removed from the source code with this style is the <code>@MemberGroupLayout</code> annotation.</p>
+</li>
+</ul>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_rgsvc_api_LayoutService_related-mixins-and-menus">2.16.2. Related Mixins and Menus</h4>
+<div class="paragraph">
+<p>The service&#8217;s functionality is exposed in the UI through a mixin (per object) and a menu action (for all objects):</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>the <a href="rgant.html#_rgcms_classes_mixins_Object"><code>Object</code> mixin</a> provides the ability to download the XML layout for
+any domain object (entity or view model).</p>
+</li>
+<li>
+<p>the <code>LayoutServiceMenu</code> provides the ability to download all XML layouts as a single ZIP file (in any of the
+three styles).</p>
+</li>
+</ul>
+</div>
+<div class="paragraph">
+<p>The XML can then be copied into the codebase of the application, and annotations in the domain classes removed as
+desired.</p>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_rgsvc_api_LayoutService_related-domain-services">2.16.3. Related Domain Services</h4>
+<div class="paragraph">
+<p>The <a href="#_rgsvc_spi_GridService"><code>GridService</code></a> is responsible for loading and normalizing layout XML for
+a domain class.  It in turn uses the <a href="#_rgsvc_spi_GridLoaderService"><code>GridLoaderService</code></a> and  <a href="#_rgsvc_spi_GridSystemService"><code>GridSystemService</code></a>
+services.</p>
+</div>
+</div>
+</div>
+<div class="sect2">
+<h3 id="_rgsvc_api_MementoService">2.17. <code>MementoService</code></h3>
 <div class="paragraph">
 <p>The <code>MementoService</code> was originally introduced to simplify the implementation of <a href="ugbtb.html#_ugbtb_view-models">ViewModel</a>s which are required by the framework to return string representation of all of their backing state, moreover which is safe for use within a URL.</p>
 </div>
@@ -4229,7 +4380,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 <p>However, it can also be used to create a memento of arbitrary objects. Indeed, it is used internally by the core implementation of <a href="#_rgsvc_api_BackgroundService"><code>BackgroundService</code></a> to capture the state of action invocations so that they can be executed by a background process.</p>
 </div>
 <div class="sect3">
-<h4 id="_api_implementation_11">2.16.1. API &amp; Implementation</h4>
+<h4 id="_api_implementation_12">2.17.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The API defined by <code>MementoService</code> is:</p>
 </div>
@@ -4328,7 +4479,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_usage_6">2.16.2. Usage</h4>
+<h4 id="_usage_6">2.17.2. Usage</h4>
 <div class="paragraph">
 <p>As noted in the introduction, a common use case for this service is in the implementation of the <a href="rgcms.html#_rgcms_classes_super_AbstractViewModel"><code>ViewModel</code></a> interface.</p>
 </div>
@@ -4390,13 +4541,13 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_related_services_6">2.16.3. Related Services</h4>
+<h4 id="_related_services_6">2.17.3. Related Services</h4>
 <div class="paragraph">
 <p>The memento service is used by the <a href="#_rgsvc_api_CommandContext"><code>CommandContext</code></a> service and also <a href="#_rgsvc_spi_BackgroundCommandService"><code>BackgroundCommandService</code></a>. These both use a memento to capture a representation of an action invocation.</p>
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_service_8">2.16.4. Registering the Service</h4>
+<h4 id="_registering_the_service_8">2.17.4. Registering the Service</h4>
 <div class="paragraph">
 <p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
 <code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>) then Apache Isis' core
@@ -4411,7 +4562,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_api_MetamodelService">2.17. <code>MetamodelService</code></h3>
+<h3 id="_rgsvc_api_MetamodelService">2.18. <code>MetamodelService</code></h3>
 <div class="paragraph">
 <p>The <code>MetaModelService</code> provides access (albeit currently extremely limited) to aspects of Apache Isis' internal metamodel.</p>
 </div>
@@ -4419,7 +4570,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 <p>Currently this is limited to looking up the object type (as specified in <a href="rgant.html#_rgant-DomainObject_objectType"><code>@DomainObject#objectType()</code></a> and equivalent mechanisms, and as used in  <a href="#_rgsvc_api_BookmarkService"><code>Bookmark</code></a>s and elsewhere) from an object&#8217;s class, and vice versa.  In the future we expect other aspects of the metamodel to also be formally surfaced through this API.</p>
 </div>
 <div class="sect3">
-<h4 id="_api_implementation_12">2.17.1. API &amp; Implementation</h4>
+<h4 id="_api_implementation_13">2.18.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The API defined by the service is:</p>
 </div>
@@ -4447,7 +4598,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_service_9">2.17.2. Registering the Service</h4>
+<h4 id="_registering_the_service_9">2.18.2. Registering the Service</h4>
 <div class="paragraph">
 <p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
 <code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>) then Apache Isis' core
@@ -4462,7 +4613,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_api_QueryResultsCache">2.18. <code>QueryResultsCache</code></h3>
+<h3 id="_rgsvc_api_QueryResultsCache">2.19. <code>QueryResultsCache</code></h3>
 <div class="paragraph">
 <p>The purpose of the <code>QueryResultsCache</code> is to improve response times to the user, by providing a short-term (<a href="../../more-advanced-topics/how-to-09-020-How-to-write-a-typical-domain-service.html">request-scoped</a>) cache of the value of some (safe or idempotent) method call. This will typically be as the result of running a query, but could be any expensive operation.</p>
 </div>
@@ -4484,7 +4635,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </table>
 </div>
 <div class="sect3">
-<h4 id="_api_implementation_13">2.18.1. API &amp; Implementation</h4>
+<h4 id="_api_implementation_14">2.19.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The API defined by <code>QueryResultsCache</code> is:</p>
 </div>
@@ -4526,7 +4677,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_usage_7">2.18.2. Usage</h4>
+<h4 id="_usage_7">2.19.2. Usage</h4>
 <div class="paragraph">
 <p>Suppose that there&#8217;s a <code>TaxService</code> that calculates tax on <code>Taxable</code> items, with respect to some <code>TaxType</code>, and for a given <code>LocalDate</code>. To calculate tax it must run a database query and then perform some additional calculations.</p>
 </div>
@@ -4587,7 +4738,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_service_10">2.18.3. Registering the Service</h4>
+<h4 id="_registering_the_service_10">2.19.3. Registering the Service</h4>
 <div class="paragraph">
 <p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
 <code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>) then Apache Isis' core
@@ -4601,19 +4752,19 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_related_services_7">2.18.4. Related Services</h4>
+<h4 id="_related_services_7">2.19.4. Related Services</h4>
 <div class="paragraph">
 <p>The <a href="#_rgsvc_api_Scratchpad"><code>Scratchpad</code></a> service is also intended for actions that are called many times, allowing arbitrary information to be shared between them. Those methods could be called from some outer loop in domain code, or by the framework itself if the action invoked has the <a href="rgant.html#_rgant-Action_invokeOn"><code>@Action#invokeOn()</code></a> annotation attribute set to <code>OBJECT_AND_COLLECTION</code> or <code>COLLECTION_ONLY</code>.</p>
 </div>
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_api_Scratchpad">2.19. <code>Scratchpad</code></h3>
+<h3 id="_rgsvc_api_Scratchpad">2.20. <code>Scratchpad</code></h3>
 <div class="paragraph">
 <p>The <code>Scratchpad</code> service is a <a href="../../more-advanced-topics/how-to-09-020-How-to-write-a-typical-domain-service.html">request-scoped</a> service to allow objects to exchange information even if they do not directly call each other.</p>
 </div>
 <div class="sect3">
-<h4 id="_api_implementation_14">2.19.1. API &amp; Implementation</h4>
+<h4 id="_api_implementation_15">2.20.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The API of <code>Scratchpad</code> service is:</p>
 </div>
@@ -4635,7 +4786,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_usage_8">2.19.2. Usage</h4>
+<h4 id="_usage_8">2.20.2. Usage</h4>
 <div class="paragraph">
 <p>The most common use-case is for <a href="rgant.html#_rgant-Action_invokeOn">bulk</a> actions that act upon multiple objects in a list.  The (same) <code>Scratchpad</code> service is injected into each of these objects, and so they can use pass information.</p>
 </div>
@@ -4725,7 +4876,7 @@ Scratchpad scratchpad;</code></pre>
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_service_11">2.19.3. Registering the Service</h4>
+<h4 id="_registering_the_service_11">2.20.3. Registering the Service</h4>
 <div class="paragraph">
 <p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
 <code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>) then Apache Isis' core
@@ -4739,7 +4890,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_related_services_8">2.19.4. Related Services</h4>
+<h4 id="_related_services_8">2.20.4. Related Services</h4>
 <div class="paragraph">
 <p>The <a href="#_rgsvc_api_ActionInteractionContext"><code>ActionInteractionContext</code></a> service allows <a href="rgant.html#_rgant-Action_invokeOn">bulk actions</a> to co-ordinate with each other.</p>
 </div>
@@ -4749,13 +4900,13 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_api_SudoService">2.20. <code>SudoService</code></h3>
+<h3 id="_rgsvc_api_SudoService">2.21. <code>SudoService</code></h3>
 <div class="paragraph">
 <p>The <code>SudoService</code> allows the current user reported by the <code>DomainObjectContainer</code> to be temporarily changed to some
 other user. This is useful both for <a href="ugtst.html#_ugtst_integ-test-support">integration testing</a> (eg if testing a workflow system whereby objects are moved from one user to another) and while running <a href="ugtst.html#_ugtst_fixture-scripts">fixture scripts</a> (eg setting up objects that would normally require several users to have acted upon the objects).</p>
 </div>
 <div class="sect3">
-<h4 id="_api_implementation_15">2.20.1. API &amp; Implementation</h4>
+<h4 id="_api_implementation_16">2.21.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The API provided by the service is:</p>
 </div>
@@ -4782,7 +4933,7 @@ other user. This is useful both for <a href="ugtst.html#_ugtst_integ-test-suppor
 </div>
 </div>
 <div class="sect3">
-<h4 id="_usage_9">2.20.2. Usage</h4>
+<h4 id="_usage_9">2.21.2. Usage</h4>
 <div class="paragraph">
 <p>A good example can be found in the (non-ASF) <a href="http://github.com/isisaddons/isis-app-todoapp">Isis addons' todoapp</a> which uses the <code>SudoService</code> in a fixture script to set up <code>ToDoItem</code> objects:</p>
 </div>
@@ -4803,7 +4954,7 @@ other user. This is useful both for <a href="ugtst.html#_ugtst_integ-test-suppor
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_service_12">2.20.3. Registering the Service</h4>
+<h4 id="_registering_the_service_12">2.21.3. Registering the Service</h4>
 <div class="paragraph">
 <p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
 <code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>) then Apache Isis' core
@@ -4818,7 +4969,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_api_SwaggerService">2.21. <code>SwaggerService</code></h3>
+<h3 id="_rgsvc_api_SwaggerService">2.22. <code>SwaggerService</code></h3>
 <div class="paragraph">
 <p>The <code>SwaggerService</code> generates <a href="http://swagger.io/">Swagger</a> spec files to describe the public and/or private RESTful APIs exposed by the <a href="ugvro.html">RestfulObjects viewer</a>.</p>
 </div>
@@ -4840,7 +4991,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </table>
 </div>
 <div class="sect3">
-<h4 id="_rgsvc_api_SwaggerService_api-and-implementation">2.21.1. API &amp; Implementation</h4>
+<h4 id="_rgsvc_api_SwaggerService_api-and-implementation">2.22.1. API &amp; Implementation</h4>
 <div class="paragraph">
 <p>The API defined by <code>SwaggerService</code> is:</p>
 </div>
@@ -4886,13 +5037,13 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_usage_within_the_framework_3">2.21.2. Usage within the framework</h4>
+<h4 id="_usage_within_the_framework_3">2.22.2. Usage within the framework</h4>
 <div class="paragraph">
 <p>This service is provided as a convenience for applications, it is not (currently) used by the framework itself.</p>
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_service_13">2.21.3. Registering the Service</h4>
+<h4 id="_registering_the_service_13">2.22.3. Registering the Service</h4>
 <div class="paragraph">
 <p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
 <code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>) then Apache Isis' core
@@ -4900,7 +5051,7 @@ implementation of <code>SwaggerService</code> service is automatically registere
 </div>
 </div>
 <div class="sect3">
-<h4 id="_related_services_9">2.21.4. Related Services</h4>
+<h4 id="_related_services_9">2.22.4. Related Services</h4>
 <div class="paragraph">
 <p>A <code>SwaggerServiceMenu</code> domain service provides a prototype action that enables the swagger spec to be downloaded from the Wicket viewer&#8217;s UI.</p>
 </div>
@@ -4910,7 +5061,7 @@ implementation of <code>SwaggerService</code> service is automatically registere
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_api_WrapperFactory">2.22. <code>WrapperFactory</code></h3>
+<h3 id="_rgsvc_api_WrapperFactory">2.23. <code>WrapperFactory</code></h3>
 <div class="paragraph">
 <p>The <code>WrapperFactory</code> provides the ability to enforce business rules for programmatic interactions between domain objects.  If there is a (lack-of-) trust boundary between the caller and callee&#8201;&#8212;&#8201;eg if they reside in different modules&#8201;&#8212;&#8201;then the wrapper factory is a useful mechanism to ensure that any business constraints defined by te callee are honoured.</p>
 </div>
@@ -4938,7 +5089,7 @@ implementation of <code>SwaggerService</code> service is automatically registere
 <p>This capability is frequently used within <a href="ugtst.html#_ugtst_integ-test-support">integration tests</a>, but can also be used in production code. (There are analogies that can be drawn here with the way that JEE beans can interact through an EJB local interface).</p>
 </div>
 <div class="sect3">
-<h4 id="_api_2">2.22.1. API</h4>
+<h4 id="_api">2.23.1. API</h4>
 <div class="paragraph">
 <p>The API provided by the service is:</p>
 </div>
@@ -5047,7 +5198,7 @@ implementation of <code>SwaggerService</code> service is automatically registere
 </div>
 </div>
 <div class="sect3">
-<h4 id="_usage_10">2.22.2. Usage</h4>
+<h4 id="_usage_10">2.23.2. Usage</h4>
 <div class="paragraph">
 <p>The caller will typically obtain the target object (eg from some repository) and then use the injected <code>WrapperFactory</code> to wrap it before interacting with it.</p>
 </div>
@@ -5106,7 +5257,7 @@ implementation of <code>SwaggerService</code> service is automatically registere
 </div>
 </div>
 <div class="sect3">
-<h4 id="_listener_api">2.22.3. Listener API</h4>
+<h4 id="_listener_api">2.23.3. Listener API</h4>
 <div class="paragraph">
 <p>The <code>WrapperFactory</code> also provides a listener API to allow other services to listen in on interactions.</p>
 </div>
@@ -5150,7 +5301,7 @@ implementation of <code>SwaggerService</code> service is automatically registere
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_service_14">2.22.4. Registering the Service</h4>
+<h4 id="_registering_the_service_14">2.23.4. Registering the Service</h4>
 <div class="paragraph">
 <p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
 <code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>) then Apache Isis' core
@@ -5165,7 +5316,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_api_XmlSnapshotService">2.23. <code>XmlSnapshotService</code></h3>
+<h3 id="_rgsvc_api_XmlSnapshotService">2.24. <code>XmlSnapshotService</code></h3>
 <div class="paragraph">
 <p>The <code>XmlSnapshotService</code> provides the capability to generate XML snapshots (and if required corresponding XSD schemas) based on graphs of domain objects.</p>
 </div>
@@ -5182,7 +5333,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 <p>The core framework provides an implementation of this service (<code>o.a.i.core.runtime.services.xmlsnapshot.XmlSnapshotServiceDefault</code>).</p>
 </div>
 <div class="sect3">
-<h4 id="_standard_api">2.23.1. Standard API</h4>
+<h4 id="_standard_api">2.24.1. Standard API</h4>
 <div class="paragraph">
 <p>The (basic) API of <code>XmlSnapshotService</code> is:</p>
 </div>
@@ -5228,7 +5379,7 @@ Element customerXsd = snapshot.getXsdElement();</code></pre>
 </div>
 </div>
 <div class="sect3">
-<h4 id="_builder_api">2.23.2. Builder API</h4>
+<h4 id="_builder_api">2.24.2. Builder API</h4>
 <div class="paragraph">
 <p>The contents of the snapshot can be adjusted by including "paths" to other references or collections. To do this, the
 builder is used.  The API for this is:</p>
@@ -5312,7 +5463,7 @@ product of every order:</p>
 </div>
 </div>
 <div class="sect3">
-<h4 id="_automatic_inclusions">2.23.3. Automatic inclusions</h4>
+<h4 id="_automatic_inclusions">2.24.3. Automatic inclusions</h4>
 <div class="paragraph">
 <p>If the domain object being snapshotted implements the <code>SnapshottableWithInclusions</code> interace, then this moves the
 responsibility for determining what is included within the snapshot from the caller to the snapshottable object itself:</p>
@@ -5346,7 +5497,7 @@ responsibility for determining what is included within the snapshot from the cal
 </div>
 </div>
 <div class="sect3">
-<h4 id="_convenience_api">2.23.4. Convenience API</h4>
+<h4 id="_convenience_api">2.24.4. Convenience API</h4>
 <div class="paragraph">
 <p>The <code>XmlSnapshotService</code> also provides some API for simply manipulating XML:</p>
 </div>
@@ -5389,7 +5540,7 @@ responsibility for determining what is included within the snapshot from the cal
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_service_15">2.23.5. Registering the Service</h4>
+<h4 id="_registering_the_service_15">2.24.5. Registering the Service</h4>
 <div class="paragraph">
 <p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
 <code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>) then Apache Isis' core
@@ -5403,7 +5554,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_related_services_10">2.23.6. Related Services</h4>
+<h4 id="_related_services_10">2.24.6. Related Services</h4>
 <div class="paragraph">
 <p>The <a href="#_rgsvc_api_BookmarkService"><code>BookmarkService</code></a> provides a mechanism for obtaining a string representations of a single domain object.</p>
 </div>
@@ -5438,7 +5589,7 @@ standard JAXB functionality for generating both XMLs and XSDs from JAXB-annotate
 <p>The table below lists the SPIs that are defined in the Isis applib (<code>o.a.i.core:isis-core-applib</code> module).</p>
 </div>
 <table class="tableblock frame-all grid-all spread">
-<caption class="title">Table 3. Applib SPI Services</caption>
+<caption class="title">Table 4. Applib SPI Services</caption>
 <colgroup>
 <col style="width: 25%;">
 <col style="width: 50%;">
@@ -5570,6 +5721,56 @@ a configured <code>EmailService</code></p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Extensible using composite pattern if required</p></td>
 </tr>
 <tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_rgsvc_spi_FixtureScriptsSpecificationProvider"><code>o.a.i.applib.</code><br>
+<code>services.fixturespec</code><br>
+<code>FixtureScripts-</code><br>
+<code>SpecificationProvider</code></a></p></td>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p>Provides settings for <a href="#_rgsvc_api_FixtureScriptsDefault"><code>FixtureScriptsDefault</code></a> fallback domain service for executing fixture scripts.</p>
+</div></div></td>
+<td class="tableblock halign-left valign-top"></td>
+<td class="tableblock halign-left valign-top"></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_rgsvc_spi_GridSystemService"><code>o.a.i.applib.</code><br>
+<code>services.grid</code><br>
+<code>GridSystemService</code></a></p></td>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p>(<code>1.12.0-SNAPSHOT</code>) Validates and normalizes the grid layout for a domain class (with respect to a particular grid
+system such as Bootstrap3), also providing a default grid (for those domain classes where there is no grid layout).</p>
+</div></div></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><code>GridSystemServiceBS3</code><br>
+<code>o.a.i.core</code><br>
+<code>isis-core-metamodel</code></p></td>
+<td class="tableblock halign-left valign-top"></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_rgsvc_spi_GridLoaderService"><code>o.a.i.applib.</code><br>
+<code>services.grid</code><br>
+<code>GridLoaderService</code></a></p></td>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p>(<code>1.12.0-SNAPSHOT</code>) Responsible for loading a grid layout for a domain class, eg from a <code>layout.xml</code> file.</p>
+</div></div></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><code>GridLoaderServiceDefault</code><br>
+<code>o.a.i.core</code><br>
+<code>isis-core-metamodel</code></p></td>
+<td class="tableblock halign-left valign-top"></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_rgsvc_spi_GridService"><code>o.a.i.applib.</code><br>
+<code>services.grid</code><br>
+<code>GridService</code></a></p></td>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p>(<code>1.12.0-SNAPSHOT</code>) A facade on top of both <a href="#_rgsvc_spi_GridLoaderService"><code>GridLoaderService</code></a> and
+<a href="#_rgsvc_spi_GridSystemService"><code>GridSystemService</code></a>, thus being able to return normalized
+grids for any domain class.</p>
+</div></div></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><code>GridServiceDefault</code><br>
+<code>o.a.i.core</code><br>
+<code>isis-core-metamodel</code></p></td>
+<td class="tableblock halign-left valign-top"></td>
+</tr>
+<tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_rgsvc_spi_LocaleProvider"><code>o.a.i.applib.</code><br>
 <code>services.i18n</code><br>
 <code>LocaleProvider</code></a></p></td>
@@ -5582,17 +5783,6 @@ a configured <code>EmailService</code></p></td>
 <td class="tableblock halign-left valign-top"></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_rgsvc_spi_FixtureScriptsSpecificationProvider"><code>o.a.i.applib.</code><br>
-<code>services.fixturespec</code><br>
-<code>FixtureScripts-</code><br>
-<code>SpecificationProvider</code></a></p></td>
-<td class="tableblock halign-left valign-top"><div><div class="paragraph">
-<p>Provides settings for <a href="#_rgsvc_api_FixtureScriptsDefault"><code>FixtureScriptsDefault</code></a> fallback domain service for executing fixture scripts.</p>
-</div></div></td>
-<td class="tableblock halign-left valign-top"></td>
-<td class="tableblock halign-left valign-top"></td>
-</tr>
-<tr>
 <td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_rgsvc_spi_PublishingService"><code>o.a.i.applib.</code><br>
 <code>services.publish</code><br>
 <code>PublishingService</code></a></p></td>
@@ -5722,7 +5912,7 @@ a configured <code>EmailService</code></p></td>
 </table>
 </div>
 <table class="tableblock frame-all grid-all spread">
-<caption class="title">Table 4. "Internal" SPI Services</caption>
+<caption class="title">Table 5. "Internal" SPI Services</caption>
 <colgroup>
 <col style="width: 30%;">
 <col style="width: 30%;">
@@ -7246,7 +7436,7 @@ implementations provided by the framework (<code>DomainObjectContainerDefault</c
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_spi_FixtureScriptsSpecificationProvider">3.11. <code>FixtureScriptsSpecificationProvider</code></h3>
+<h3 id="_rgsvc_spi_FixtureScriptsSpecificationProvider">3.11. <code>FixtureScriptsSpec&#8217;nProvider</code></h3>
 <div class="paragraph">
 <p>The <code>FixtureScriptsSpecificationProvider</code> configures the
 <a href="#_rgsvc_api_FixtureScriptsDefault"><code>FixtureScriptsDefault</code></a> domain service, providing the
@@ -7331,7 +7521,265 @@ primary benefit (apart from decoupling responsibilities) is that it ensures that
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_spi_LocaleProvider">3.12. <code>LocaleProvider</code></h3>
+<h3 id="_rgsvc_spi_GridSystemService">3.12. <code>GridSystemService</code> (<code>1.12.0-SNAPSHOT</code>)</h3>
+<div class="paragraph">
+<p>The <code>GridSystemService</code> encapsulates a single layout grid system which can be used to customize the layout
+of domain objects.  In particular this means being able to return a "normalized" form (validating and associating
+domain object members into the various regions of the grid) and in providing a default grid if there is no other
+metadata available.</p>
+</div>
+<div class="paragraph">
+<p>In theory there can be multiple implementations of this service, one per concrete subclass of the applib <code>Grid</code> class.  Each concrete implementation requires Wicket viewer components capable of interpreting the grid layout.</p>
+</div>
+<div class="paragraph">
+<p>The framework provides a single such grid implementation, namely for Bootstrap3.</p>
+</div>
+<div class="sect3">
+<h4 id="_spi_12">3.12.1. SPI</h4>
+<div class="paragraph">
+<p>The SPI defined by this service is:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="type">interface</span> <span class="class">GridSystemService</span>&lt;G <span class="directive">extends</span> Grid&gt; {
+    <span class="predefined-type">Class</span>&lt;? <span class="directive">extends</span> Grid&gt; gridImplementation();                 <i class="conum" data-value="1"></i><b>(1)</b>
+    <span class="predefined-type">String</span> tns();                                               <i class="conum" data-value="2"></i><b>(2)</b>
+    <span class="predefined-type">String</span> schemaLocation();                                    <i class="conum" data-value="3"></i><b>(3)</b>
+    Grid defaultGrid(<span class="predefined-type">Class</span>&lt;?&gt; domainClass);                     <i class="conum" data-value="4"></i><b>(4)</b>
+    <span class="type">void</span> normalize(G grid, <span class="predefined-type">Class</span>&lt;?&gt; domainClass);               <i class="conum" data-value="5"></i><b>(5)</b>
+    <span class="type">void</span> complete(G grid, <span class="predefined-type">Class</span>&lt;?&gt; domainClass);                <i class="conum" data-value="6"></i><b>(6)</b>
+    <span class="type">void</span> minimal(G grid, <span class="predefined-type">Class</span>&lt;?&gt; domainClass);                 <i class="conum" data-value="7"></i><b>(7)</b>
+}</code></pre>
+</div>
+</div>
+<div class="colist arabic">
+<table>
+<tr>
+<td><i class="conum" data-value="1"></i><b>1</b></td>
+<td>The concrete subclass of <code>Grid</code> supported by this implementation. As noted in the introduction, there can be multiple implementations of this service,  but there can only be one implementation per concrete subclass.  As is normal practice,
+the service with the lowest <a href="rgant.html#_rgant_DomainServiceLayout_menuOrder"><code>@DomainServiceLayout#menuOrder()</code></a> takes precedence.</td>
+</tr>
+<tr>
+<td><i class="conum" data-value="2"></i><b>2</b></td>
+<td>the target namespace for this grid system.  This is used when generating the XML.  The Bootstrap3 grid system provided by the framework returns the value <code><a href="http://isis.apache.org/applib/layout/grid/bootstrap3" class="bare">http://isis.apache.org/applib/layout/grid/bootstrap3</a></code>.</td>
+</tr>
+<tr>
+<td><i class="conum" data-value="3"></i><b>3</b></td>
+<td>the schema location for the XSD.  The Bootstrap3 grid system provided by the framework returns the value <code><a href="http://isis.apache.org/applib/layout/grid/bootstrap3/bootstrap3.xsd" class="bare">http://isis.apache.org/applib/layout/grid/bootstrap3/bootstrap3.xsd</a></code>.</td>
+</tr>
+<tr>
+<td><i class="conum" data-value="4"></i><b>4</b></td>
+<td>a default grid, eg two columns in ratio 4:8.  Used when no existing grid layout exists for a domain class.</td>
+</tr>
+<tr>
+<td><i class="conum" data-value="5"></i><b>5</b></td>
+<td>Validates and normalizes a grid, modifying the grid so that all of the domain object&#8217;s members (properties, collections, actions) are bound to regions of the grid.  This is done using existing metadata, most notably that of the <a href="rgant.html#_rgant_MemberOrder"><code>@MemberOrder</code></a> annotation.  Such a grid, if persisted as the layout XML file for the domain class, allows the
+<code>@MemberOrder</code> annotation to be removed from the source code of the domain class (but other annotations must be retained).</td>
+</tr>
+<tr>
+<td><i class="conum" data-value="6"></i><b>6</b></td>
+<td>Takes a normalized grid and enriches it with additional metadata (taken from Apache Isis' internal metadata) that can be represented in the layout XML.  Such a grid, if persisted as the layout XML file for the domain class, allows all layout annotations (<a href="rgant.html#_rgant_ActionLayout"><code>@ActionLayout</code></a>, <a href="rgant.html#_rgant_PropertyLayout"><code>@PropertyLayout</code></a> and <a href="rgant.html#_rgant_CollectionLayout"><code>@CollectionLayout</code></a>) to be removed from the source code of the domain class.</td>
+</tr>
+<tr>
+<td><i class="conum" data-value="7"></i><b>7</b></td>
+<td>Takes a normalized grid and strips out removes all members, leaving only the grid structure.  Such a grid, if persisted as the layout XML file for the domain class, requires that the <a href="rgant.html#_rgant_MemberOrder"><code>@MemberOrder</code></a> annotation is retained in the source code of said class in order to bind members to the regions of the grid.</td>
+</tr>
+</table>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_implementation_11">3.12.2. Implementation</h4>
+<div class="paragraph">
+<p>The framework provides <code>GridSystemServiceBS3</code>, an implementation that encodes the bootstrap3 grid system.  (The framework
+also provides <a href="#ugvw.adoc">Wicket viewer</a> components that are capable of interpreting and rendering this metadata).</p>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_registering_the_services_16">3.12.3. Registering the Services</h4>
+<div class="paragraph">
+<p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
+<code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>), then the
+ Bootstrap3 default implementation of <code>GridSystemService</code> is automatically registered and injected, and no further
+ configuration is required.</p>
+</div>
+<div class="paragraph">
+<p>To use an alternative implementation, use
+<a href="rgant.html#_rgant-DomainServiceLayout_menuOrder"><code>@DomainServiceLayout#menuOrder()</code></a> (as explained
+further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-implementations">"how to"</a> tip).</p>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_related_services_18">3.12.4. Related Services</h4>
+<div class="paragraph">
+<p>This service is used by <a href="#_rgsvc_spi_GridService"><code>GridService</code></a>.</p>
+</div>
+</div>
+</div>
+<div class="sect2">
+<h3 id="_rgsvc_spi_GridLoaderService">3.13. <code>GridLoaderService</code> (<code>1.12.0-SNAPSHOT</code>)</h3>
+<div class="paragraph">
+<p>The <code>GridLoaderService</code> provides the ability to load the XML layout (grid) for a domain class.</p>
+</div>
+<div class="sect3">
+<h4 id="_spi_13">3.13.1. SPI</h4>
+<div class="paragraph">
+<p>The SPI defined by this service is:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="type">interface</span> <span class="class">GridLoaderService</span> {
+    <span class="type">boolean</span> existsFor(<span class="predefined-type">Class</span>&lt;?&gt; domainClass);    <i class="conum" data-value="1"></i><b>(1)</b>
+    Grid load(<span class="directive">final</span> <span class="predefined-type">Class</span>&lt;?&gt; domainClass);      <i class="conum" data-value="2"></i><b>(2)</b>
+}</code></pre>
+</div>
+</div>
+<div class="colist arabic">
+<table>
+<tr>
+<td><i class="conum" data-value="1"></i><b>1</b></td>
+<td>whether any persisted layout metadata (eg a <code>.layout.xml</code> file) exists for this domain class.</td>
+</tr>
+<tr>
+<td><i class="conum" data-value="2"></i><b>2</b></td>
+<td>returns a new instance of a <a href="rgcms.html#_rgcms_classes_layout_component"><code>Grid</code></a> for the specified domain class, eg as loaded from a <code>layout.xml</code> file.  If none exists, will return null (and the calling <a href="#_rgsvc_spi_GridService"><code>GridService</code></a> will use <a href="#_rgsvc_spi_GridSystemService"><code>GridSystemService</code></a> to obtain a default grid for the domain class).</td>
+</tr>
+</table>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_implementation_12">3.13.2. Implementation</h4>
+<div class="paragraph">
+<p>The framework provides a default implementation of this service, namely <code>GridLoaderServiceDefault</code>.  This implementation
+loads the grid from its serialized representation as a <code>.layout.xml</code> file, loaded from the classpath.</p>
+</div>
+<div class="paragraph">
+<p>For example, the layout for a domain class <code>com.mycompany.myapp.Customer</code> would be loaded from <code>com/mycompany/myapp/Customer.layout.xml</code>.</p>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_registering_the_services_17">3.13.3. Registering the Services</h4>
+<div class="paragraph">
+<p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
+<code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>), then the
+ default implementation of <code>GridLoaderService</code> is automatically registered and injected, and no further
+ configuration is required.</p>
+</div>
+<div class="paragraph">
+<p>To use an alternative implementation, use
+<a href="rgant.html#_rgant-DomainServiceLayout_menuOrder"><code>@DomainServiceLayout#menuOrder()</code></a> (as explained
+further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-implementations">"how to"</a> tip).</p>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_related_services_19">3.13.4. Related Services</h4>
+<div class="paragraph">
+<p>This service is used by <a href="#_rgsvc_spi_GridService"><code>GridService</code></a>.</p>
+</div>
+</div>
+</div>
+<div class="sect2">
+<h3 id="_rgsvc_spi_GridService">3.14. <code>GridService</code> (<code>1.12.0-SNAPSHOT</code>)</h3>
+<div class="paragraph">
+<p>The <code>GridService</code> provides the ability to load the XML layout (grid) for a domain class.   To do this it delegates:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>to <a href="#_rgsvc_spi_GridLoaderService"><code>GridLoaderService</code></a> to load a pre-existing layout for the domain class, if possible</p>
+</li>
+<li>
+<p>to <a href="#_rgsvc_spi_GridSystemService"><code>GridSystemService</code></a> to normalize the grid with respect to Apache
+Isis' internal metamodel, in other words to ensure that all of the domain objects' properties, collections and actions are associated with regions of the grid.</p>
+</li>
+</ul>
+</div>
+<div class="paragraph">
+<p>Once a grid has been loaded for a domain class, this is cached internally by Apache Isis' internal meta model (in the
+<code>GridFacet</code> facet).  If running in prototype mode, any subsequent changes to the XML will be detected and the grid rebuilt.  This allows for dynamic reloading of layouts, providing a far faster feedback (eg if tweaking the UI while working with end-users).  Dynamic reloading is disabled in production mode.</p>
+</div>
+<div class="sect3">
+<h4 id="_spi_14">3.14.1. SPI</h4>
+<div class="paragraph">
+<p>The SPI defined by this service is:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="java"><span class="directive">public</span> <span class="type">interface</span> <span class="class">GridService</span> {
+    <span class="type">boolean</span> existsFor(<span class="predefined-type">Class</span>&lt;?&gt; domainClass);    <i class="conum" data-value="1"></i><b>(1)</b>
+    Grid load(<span class="directive">final</span> <span class="predefined-type">Class</span>&lt;?&gt; domainClass);      <i class="conum" data-value="2"></i><b>(2)</b>
+    Grid defaultGridFor(<span class="predefined-type">Class</span>&lt;?&gt; domainClass);  <i class="conum" data-value="3"></i><b>(3)</b>
+    Grid normalize(<span class="directive">final</span> Grid grid);            <i class="conum" data-value="4"></i><b>(4)</b>
+    Grid complete(Grid grid);                   <i class="conum" data-value="5"></i><b>(5)</b>
+    Grid minimal(Grid grid);                    <i class="conum" data-value="6"></i><b>(6)</b>
+}</code></pre>
+</div>
+</div>
+<div class="colist arabic">
+<table>
+<tr>
+<td><i class="conum" data-value="1"></i><b>1</b></td>
+<td>whether any persisted layout metadata (eg a <code>.layout.xml</code> file) exists for this domain class.  Just delegates to corresponding method in <a href="#_rgsvc_spi_GridLoaderService"><code>GridLoaderService</code></a>.</td>
+</tr>
+<tr>
+<td><i class="conum" data-value="2"></i><b>2</b></td>
+<td>returns a new instance of a <a href="rgcms.html#_rgcms_classes_layout_component"><code>Grid</code></a> for the specified domain class, eg as loaded from a <code>layout.xml</code> file.  If none exists, will return null (and the calling <a href="#_rgsvc_spi_GridService"><code>GridService</code></a> will use <a href="#_rgsvc_spi_GridSystemService"><code>GridSystemService</code></a> to obtain a default grid for the domain class).</td>
+</tr>
+<tr>
+<td><i class="conum" data-value="3"></i><b>3</b></td>
+<td>returns a default grid, eg two columns in ratio 4:8.  Used when no existing grid layout exists for a domain class.</td>
+</tr>
+<tr>
+<td><i class="conum" data-value="4"></i><b>4</b></td>
+<td>validates and normalizes a grid, modifying the grid so that all of the domain object&#8217;s members (properties, collections, actions) are bound to regions of the grid.  This is done using existing metadata, most notably that of the <a href="rgant.html#_rgant_MemberOrder"><code>@MemberOrder</code></a> annotation.  Such a grid, if persisted as the layout XML file for the domain class, allows the <code>@MemberOrder</code> annotation to be removed from the source code of the domain class (but other annotations must be retained).</td>
+</tr>
+<tr>
+<td><i class="conum" data-value="5"></i><b>5</b></td>
+<td>Takes a normalized grid and enriches it with additional metadata (taken from Apache Isis' internal metadata) that can be represented in the layout XML.  Such a grid, if persisted as the layout XML file for the domain class, allows all layout annotations (<a href="rgant.html#_rgant_ActionLayout"><code>@ActionLayout</code></a>, <a href="rgant.html#_rgant_PropertyLayout"><code>@PropertyLayout</code></a> and <a href="rgant.html#_rgant_CollectionLayout"><code>@CollectionLayout</code></a>) to be removed from the source code of the domain class.</td>
+</tr>
+<tr>
+<td><i class="conum" data-value="6"></i><b>6</b></td>
+<td>Takes a normalized grid and strips out removes all members, leaving only the grid structure.  Such a grid, if persisted as the layout XML file for the domain class, requires that the <a href="rgant.html#_rgant_MemberOrder"><code>@MemberOrder</code></a> annotation is retained in the source code of said class in order to bind members to the regions of the grid.</td>
+</tr>
+</table>
+</div>
+<div class="paragraph">
+<p>The first two methods just delegate to the corresponding methods in <a href="#_rgsvc_spi_GridSystemService"><code>GridSystemService</code></a>, while the last four delegate to the  corresponding method in <a href="#_rgsvc_spi_GridSystemService"><code>GridSystemService</code></a>.  The service inspects the <code>Grid</code>'s concrete class to determine which actual <code>GridSystemService</code> instance to delegate to.</p>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_implementation_13">3.14.2. Implementation</h4>
+<div class="paragraph">
+<p>The framework provides a default implementation of this service, namely <code>GridServiceDefault</code>.</p>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_registering_the_services_18">3.14.3. Registering the Services</h4>
+<div class="paragraph">
+<p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
+<code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>), then the
+ default implementation of <code>GridLoaderService</code> is automatically registered and injected, and no further
+ configuration is required.</p>
+</div>
+<div class="paragraph">
+<p>To use an alternative implementation, use
+<a href="rgant.html#_rgant-DomainServiceLayout_menuOrder"><code>@DomainServiceLayout#menuOrder()</code></a> (as explained
+further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-implementations">"how to"</a> tip).
+That said, there should be little reason to use a different implementation; if behaviour does need to be changed, it would also be possible to replace the implementation of either the <code>GridLoaderService</code> or the <code>GridSystemService</code>.</p>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_related_services_20">3.14.4. Related Services</h4>
+<div class="paragraph">
+<p>This service calls <a href="#_rgsvc_spi_GridLoaderService"><code>GridLoaderService</code></a> and <a href="#_rgsvc_spi_GridSystemService"><code>GridSystemService</code></a>.</p>
+</div>
+<div class="paragraph">
+<p>This service is called by <a href="#_rgsvc_api_LayoutService"><code>LayoutService</code></a>, exposed in the UI through <code>LayoutServiceMenu</code> (to download the layout XML as a zip file for all domain objects) and the <a href="rgcms.html#_rgcms_classes_mixins_Object"><code>downloadLayoutXml()</code></a> mixin (to download the layout XML for a single domain
+object).</p>
+</div>
+</div>
+</div>
+<div class="sect2">
+<h3 id="_rgsvc_spi_LocaleProvider">3.15. <code>LocaleProvider</code></h3>
 <div class="paragraph">
 <p>The <code>LocaleProvider</code> service is one of the services that work together to implement Apache Isis' support for i18n, being used by Isis' default implementation of <a href="#_rgsvc_spi_TranslationService"><code>TranslationService</code></a>.</p>
 </div>
@@ -7353,7 +7801,7 @@ primary benefit (apart from decoupling responsibilities) is that it ensures that
 </table>
 </div>
 <div class="sect3">
-<h4 id="_spi_12">3.12.1. SPI</h4>
+<h4 id="_spi_15">3.15.1. SPI</h4>
 <div class="paragraph">
 <p>The SPI defined by this service is:</p>
 </div>
@@ -7370,7 +7818,7 @@ primary benefit (apart from decoupling responsibilities) is that it ensures that
 </div>
 </div>
 <div class="sect3">
-<h4 id="_implementation_11">3.12.2. Implementation</h4>
+<h4 id="_implementation_14">3.15.2. Implementation</h4>
 <div class="paragraph">
 <p>Isis' <a href="ugvw.html">Wicket viewer</a> provides an implementation of this service (<code>LocaleProviderWicket</code>) which leverages Apache Wicket APIs.</p>
 </div>
@@ -7390,10 +7838,10 @@ primary benefit (apart from decoupling responsibilities) is that it ensures that
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_services_16">3.12.3. Registering the Services</h4>
+<h4 id="_registering_the_services_19">3.15.3. Registering the Services</h4>
 <div class="paragraph">
 <p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
-<code>AppManifest</code> to <a href="rgcms.html#<em>rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>), _and</em> that the
+<code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>), <em>and</em> that the
 <a href="ugvw.html">Wicket viewer</a> is being used, then an implementation of <code>LocaleProvider</code> is
 automatically registered and injected (it is annotated with <code>@DomainService</code>) so no further configuration is required.</p>
 </div>
@@ -7404,19 +7852,19 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_related_services_18">3.12.4. Related Services</h4>
+<h4 id="_related_services_21">3.15.4. Related Services</h4>
 <div class="paragraph">
 <p>This service works in conjunction with <a href="#_rgsvc_spi_TranslationService"><code>TranslationService</code></a> and <a href="#_rgsvc_spi_TranslationsResolver"><code>TranslationsResolver</code></a> in order to provide i18n support.</p>
 </div>
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_spi_PublishingService">3.13. <code>PublishingService</code></h3>
+<h3 id="_rgsvc_spi_PublishingService">3.16. <code>PublishingService</code></h3>
 <div class="paragraph">
 <p>The <code>PublishingService</code> is intended for coarse-grained publish/subscribe for system-to-system interactions, from Apache Isis to some other system.  Here the only events published are those that action invocations and of changed objects.  A typical use case is to publish onto a pub/sub bus such as <a href="http://activemq.apache.org/">ActiveMQ</a> with <a href="http://camel.apache.org">Camel</a> to keep other systems up to date.</p>
 </div>
 <div class="sect3">
-<h4 id="_spi_13">3.13.1. SPI</h4>
+<h4 id="_spi_16">3.16.1. SPI</h4>
 <div class="paragraph">
 <p>The SPI defined by the service is:</p>
 </div>
@@ -7463,7 +7911,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_implementation_12">3.13.2. Implementation</h4>
+<h4 id="_implementation_15">3.16.2. Implementation</h4>
 <div class="paragraph">
 <p>The framework provides no default implementations of this service.  There are however two implementations available in
 the (non-ASF) <a href="http://isisaddons.org">Isis Addons</a>.</p>
@@ -7512,7 +7960,7 @@ the <a href="ugvro.html">RestfulObjects viewer</a>.</p>
 </div>
 </div>
 <div class="sect3">
-<h4 id="_usage_16">3.13.3. Usage</h4>
+<h4 id="_usage_16">3.16.3. Usage</h4>
 <div class="paragraph">
 <p>To indicate that an action invocation should be published, annotate it with the <a href="rgant.html#_rgant-Action_publishing"><code>@Action#publishing()</code></a> annotation.</p>
 </div>
@@ -7606,7 +8054,7 @@ the <a href="ugvro.html">RestfulObjects viewer</a>.</p>
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_services_17">3.13.4. Registering the Services</h4>
+<h4 id="_registering_the_services_20">3.16.4. Registering the Services</h4>
 <div class="paragraph">
 <p>There is no default implementation of this service provided by the core Apache Isis framework.</p>
 </div>
@@ -7623,7 +8071,7 @@ suppressed either using security or by implementing a
 </div>
 </div>
 <div class="sect3">
-<h4 id="_related_services_19">3.13.5. Related Services</h4>
+<h4 id="_related_services_22">3.16.5. Related Services</h4>
 <div class="paragraph">
 <p>The <code>PublishingService</code> is intended for coarse-grained publish/subscribe for system-to-system interactions, from Apache Isis to some other system. Here the only events published are those that action invocations (for actions annotated with <a href="rgant.html#_rgant-Action_publishing"><code>@Action#publishing()</code></a>) and of changed objects (for objects annotated with <a href="rgant.html#_rgant-DomainObject_publishing"><code>@DomainObject#publishing()</code></a>.</p>
 </div>
@@ -7635,7 +8083,7 @@ suppressed either using security or by implementing a
 </div>
 </div>
 <div class="sect3">
-<h4 id="_design_notes">3.13.6. Design Notes</h4>
+<h4 id="_design_notes">3.16.6. Design Notes</h4>
 <div class="paragraph">
 <p>The following class diagram shows how the above components fit together:</p>
 </div>
@@ -7650,7 +8098,7 @@ suppressed either using security or by implementing a
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_spi_RepresentationService">3.14. <code>RepresentationService</code></h3>
+<h3 id="_rgsvc_spi_RepresentationService">3.17. <code>RepresentationService</code></h3>
 <div class="paragraph">
 <p>The <code>RepresentationService</code> is the main plug-in point for the <a href="ugvro.html">RestfulObjects viewer</a> to generate representations.</p>
 </div>
@@ -7672,7 +8120,7 @@ suppressed either using security or by implementing a
 <p>The <code>RepresentationServiceForRestfulObjects</code> is the default implementation of this service; likewise <code>ContentNegotiationServiceXRoDomainType</code> is the default implementation of the <code>ContentNegotiationService</code>.  If you inspect the source code you&#8217;ll see that the default implementation of this service&#8217;s primary responsibility is to generate the default Restful Objects representations.  Therefore, if you what you want to do is to generate a <em>different _representation then in many cases replacing either this service _or</em> the <code>ContentNegotiationService</code> will be equivalent (you&#8217;ll notice that their SPIs are very similar).</p>
 </div>
 <div class="sect3">
-<h4 id="_spi_14">3.14.1. SPI</h4>
+<h4 id="_spi_17">3.17.1. SPI</h4>
 <div class="paragraph">
 <p>The SPI defined by this service is:</p>
 </div>
@@ -7770,7 +8218,7 @@ suppressed either using security or by implementing a
 </div>
 </div>
 <div class="sect3">
-<h4 id="_implementation_13">3.14.2. Implementation</h4>
+<h4 id="_implementation_16">3.17.2. Implementation</h4>
 <div class="paragraph">
 <p>As discussed in the introduction, the framework provides a default implementation, <code>o.a.i.v.ro.rendering.service.RepresentationServiceForRestfulObjects</code>.   This delegates to <a href="#_rgsvc_spi_ContentNegotiationService"><code>ContentNegotiationService</code></a> to generate an alternative representation; but if none is provided then it falls back on generating the representations as defined in the <a href="http://restfulobjects.org">Restful Objects spec</a> v1.0.</p>
 </div>
@@ -7781,21 +8229,21 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_services_18">3.14.3. Registering the Services</h4>
+<h4 id="_registering_the_services_21">3.17.3. Registering the Services</h4>
 <div class="paragraph">
 <p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
 <code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>) then Apache Isis' default implementation of <code>RepresentationService</code> service is automatically registered and injected (it is annotated with <code>@DomainService</code>) so no further configuration is required.</p>
 </div>
 </div>
 <div class="sect3">
-<h4 id="_related_services_20">3.14.4. Related Services</h4>
+<h4 id="_related_services_23">3.17.4. Related Services</h4>
 <div class="paragraph">
 <p>The default implementation delegates to <a href="#_rgsvc_spi_ContentNegotiationService"><code>ContentNegotiationService</code></a>, whose default implementation may delegate in turn to <a href="#_rgsvc_spi_ContentMappingService"><code>ContentMappingService</code></a> (if present).</p>
 </div>
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_spi_RoutingService">3.15. <code>RoutingService</code></h3>
+<h3 id="_rgsvc_spi_RoutingService">3.18. <code>RoutingService</code></h3>
 <div class="paragraph">
 <p>The <code>RoutingService</code> provides the ability to return (and therefore render) an alternative object from an action invocation.</p>
 </div>
@@ -7824,7 +8272,7 @@ of the implementation to figure out what the "owning" object might be.</p>
 <p>Currently the routing service is used only by the <a href="ugvw.html">Wicket viewer</a>; it is ignored by the <a href="ugvro.html">Restful Objects</a> viewer.</p>
 </div>
 <div class="sect3">
-<h4 id="_spi_15">3.15.1. SPI</h4>
+<h4 id="_spi_18">3.18.1. SPI</h4>
 <div class="paragraph">
 <p>The SPI defined by this service is:</p>
 </div>
@@ -7852,7 +8300,7 @@ of the implementation to figure out what the "owning" object might be.</p>
 </div>
 </div>
 <div class="sect3">
-<h4 id="_implementation_14">3.15.2. Implementation</h4>
+<h4 id="_implementation_17">3.18.2. Implementation</h4>
 <div class="paragraph">
 <p>The framework provides a default implementation which will always return the original object provided, or the home page
 if a <code>null</code> or <code>void</code> was provided.  It uses the <a href="#_rgsvc_api_HomePageProviderService"><code>HomePageProviderService</code></a>.</p>
@@ -7865,7 +8313,7 @@ The route from the first service that returns <code>true</code> from its <code>c
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_services_19">3.15.3. Registering the Services</h4>
+<h4 id="_registering_the_services_22">3.18.3. Registering the Services</h4>
 <div class="paragraph">
 <p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
 <code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>) then Apache Isis'
@@ -7874,7 +8322,7 @@ default implementation of <code>RoutingService</code> service is automatically r
 </div>
 </div>
 <div class="sect3">
-<h4 id="_related_services_21">3.15.4. Related Services</h4>
+<h4 id="_related_services_24">3.18.4. Related Services</h4>
 <div class="paragraph">
 <p>The default implementation of ths service uses the
 <a href="#_rgsvc_api_HomePageProviderService"><code>HomePageProviderService</code></a>.</p>
@@ -7882,7 +8330,7 @@ default implementation of <code>RoutingService</code> service is automatically r
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_spi_TranslationService">3.16. <code>TranslationService</code></h3>
+<h3 id="_rgsvc_spi_TranslationService">3.19. <code>TranslationService</code></h3>
 <div class="paragraph">
 <p>The <code>TranslationService</code> is the cornerstone of Apache Isis' i18n support.  Its role is to be able to provide translated versions of the various elements within the Apache Isis metamodel (service and object classes, properties, collections, actions, action parameters) and also to translate business rule (disable/valid) messages, and exceptions.  These translations provide for both singular and plural forms.</p>
 </div>
@@ -7901,7 +8349,7 @@ default implementation of <code>RoutingService</code> service is automatically r
 </table>
 </div>
 <div class="sect3">
-<h4 id="_spi_16">3.16.1. SPI</h4>
+<h4 id="_spi_19">3.19.1. SPI</h4>
 <div class="paragraph">
 <p>The SPI defined by this service is:</p>
 </div>
@@ -7945,7 +8393,7 @@ default implementation of <code>RoutingService</code> service is automatically r
 </div>
 </div>
 <div class="sect3">
-<h4 id="_implementation_15">3.16.2. Implementation</h4>
+<h4 id="_implementation_18">3.19.2. Implementation</h4>
 <div class="paragraph">
 <p>The Apache Isis framework provides a default implementation (<code>TranslationServicePo</code>) that uses the GNU <code>.pot</code> and <code>.po</code> files for translations.  It relies on the <code>LocaleProvider</code> service (to return the <code>Locale</code> of the current user) and also the <code>TranslationsResolver</code> service (to read existing translations).</p>
 </div>
@@ -7957,7 +8405,7 @@ default implementation of <code>RoutingService</code> service is automatically r
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_services_20">3.16.3. Registering the Services</h4>
+<h4 id="_registering_the_services_23">3.19.3. Registering the Services</h4>
 <div class="paragraph">
 <p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
 <code>AppManifest</code> to <a href="rgcms.html#_rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>) then Apache Isis' core
@@ -7973,14 +8421,21 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_related_services_22">3.16.4. Related Services</h4>
+<h4 id="_rgsvc_api_LayoutService_related-mixins-and-menus">3.19.4. Related Menus</h4>
+<div class="paragraph">
+<p>The <code>TranslationServicePoMenu</code> menu exposes the <code>TranslationServicePo</code> service&#8217;s <code>toPot()</code> method so that all
+translations can be downloaded as a single file.</p>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_related_services_25">3.19.5. Related Services</h4>
 <div class="paragraph">
 <p>This service works in conjunction with <a href="#_rgsvc_spi_LocaleProvider"><code>LocaleProvider</code></a> and <a href="#_rgsvc_spi_TranslationsResolver"><code>TranslationsResolver</code></a> in order to provide i18n support.</p>
 </div>
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_spi_TranslationsResolver">3.17. <code>TranslationsResolver</code></h3>
+<h3 id="_rgsvc_spi_TranslationsResolver">3.20. <code>TranslationsResolver</code></h3>
 <div class="paragraph">
 <p>The <code>TranslationsResolver</code> service is one of the services that work together to implement Apache Isis' support for i18n, being used by Isis' default implementation of <a href="#_rgsvc_spi_TranslationService"><code>TranslationService</code></a>.</p>
 </div>
@@ -8002,7 +8457,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </table>
 </div>
 <div class="sect3">
-<h4 id="_spi_17">3.17.1. SPI</h4>
+<h4 id="_spi_20">3.20.1. SPI</h4>
 <div class="paragraph">
 <p>The SPI defined by this service is:</p>
 </div>
@@ -8016,7 +8471,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_implementation_16">3.17.2. Implementation</h4>
+<h4 id="_implementation_19">3.20.2. Implementation</h4>
 <div class="paragraph">
 <p>Isis' <a href="ugvw.html">Wicket viewer</a> provides an implementation of this service (<code>TranslationsResolverWicket</code>) which leverages Apache Wicket APIs.  This searches for translation files in the standard <code>WEB-INF/</code> directory.</p>
 </div>
@@ -8036,7 +8491,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_service_17">3.17.3. Registering the Service</h4>
+<h4 id="_registering_the_service_17">3.20.3. Registering the Service</h4>
 <div class="paragraph">
 <p>Assuming that the <code>configuration-and-annotation</code> services installer is configured (implicit if using the
 <code>AppManifest</code> to <a href="rgcms.html#<em>rgcms_classes_AppManifest-bootstrapping">bootstrap the app</a>), _and</em> that the <a href="ugvw.html">Wicket viewer</a> is being used, then an implementation of <code>TranslationsResolver</code> is
@@ -8049,14 +8504,14 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_related_services_23">3.17.4. Related Services</h4>
+<h4 id="_related_services_26">3.20.4. Related Services</h4>
 <div class="paragraph">
 <p>This service works in conjunction with <a href="#_rgsvc_spi_LocaleProvider"><code>LocaleProvider</code></a> and <a href="#_rgsvc_spi_TranslationService"><code>TranslationService</code></a> in order to provide i18n support.</p>
 </div>
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_spi_UrlEncodingService">3.18. <code>UrlEncodingService</code></h3>
+<h3 id="_rgsvc_spi_UrlEncodingService">3.21. <code>UrlEncodingService</code></h3>
 <div class="paragraph">
 <p>The <code>UrlEncodingService</code> defines a consistent way to convert strings to/from a form safe for use
 within a URL.  The service is used by the framework to map <a href="ugbtb.html#_ugbtb_view-models">view model</a>
@@ -8089,7 +8544,7 @@ state within the URL.</p>
 applib) that uses <code>base-64</code> encoding to <code>UTF-8</code> charset.</p>
 </div>
 <div class="sect3">
-<h4 id="_spi_18">3.18.1. SPI</h4>
+<h4 id="_spi_21">3.21.1. SPI</h4>
 <div class="paragraph">
 <p>The SPI defined by the service is:</p>
 </div>
@@ -8117,7 +8572,7 @@ applib) that uses <code>base-64</code> encoding to <code>UTF-8</code> charset.</
 </div>
 </div>
 <div class="sect3">
-<h4 id="_implementation_17">3.18.2. Implementation</h4>
+<h4 id="_implementation_20">3.21.2. Implementation</h4>
 <div class="paragraph">
 <p>The framework provides a default implementation (<code>UrlEncodingServiceUsingBaseEncoding</code>) that simply converts the string
 using base-64 encoding and UTF-8 character set.  As already noted, be aware that the maximum length of a URL should not
@@ -8132,7 +8587,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_spi_UserProfileService">3.19. <code>UserProfileService</code></h3>
+<h3 id="_rgsvc_spi_UserProfileService">3.22. <code>UserProfileService</code></h3>
 <div class="paragraph">
 <p>The <code>UserProfileService</code> provides the ability for the domain application to return supplementary metadata about the current user. This information is used (by the <a href="ugvw.html">Wicket viewer</a>) to customize the appearance of the tertiary "Me" menu bar (top right). For example, rather than display the username, instead the user&#8217;s first and last name could be displayed.</p>
 </div>
@@ -8140,7 +8595,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 <p>Another use case is to allow the user to switch context in some fashion or other. This might be to emulate a sort of "sudo"-like function, or perhaps to focus on some particular set of data.</p>
 </div>
 <div class="sect3">
-<h4 id="_spi_19">3.19.1. SPI</h4>
+<h4 id="_spi_22">3.22.1. SPI</h4>
 <div class="paragraph">
 <p>The SPI defined by the service is:</p>
 </div>
@@ -8168,7 +8623,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_implementation_18">3.19.2. Implementation</h4>
+<h4 id="_implementation_21">3.22.2. Implementation</h4>
 <div class="paragraph">
 <p>There is no default implementation of this service provided by the core Apache Isis framework.</p>
 </div>
@@ -8198,7 +8653,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect2">
-<h3 id="_rgsvc_spi_UserRegistrationService">3.20. <code>UserRegistrationService</code></h3>
+<h3 id="_rgsvc_spi_UserRegistrationService">3.23. <code>UserRegistrationService</code></h3>
 <div class="paragraph">
 <p>The <code>UserRegistrationService</code> provides the ability for users to sign-up to access an application by providing a valid email address, and also provides the capability for users to reset their password if forgotten.</p>
 </div>
@@ -8226,7 +8681,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </table>
 </div>
 <div class="sect3">
-<h4 id="_spi_20">3.20.1. SPI</h4>
+<h4 id="_spi_23">3.23.1. SPI</h4>
 <div class="paragraph">
 <p>The SPI defined by the service is:</p>
 </div>
@@ -8266,7 +8721,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_implementation_19">3.20.2. Implementation</h4>
+<h4 id="_implementation_22">3.23.2. Implementation</h4>
 <div class="paragraph">
 <p>The core Apache Isis framework itself defines only an API; there is no default implementation. Rather, the implementation will depend on the security mechanism being used.</p>
 </div>
@@ -8278,7 +8733,7 @@ further in this <a href="ugfun.html#_ugfun_how-tos_replacing-default-service-imp
 </div>
 </div>
 <div class="sect3">
-<h4 id="_registering_the_services_21">3.20.3. Registering the Services</h4>
+<h4 id="_registering_the_services_24">3.23.3. Registering the Services</h4>
 <div class="paragraph">
 <p>There is no default implementation of this service provided by the core Apache Isis framework.</p>
 </div>
@@ -8311,7 +8766,7 @@ to implement a subclass and register.</p>
 </div>
 </div>
 <div class="sect3">
-<h4 id="_related_services_24">3.20.4. Related Services</h4>
+<h4 id="_related_services_27">3.23.4. Related Services</h4>
 <div class="paragraph">
 <p>The most common use case is to allow users to sign-up through Apache Isis' Wicket viewer. Because the process requires email to be sent, the following services must be configured:</p>
 </div>
@@ -8368,7 +8823,7 @@ to implement a subclass and register.</p>
 </li>
 <li><a href="#_rgsvc_api_ActionInvocationContext">2.2. <code>ActionInvocationContext</code></a>
 <ul class="sectlevel3">
-<li><a href="#_api">2.2.1. API</a></li>
+<li><a href="#_api_implementation_2">2.2.1. API &amp; Implementation</a></li>
 <li><a href="#_usage_2">2.2.2. Usage</a></li>
 <li><a href="#_registering_the_service_2">2.2.3. Registering the Service</a></li>
 <li><a href="#_unit_testing_support">2.2.4. Unit testing support</a></li>
@@ -8376,7 +8831,7 @@ to implement a subclass and register.</p>
 </li>
 <li><a href="#_rgsvc_api_BackgroundService">2.3. <code>BackgroundService</code></a>
 <ul class="sectlevel3">
-<li><a href="#_api_implementation_2">2.3.1. API &amp; Implementation</a></li>
+<li><a href="#_api_implementation_3">2.3.1. API &amp; Implementation</a></li>
 <li><a href="#_usage_3">2.3.2. Usage</a></li>
 <li><a href="#_end_user_experience">2.3.3. End-user experience</a></li>
 <li><a href="#_registering_the_services">2.3.4. Registering the Services</a></li>
@@ -8387,7 +8842,7 @@ to implement a subclass and register.</p>
 </li>
 <li><a href="#_rgsvc_api_BookmarkService">2.4. <code>BookmarkService</code></a>
 <ul class="sectlevel3">
-<li><a href="#_api_implementation_3">2.4.1. API &amp; Implementation</a></li>
+<li><a href="#_api_implementation_4">2.4.1. API &amp; Implementation</a></li>
 <li><a href="#__code_bookmarkholder_code">2.4.2. <code>BookmarkHolder</code></a></li>
 <li><a href="#_usage_by_other_services">2.4.3. Usage by other services</a></li>
 <li><a href="#_registering_the_service_3">2.4.4. Registering the Service</a></li>
@@ -8395,7 +8850,7 @@ to implement a subclass and register.</p>
 </li>
 <li><a href="#_rgsvc_api_ClockService">2.5. <code>ClockService</code></a>
 <ul class="sectlevel3">
-<li><a href="#_api_implementation_4">2.5.1. API &amp; Implementation</a></li>
+<li><a href="#_api_implementation_5">2.5.1. API &amp; Implementation</a></li>
 <li><a href="#_testing_support">2.5.2. Testing Support</a>
 <ul class="sectlevel4">
 <li><a href="#_alternative_implementations">Alternative Implementations</a></li>
@@ -8407,7 +8862,7 @@ to implement a subclass and register.</p>
 <li><a href="#_rgsvc_api_CommandContext">2.6. <code>CommandContext</code></a>
 <ul class="sectlevel3">
 <li><a href="#_rgsvc_api_CommandContext_screencast">2.6.1. Screencast</a></li>
-<li><a href="#_api_implementation_5">2.6.2. API &amp; Implementation</a></li>
+<li><a href="#_api_implementation_6">2.6.2. API &amp; Implementation</a></li>
 <li><a href="#_usage_4">2.6.3. Usage</a></li>
 <li><a href="#_interacting_with_the_services">2.6.4. Interacting with the services</a></li>
 <li><a href="#_registering_the_services_2">2.6.5. Registering the Services</a></li>
@@ -8416,7 +8871,7 @@ to implement a subclass and register.</p>
 </li>
 <li><a href="#_rgsvc_api_DeepLinkService">2.7. <code>DeepLinkService</code></a>
 <ul class="sectlevel3">
-<li><a href="#_api_implementation_6">2.7.1. API &amp; Implementation</a></li>
+<li><a href="#_api_implementation_7">2.7.1. API &amp; Implementation</a></li>
 <li><a href="#_usage_within_the_framework">2.7.2. Usage within the framework</a></li>
 <li><a href="#_implementations">2.7.3. Implementations</a></li>
 <li><a href="#_registering_the_services_3">2.7.4. Registering the Services</a></li>
@@ -8438,7 +8893,7 @@ to implement a subclass and register.</p>
 </li>
 <li><a href="#_rgsvc_api_EmailService">2.9. <code>EmailService</code></a>
 <ul class="sectlevel3">
-<li><a href="#_api_implementation_7">2.9.1. API &amp; Implementation</a></li>
+<li><a href="#_api_implementation_8">2.9.1. API &amp; Implementation</a></li>
 <li><a href="#_configuration">2.9.2. Configuration</a></li>
 <li><a href="#_alternative_implementations_2">2.9.3. Alternative Implementations</a></li>
 <li><a href="#_registering_the_services_4">2.9.4. Registering the Services</a></li>
@@ -8465,21 +8920,21 @@ to implement a subclass and register.</p>
 </li>
 <li><a href="#_rgsvc_api_FixtureScriptsDefault">2.11. <code>FixtureScriptsDefault</code></a>
 <ul class="sectlevel3">
-<li><a href="#_api_implementation_8">2.11.1. API &amp; Implementation</a></li>
+<li><a href="#_api_implementation_9">2.11.1. API &amp; Implementation</a></li>
 <li><a href="#_configuration_2">2.11.2. Configuration</a></li>
 <li><a href="#_related_services_5">2.11.3. Related Services</a></li>
 </ul>
 </li>
 <li><a href="#_rgsvc_api_GuiceBeanProvider">2.12. <code>GuiceBeanProvider</code></a>
 <ul class="sectlevel3">
-<li><a href="#_api_implementation_9">2.12.1. API &amp; Implementation</a></li>
+<li><a href="#_api_implementation_10">2.12.1. API &amp; Implementation</a></li>
 <li><a href="#_usage_5">2.12.2. Usage</a></li>
 <li><a href="#_registering_the_services_6">2.12.3. Registering the Services</a></li>
 </ul>
 </li>
 <li><a href="#_rgsvc_api_HomePageProviderService">2.13. <code>HomePageProviderService</code></a>
 <ul class="sectlevel3">
-<li><a href="#_api_implementation_10">2.13.1. API &amp; Implementation</a></li>
+<li><a href="#_api_implementation_11">2.13.1. API &amp; Implementation</a></li>
 <li><a href="#_registering_the_service_6">2.13.2. Registering the Service</a></li>
 </ul>
 </li>
@@ -8500,67 +8955,74 @@ to implement a subclass and register.</p>
 <li><a href="#_registering_the_service_7">2.15.3. Registering the Service</a></li>
 </ul>
 </li>
-<li><a href="#_rgsvc_api_MementoService">2.16. <code>MementoService</code></a>
+<li><a href="#_rgsvc_api_LayoutService">2.16. <code>LayoutService</code> (<code>1.12.0-SNAPSHOT</code>)</a>
 <ul class="sectlevel3">
-<li><a href="#_api_implementation_11">2.16.1. API &amp; Implementation</a></li>
-<li><a href="#_usage_6">2.16.2. Usage</a></li>
-<li><a href="#_related_services_6">2.16.3. Related Services</a></li>
-<li><a href="#_registering_the_service_8">2.16.4. Registering the Service</a></li>
+<li><a href="#_rgsvc_api_LayoutService_api-and-implementation">2.16.1. API &amp; Implementation</a></li>
+<li><a href="#_rgsvc_api_LayoutService_related-mixins-and-menus">2.16.2. Related Mixins and Menus</a></li>
+<li><a href="#_rgsvc_api_LayoutService_related-domain-services">2.16.3. Related Domain Services</a></li>
 </ul>
 </li>
-<li><a href="#_rgsvc_api_MetamodelService">2.17. <code>MetamodelService</code></a>
+<li><a href="#_rgsvc_api_MementoService">2.17. <code>MementoService</code></a>
 <ul class="sectlevel3">
 <li><a href="#_api_implementation_12">2.17.1. API &amp; Implementation</a></li>
-<li><a href="#_registering_the_service_9">2.17.2. Registering the Service</a></li>
+<li><a href="#_usage_6">2.17.2. Usage</a></li>
+<li><a href="#_related_services_6">2.17.3. Related Services</a></li>
+<li><a href="#_registering_the_service_8">2.17.4. Registering the Service</a></li>
 </ul>
 </li>
-<li><a href="#_rgsvc_api_QueryResultsCache">2.18. <code>QueryResultsCache</code></a>
+<li><a href="#_rgsvc_api_MetamodelService">2.18. <code>MetamodelService</code></a>
 <ul class="sectlevel3">
 <li><a href="#_api_implementation_13">2.18.1. API &amp; Implementation</a></li>
-<li><a href="#_usage_7">2.18.2. Usage</a></li>
-<li><a href="#_registering_the_service_10">2.18.3. Registering the Service</a></li>
-<li><a href="#_related_services_7">2.18.4. Related Services</a></li>
+<li><a href="#_registering_the_service_9">2.18.2. Registering the Service</a></li>
 </ul>
 </li>
-<li><a href="#_rgsvc_api_Scratchpad">2.19. <code>Scratchpad</code></a>
+<li><a href="#_rgsvc_ap

<TRUNCATED>

[3/3] isis-site git commit: ISIS-993: layouts

Posted by da...@apache.org.
ISIS-993: layouts


Project: http://git-wip-us.apache.org/repos/asf/isis-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis-site/commit/e106aba4
Tree: http://git-wip-us.apache.org/repos/asf/isis-site/tree/e106aba4
Diff: http://git-wip-us.apache.org/repos/asf/isis-site/diff/e106aba4

Branch: refs/heads/asf-site
Commit: e106aba4d4908198251e75419a4b10e88e4b8d63
Parents: d7ccc28
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Mon Mar 7 23:18:36 2016 +0000
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Mon Mar 7 23:18:36 2016 +0000

----------------------------------------------------------------------
 content/applib/layout/component/component.xsd   | 136 +++
 .../layout/grid/bootstrap3/bootstrap3.xsd       | 143 ++++
 content/guides/cg.html                          | 836 ++++++++++++++++++
 .../ToDoItem.png                                | Bin 0 -> 91690 bytes
 content/guides/rg.html                          |  21 +-
 content/guides/rgcms.html                       | 285 ++++++-
 content/guides/rgsvc.html                       | 845 +++++++++++++++----
 content/guides/ug.html                          |   4 +-
 content/guides/ugfun.html                       | 575 ++++++++++++-
 content/guides/ugvw.html                        | 138 +--
 content/migration-notes.html                    |  25 +
 content/release-notes.html                      |  23 +
 content/screencasts.html                        |   6 +-
 13 files changed, 2653 insertions(+), 384 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis-site/blob/e106aba4/content/applib/layout/component/component.xsd
----------------------------------------------------------------------
diff --git a/content/applib/layout/component/component.xsd b/content/applib/layout/component/component.xsd
new file mode 100644
index 0000000..5ed46a2
--- /dev/null
+++ b/content/applib/layout/component/component.xsd
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://isis.apache.org/applib/layout/component" elementFormDefault="qualified" targetNamespace="http://isis.apache.org/applib/layout/component" version="1.0">
+
+  <xs:element name="action" type="tns:action"/>
+
+  <xs:element name="collection" type="tns:collection"/>
+
+  <xs:element name="domainObject" type="tns:domainObject"/>
+
+  <xs:element name="fieldSet" type="tns:fieldSet"/>
+
+  <xs:element name="property" type="tns:property"/>
+
+  <xs:complexType name="domainObject">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="named" type="xs:string"/>
+      <xs:element minOccurs="0" name="describedAs" type="xs:string"/>
+      <xs:element minOccurs="0" name="plural" type="xs:string"/>
+      <xs:element minOccurs="0" name="metadataError" type="xs:string"/>
+    </xs:sequence>
+    <xs:attribute name="bookmarking" type="tns:bookmarkPolicy"/>
+    <xs:attribute name="cssClass" type="xs:string"/>
+    <xs:attribute name="cssClassFa" type="xs:string"/>
+    <xs:attribute name="cssClassFaPosition" type="tns:cssClassFaPosition"/>
+    <xs:attribute name="namedEscaped" type="xs:boolean"/>
+  </xs:complexType>
+
+  <xs:complexType name="action">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="named" type="xs:string"/>
+      <xs:element minOccurs="0" name="describedAs" type="xs:string"/>
+      <xs:element minOccurs="0" name="metadataError" type="xs:string"/>
+    </xs:sequence>
+    <xs:attribute name="bookmarking" type="tns:bookmarkPolicy"/>
+    <xs:attribute name="cssClass" type="xs:string"/>
+    <xs:attribute name="cssClassFa" type="xs:string"/>
+    <xs:attribute name="cssClassFaPosition" type="tns:cssClassFaPosition"/>
+    <xs:attribute name="hidden" type="tns:where"/>
+    <xs:attribute name="id" type="xs:string" use="required"/>
+    <xs:attribute name="namedEscaped" type="xs:boolean"/>
+    <xs:attribute name="position" type="tns:position"/>
+  </xs:complexType>
+
+  <xs:complexType name="fieldSet">
+    <xs:sequence>
+      <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:action"/>
+      <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:property"/>
+      <xs:element minOccurs="0" name="metadataError" type="xs:string"/>
+    </xs:sequence>
+    <xs:attribute name="name" type="xs:string" use="required"/>
+    <xs:attribute name="id" type="xs:string"/>
+    <xs:attribute name="unreferencedActions" type="xs:boolean"/>
+    <xs:attribute name="unreferencedProperties" type="xs:boolean"/>
+  </xs:complexType>
+
+  <xs:complexType name="property">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="named" type="xs:string"/>
+      <xs:element minOccurs="0" name="describedAs" type="xs:string"/>
+      <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:action"/>
+      <xs:element minOccurs="0" name="metadataError" type="xs:string"/>
+    </xs:sequence>
+    <xs:attribute name="cssClass" type="xs:string"/>
+    <xs:attribute name="hidden" type="tns:where"/>
+    <xs:attribute name="id" type="xs:string" use="required"/>
+    <xs:attribute name="labelPosition" type="tns:labelPosition"/>
+    <xs:attribute name="multiLine" type="xs:int"/>
+    <xs:attribute name="namedEscaped" type="xs:boolean"/>
+    <xs:attribute name="renderedAsDayBefore" type="xs:boolean"/>
+    <xs:attribute name="typicalLength" type="xs:int"/>
+  </xs:complexType>
+
+  <xs:complexType name="collection">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="named" type="xs:string"/>
+      <xs:element minOccurs="0" name="describedAs" type="xs:string"/>
+      <xs:element minOccurs="0" name="sortedBy" type="xs:string"/>
+      <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:action"/>
+      <xs:element minOccurs="0" name="metadataError" type="xs:string"/>
+    </xs:sequence>
+    <xs:attribute name="cssClass" type="xs:string"/>
+    <xs:attribute name="defaultView" type="xs:string"/>
+    <xs:attribute name="hidden" type="tns:where"/>
+    <xs:attribute name="id" type="xs:string" use="required"/>
+    <xs:attribute name="namedEscaped" type="xs:boolean"/>
+    <xs:attribute name="paged" type="xs:int"/>
+  </xs:complexType>
+
+  <xs:simpleType name="bookmarkPolicy">
+    <xs:restriction base="xs:string">
+      <xs:enumeration value="AS_ROOT"/>
+      <xs:enumeration value="AS_CHILD"/>
+      <xs:enumeration value="NEVER"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="cssClassFaPosition">
+    <xs:restriction base="xs:string">
+      <xs:enumeration value="LEFT"/>
+      <xs:enumeration value="RIGHT"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="where">
+    <xs:restriction base="xs:string">
+      <xs:enumeration value="EVERYWHERE"/>
+      <xs:enumeration value="ANYWHERE"/>
+      <xs:enumeration value="OBJECT_FORMS"/>
+      <xs:enumeration value="REFERENCES_PARENT"/>
+      <xs:enumeration value="PARENTED_TABLES"/>
+      <xs:enumeration value="STANDALONE_TABLES"/>
+      <xs:enumeration value="ALL_TABLES"/>
+      <xs:enumeration value="ALL_EXCEPT_STANDALONE_TABLES"/>
+      <xs:enumeration value="NOWHERE"/>
+      <xs:enumeration value="NOT_SPECIFIED"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="position">
+    <xs:restriction base="xs:string">
+      <xs:enumeration value="BELOW"/>
+      <xs:enumeration value="RIGHT"/>
+      <xs:enumeration value="PANEL"/>
+      <xs:enumeration value="PANEL_DROPDOWN"/>
+    </xs:restriction>
+  </xs:simpleType>
+
+  <xs:simpleType name="labelPosition">
+    <xs:restriction base="xs:string">
+      <xs:enumeration value="DEFAULT"/>
+      <xs:enumeration value="LEFT"/>
+      <xs:enumeration value="RIGHT"/>
+      <xs:enumeration value="TOP"/>
+      <xs:enumeration value="NONE"/>
+    </xs:restriction>
+  </xs:simpleType>
+</xs:schema>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/isis-site/blob/e106aba4/content/applib/layout/grid/bootstrap3/bootstrap3.xsd
----------------------------------------------------------------------
diff --git a/content/applib/layout/grid/bootstrap3/bootstrap3.xsd b/content/applib/layout/grid/bootstrap3/bootstrap3.xsd
new file mode 100644
index 0000000..acf8853
--- /dev/null
+++ b/content/applib/layout/grid/bootstrap3/bootstrap3.xsd
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://isis.apache.org/applib/layout/component" xmlns:tns="http://isis.apache.org/applib/layout/grid/bootstrap3" elementFormDefault="qualified" targetNamespace="http://isis.apache.org/applib/layout/grid/bootstrap3" version="1.0">
+
+    <xs:import namespace="http://isis.apache.org/applib/layout/component" schemaLocation="../../component"/>
+
+    <xs:element name="clearFixHidden" type="tns:clearFixHidden"/>
+
+    <xs:element name="clearFixVisible" type="tns:clearFixVisible"/>
+
+    <xs:element name="col" type="tns:col"/>
+
+    <xs:element name="grid" type="tns:grid"/>
+
+    <xs:complexType name="grid">
+        <xs:sequence>
+            <xs:element maxOccurs="unbounded" name="row" type="tns:row"/>
+            <xs:element maxOccurs="unbounded" minOccurs="0" name="metadataError" type="xs:string"/>
+        </xs:sequence>
+        <xs:attribute name="cssClass" type="xs:string"/>
+    </xs:complexType>
+
+    <xs:complexType name="row">
+        <xs:complexContent>
+            <xs:extension base="tns:bs3ElementAbstract">
+                <xs:sequence>
+                    <xs:choice maxOccurs="unbounded" minOccurs="0">
+                        <xs:element ref="tns:col"/>
+                        <xs:element ref="tns:clearFixVisible"/>
+                        <xs:element ref="tns:clearFixHidden"/>
+                    </xs:choice>
+                    <xs:element minOccurs="0" name="metadataError" type="xs:string"/>
+                </xs:sequence>
+                <xs:attribute name="id" type="xs:string"/>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+
+    <xs:complexType abstract="true" name="bs3ElementAbstract">
+        <xs:sequence/>
+        <xs:attribute name="cssClass" type="xs:string"/>
+    </xs:complexType>
+
+    <xs:complexType name="col">
+        <xs:complexContent>
+            <xs:extension base="tns:bs3RowContent">
+                <xs:sequence>
+                    <xs:element maxOccurs="unbounded" minOccurs="0" name="sizeSpan" type="tns:sizeSpan"/>
+                    <xs:element minOccurs="0" ref="ns1:domainObject"/>
+                    <xs:element maxOccurs="unbounded" minOccurs="0" ref="ns1:action"/>
+                    <xs:element maxOccurs="unbounded" minOccurs="0" name="row" type="tns:row"/>
+                    <xs:element maxOccurs="unbounded" minOccurs="0" name="tabGroup" type="tns:tabGroup"/>
+                    <xs:element maxOccurs="unbounded" minOccurs="0" ref="ns1:fieldSet"/>
+                    <xs:element maxOccurs="unbounded" minOccurs="0" ref="ns1:collection"/>
+                    <xs:element minOccurs="0" name="metadataError" type="xs:string"/>
+                </xs:sequence>
+                <xs:attribute name="id" type="xs:string"/>
+                <xs:attribute name="span" type="xs:int" use="required"/>
+                <xs:attribute name="unreferencedActions" type="xs:boolean"/>
+                <xs:attribute name="unreferencedCollections" type="xs:boolean"/>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+
+    <xs:complexType abstract="true" name="bs3RowContent">
+        <xs:complexContent>
+            <xs:extension base="tns:bs3ElementAbstract">
+                <xs:sequence/>
+                <xs:attribute name="size" type="tns:size"/>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+
+    <xs:complexType name="sizeSpan">
+        <xs:all/>
+        <xs:attribute name="offset" type="xs:boolean"/>
+        <xs:attribute name="size" type="tns:size" use="required"/>
+        <xs:attribute name="span" type="xs:int" use="required"/>
+    </xs:complexType>
+
+    <xs:complexType name="tabGroup">
+        <xs:complexContent>
+            <xs:extension base="tns:bs3ElementAbstract">
+                <xs:sequence>
+                    <xs:element maxOccurs="unbounded" minOccurs="0" name="tab" type="tns:tab"/>
+                    <xs:element minOccurs="0" name="metadataError" type="xs:string"/>
+                </xs:sequence>
+                <xs:attribute name="unreferencedCollections" type="xs:boolean"/>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+
+    <xs:complexType name="tab">
+        <xs:complexContent>
+            <xs:extension base="tns:bs3ElementAbstract">
+                <xs:sequence>
+                    <xs:element maxOccurs="unbounded" name="row" type="tns:row"/>
+                </xs:sequence>
+                <xs:attribute name="name" type="xs:string" use="required"/>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+
+    <xs:complexType name="clearFixVisible">
+        <xs:complexContent>
+            <xs:extension base="tns:bs3ClearFix">
+                <xs:sequence/>
+                <xs:attribute name="cssDisplay" type="tns:cssDisplay" use="required"/>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+
+    <xs:complexType abstract="true" name="bs3ClearFix">
+        <xs:complexContent>
+            <xs:extension base="tns:bs3RowContent">
+                <xs:sequence/>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+
+    <xs:complexType name="clearFixHidden">
+        <xs:complexContent>
+            <xs:extension base="tns:bs3ClearFix">
+                <xs:sequence/>
+            </xs:extension>
+        </xs:complexContent>
+    </xs:complexType>
+
+    <xs:simpleType name="size">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="XS"/>
+            <xs:enumeration value="SM"/>
+            <xs:enumeration value="MD"/>
+            <xs:enumeration value="LG"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+    <xs:simpleType name="cssDisplay">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="BLOCK"/>
+            <xs:enumeration value="INLINE"/>
+            <xs:enumeration value="INLINE_BLOCK"/>
+        </xs:restriction>
+    </xs:simpleType>
+</xs:schema>

http://git-wip-us.apache.org/repos/asf/isis-site/blob/e106aba4/content/guides/cg.html
----------------------------------------------------------------------
diff --git a/content/guides/cg.html b/content/guides/cg.html
new file mode 100644
index 0000000..c9ae416
--- /dev/null
+++ b/content/guides/cg.html
@@ -0,0 +1,836 @@
+<!doctype html>
+<html class="no-js" lang="en">
+<head>
+    <meta charset="utf-8"/>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
+
+    <title>"Supporting Procedures" Guides</title>
+
+    <!--
+        Licensed to the Apache Software Foundation (ASF) under one
+        or more contributor license agreements.  See the NOTICE file
+        distributed with this work for additional information
+        regarding copyright ownership.  The ASF licenses this file
+        to you under the Apache License, Version 2.0 (the
+        "License"); you may not use this file except in compliance
+        with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+        Unless required by applicable law or agreed to in writing,
+        software distributed under the License is distributed on an
+        "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+        KIND, either express or implied.  See the License for the
+        specific language governing permissions and limitations
+        under the License.
+    -->
+
+    <!-- No caching headers -->
+    <meta http-equiv="cache-control" content="no-cache" />
+    <meta http-equiv="pragma" content="no-cache" />
+    <meta http-equiv="expires" content="-1" />
+
+
+    <!-- TODO: need to (re)instate CDN in the future (not using for now just so can develop off-line -->
+    <link href="../css/foundation/5.5.1/foundation.css" rel="stylesheet" />
+    <script src="../js/foundation/5.5.1/vendor/modernizr.js"></script>
+    <link href="../css/asciidoctor/colony.css" rel="stylesheet">
+    <link href="../css/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
+
+
+
+
+    <link href="../css/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.css" rel="stylesheet" />
+    <!--[if lt IE 9]>
+      <link href="../css/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.ie.css" rel="stylesheet" />
+    <![endif]-->
+
+
+
+    <style type="text/css">
+        pre code {
+            background-color: inherit;
+            border-style: none;
+        }
+
+        pre code > span:first-child {
+            margin-left: -5px;
+        }
+
+    <style>
+
+    <!--
+    <style type="text/css">
+        /* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
+/*pre.CodeRay {background-color:#f7f7f8;}*/
+.CodeRay .line-numbers{border-right:1px solid #d8d8d8;padding:0 0.5em 0 .25em}
+.CodeRay span.line-numbers{display:inline-block;margin-right:.5em;color:rgba(0,0,0,.3)}
+.CodeRay .line-numbers strong{font-weight: normal}
+table.CodeRay{border-collapse:separate;border-spacing:0;margin-bottom:0;border:0;background:none}
+table.CodeRay td{vertical-align: top}
+table.CodeRay td.line-numbers{text-align:right}
+table.CodeRay td.line-numbers>pre{padding:0;color:rgba(0,0,0,.3)}
+table.CodeRay td.code{padding:0 0 0 .5em}
+table.CodeRay td.code>pre{padding:0}
+.CodeRay .debug{color:#fff !important;background:#000080 !important}
+.CodeRay .annotation{color:#007}
+.CodeRay .attribute-name{color:#000080}
+.CodeRay .attribute-value{color:#700}
+.CodeRay .binary{color:#509}
+.CodeRay .comment{color:#998;font-style:italic}
+.CodeRay .char{color:#04d}
+.CodeRay .char .content{color:#04d}
+.CodeRay .char .delimiter{color:#039}
+.CodeRay .class{color:#458;font-weight:bold}
+.CodeRay .complex{color:#a08}
+.CodeRay .constant,.CodeRay .predefined-constant{color:#008080}
+.CodeRay .color{color:#099}
+.CodeRay .class-variable{color:#369}
+.CodeRay .decorator{color:#b0b}
+.CodeRay .definition{color:#099}
+.CodeRay .delimiter{color:#000}
+.CodeRay .doc{color:#970}
+.CodeRay .doctype{color:#34b}
+.CodeRay .doc-string{color:#d42}
+.CodeRay .escape{color:#666}
+.CodeRay .entity{color:#800}
+.CodeRay .error{color:#808}
+.CodeRay .exception{color:inherit}
+.CodeRay .filename{color:#099}
+.CodeRay .function{color:#900;font-weight:bold}
+.CodeRay .global-variable{color:#008080}
+.CodeRay .hex{color:#058}
+.CodeRay .integer,.CodeRay .float{color:#099}
+.CodeRay .include{color:#555}
+.CodeRay .inline{color:#00}
+.CodeRay .inline .inline{background:#ccc}
+.CodeRay .inline .inline .inline{background:#bbb}
+.CodeRay .inline .inline-delimiter{color:#d14}
+.CodeRay .inline-delimiter{color:#d14}
+.CodeRay .important{color:#555;font-weight:bold}
+.CodeRay .interpreted{color:#b2b}
+.CodeRay .instance-variable{color:#008080}
+.CodeRay .label{color:#970}
+.CodeRay .local-variable{color:#963}
+.CodeRay .octal{color:#40e}
+.CodeRay .predefined{color:#369}
+.CodeRay .preprocessor{color:#579}
+.CodeRay .pseudo-class{color:#555}
+.CodeRay .directive{font-weight:bold}
+.CodeRay .type{font-weight:bold}
+.CodeRay .predefined-type{color:inherit}
+.CodeRay .reserved,.CodeRay .keyword {color:#000;font-weight:bold}
+.CodeRay .key{color:#808}
+.CodeRay .key .delimiter{color:#606}
+.CodeRay .key .char{color:#80f}
+.CodeRay .value{color:#088}
+.CodeRay .regexp .delimiter{color:#808}
+.CodeRay .regexp .content{color:#808}
+.CodeRay .regexp .modifier{color:#808}
+.CodeRay .regexp .char{color:#d14}
+.CodeRay .regexp .function{color:#404;font-weight:bold}
+.CodeRay .string{color:#d20}
+.CodeRay .string .string .string{background:#ffd0d0}
+.CodeRay .string .content{color:#d14}
+.CodeRay .string .char{color:#d14}
+.CodeRay .string .delimiter{color:#d14}
+.CodeRay .shell{color:#d14}
+.CodeRay .shell .delimiter{color:#d14}
+.CodeRay .symbol{color:#990073}
+.CodeRay .symbol .content{color:#a60}
+.CodeRay .symbol .delimiter{color:#630}
+.CodeRay .tag{color:#008080}
+.CodeRay .tag-special{color:#d70}
+.CodeRay .variable{color:#036}
+.CodeRay .insert{background:#afa}
+.CodeRay .delete{background:#faa}
+.CodeRay .change{color:#aaf;background:#007}
+.CodeRay .head{color:#f8f;background:#505}
+.CodeRay .insert .insert{color:#080}
+.CodeRay .delete .delete{color:#800}
+.CodeRay .change .change{color:#66f}
+.CodeRay .head .head{color:#f4f}
+
+        pre.CodeRay code {
+            background-color: inherit;
+            border-style: none;
+        }
+
+        pre.CodeRay code > span:first-child {
+            margin-left: -5px;
+        }
+
+        .literalblock pre,
+        .listingblock pre:not(.highlight),
+        .listingblock pre[class="highlight"],
+        .listingblock pre[class^="highlight "],
+        .listingblock pre.CodeRay,
+        .listingblock pre.prettyprint {
+            background: rgb(253, 250, 246);
+         }
+        .sidebarblock .literalblock pre,
+        .sidebarblock .listingblock pre:not(.highlight),
+        .sidebarblock .listingblock pre[class="highlight"],
+        .sidebarblock .listingblock pre[class^="highlight "],
+        .sidebarblock .listingblock pre.CodeRay,
+        .sidebarblock .listingblock pre.prettyprint {
+            background: rgb(253, 250, 246);
+         }
+
+    <style>
+    -->
+
+    <style>
+    .github-fork-ribbon-wrapper.right {
+        position: fixed;
+    }
+    .github-fork-ribbon {
+        background: #090;
+    }
+    .github-fork-ribbon a:hover {
+        background:#0D0;
+        color:#fff;
+        font-size: 1.1em;
+    }
+    </style>
+
+    <style>
+        @media only screen and (min-width: 40.063em) {
+          .top-bar {
+            .contain-to-grid .top-bar {
+                max-width: 80rem;
+            }
+          }
+        }
+        .row {
+            max-width: 80rem;
+        }
+    </style>
+
+    <style>
+        .extended-quote,
+        .extended-quote-first {
+            margin-left: 40px;
+            margin-right: 40px;
+            font-style: italic;
+        }
+        .extended-quote-attribution {
+            text-align: right;
+            margin-right: 100px;
+            color: #10B061;
+        }
+
+        .extended-quote-first:before {
+            content: "\201c";
+            float: left;
+            font-size: 2.75em;
+            font-weight: bold;
+            line-height: 0.6em;
+            margin-left: -0.6em;
+            color: #003b6b;
+            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
+        }
+        
+    </style>
+
+    <style>
+        body {
+          position: relative;
+        }
+
+        *:not(pre) a > code {
+            color: #210DDC;
+        }
+
+        *:not(pre) > code {
+            background-color: inherit;
+            border: none;
+            font-weight: normal;
+        }
+
+        body div#toc li,
+        body div#toc2 li {
+            list-style-type: none;
+        }
+
+        div#doc-content {
+            margin-top: 30px;
+        }
+
+        div.documentation-page table.frame-all {
+            border-left: none;
+            border-right: none;
+        }
+
+        body div#toc li.active-region:before,
+        body div#toc2 li.active-region:before {
+            content: "\00BB \0020";
+            margin-left: -12px;
+        }
+
+        body div#toc li a.active,
+        body div#toc2 li a.active {
+            color: red;
+        }
+
+        body div#toc.toc,
+        body div#toc.toc2 {
+            position: fixed;
+            left: auto;
+            padding-top: 60px;
+            z-index: auto;
+            background-color: white;
+            border-left-color: #eee;
+            border-left-style: solid;
+            border-right: none;
+            min-height: 2000px;
+        }
+
+    </style>
+
+    <style>
+
+        @media only screen and (min-width: 768px) {
+          #toc.toc2 ul ul { margin-left: -10px; }
+        }
+
+
+        body div#toc .tocify-subheader ul {
+            margin-bottom: 0px;
+        }
+
+        body div#toc .tocify-subheader li {
+            font-size: 14px;
+        }
+        .tocify li.tocify-item, .tocify ul.tocify-item {
+            line-height: 24px;
+        }
+
+        body div#toc li.tocify-item.active:before,
+        body div#toc2 li.tocify-item.active:before {
+            content: "\00BB \0020";
+            margin-left: -12px;
+        }
+
+        body div#toc li.tocify-item.active a,
+        body div#toc2 li.tocify-item.active a {
+            color: red;
+        }
+    </style>
+
+    <style>
+        footer {
+            margin-top: 1000px;
+        }
+    </style>
+
+    <style>
+        /* overriding colony.css stylesheet */
+        .literalblock pre, .literalblock pre[class], .listingblock pre, .listingblock pre[class] {
+           /*padding: 1.25em 1.5625em 1.125em 1.5625em;*/
+           padding: 0.3em 0.6em 0.25em 0.6em;
+        }
+        @media only screen and (min-width: 1280px)
+        #toc.toc2 {
+          /*width: 20em;*/
+          width: 25em;
+        }
+
+        #doc-content a {
+          color: #210DDC;
+        }
+
+        .top-bar h1 {
+            border-bottom: inherit;
+        }
+
+        h2 {
+          margin-top: 80px;
+        }
+        h3 {
+          margin-top: 40px;
+        }
+        h4,h5 {
+          margin-top: 30px;
+        }
+
+        .admonitionblock.tip > table td.content {
+            color: #10B061;
+        }
+        .admonitionblock.note > table td.content {
+            color: #B509AB;
+        }
+        .admonitionblock.important > table td.content {
+            color: #D5810A;
+        }
+
+        .admonitionblock .title {
+            font-size: larger;
+            font-style: italic;
+        }
+
+        .imageblock img {
+            margin-bottom: 10px;
+        }
+    </style>
+
+    <style>
+        /* from http://ben.balter.com/2014/03/13/pages-anchor-links/ */
+        .header-link {
+          position: absolute;
+          left: -0.5em;
+          opacity: 0;
+
+          /*
+          -webkit-transition: opacity 0.2s ease-in-out 0.1s;
+          -moz-transition: opacity 0.2s ease-in-out 0.1s;
+          -ms-transition: opacity 0.2s ease-in-out 0.1s;
+          */
+        }
+
+        h2:hover .header-link,
+        h3:hover .header-link,
+        h4:hover .header-link,
+        h5:hover .header-link,
+        h6:hover .header-link {
+          opacity: 1;
+        }
+    </style>
+
+    <style>
+        .top-bar
+        {
+            -webkit-transition-duration: .5s;
+            transition-duration: .5s;
+
+            -webkit-transition-timing-function: cubic-bezier( 0.215, 0.610, 0.355, 1.000 );
+            transition-timing-function: cubic-bezier( 0.215, 0.610, 0.355, 1.000 );
+
+            -webkit-transition-property: -webkit-transform;
+            transition-property: transform;
+        }
+
+        /*
+        http://osvaldas.info/auto-hide-sticky-header
+        MIT license
+        */
+        .header--hidden
+        {
+            -webkit-transform: translateY( -100% );
+            -ms-transform: translateY( -100% );
+            transform: translateY( -100% );
+
+            transition-duration: .5s;
+            transition-timing-function: cubic-bezier( 0.215, 0.610, 0.355, 1.000 );
+            -webkit-transition-property: -webkit-transform;
+            transition-property: transform;
+        }
+    </style>
+
+    <style>
+        #doc-content a.guide {
+            color: white;
+        }
+    </style>
+
+    <style>
+        .tocify {
+            margin-top: 80px;
+        }
+    </style>
+
+
+</script>
+
+</head>
+<body>
+
+<<div class="github-fork-ribbon-wrapper right" style="position: fixed;">
+    <div class="github-fork-ribbon">
+        <a href="https://github.com/apache/isis/fork">Fork me on GitHub</a>
+    </div>
+</div>
+
+
+<div class="row">
+
+    <div class="fixed contain-to-grid header">
+        <nav class="top-bar" data-topbar role="navigation" style="max-width: 80rem">
+            <ul class="title-area">
+                <li class="name">
+                    <h1>
+                        <a href="/index.html">Apache Isis&trade;</a>
+                    </h1>
+                </li>
+                <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
+                <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
+            </ul>
+
+            <section class="top-bar-section">
+                <ul class="right">
+
+                    <li class="has-form">
+                       <FORM class="searchbox navbar-form navbar-right" id="searchbox_012614087480249044419:dn-q5gtwxya" action="http://www.google.com/cse">
+                        <div class="row collapse">
+                            <input type="hidden" name="cx" value="012614087480249044419:dn-q5gtwxya">
+                            <INPUT type="hidden" name="cof" value="FORID:0">
+                            <INPUT class="form-control" name="q" type="text" placeholder="Search">
+                        </div>
+                    </FORM>
+                     </li>
+
+                </ul>
+
+                <!-- Left Nav Section -->
+                <ul class="left">
+
+                    <li><a href="/documentation.html">Documentation</a></li>
+                    <li><a href="/downloads.html">Downloads</a></li>
+                    <li><a href="/help.html">Help</a></li>
+                    <li><a href="/asf.html">@ASF</a></li>
+
+                </ul>
+
+            </section>
+        </nav>
+    </div>
+</div>
+
+<div class="row">
+
+    <div id="doc-content-left" class="large-9 medium-9 columns">
+
+
+        <div id="doc-content">
+          <div class="paragraph">
+<p>Apache Isis documentation is broken out into a number of user, reference and "supporting procedures" guides.</p>
+</div>
+<div class="paragraph">
+<p>The user guides available are:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><a href="ugfun.html">Fundamentals</a></p>
+</li>
+<li>
+<p><a href="ugvw.html">Wicket viewer</a></p>
+</li>
+<li>
+<p><a href="ugvro.html">Restful Objects viewer</a></p>
+</li>
+<li>
+<p><a href="ugsec.html">Security</a></p>
+</li>
+<li>
+<p><a href="ugtst.html">Testing</a></p>
+</li>
+<li>
+<p><a href="ugbtb.html">Beyond the Basics</a></p>
+</li>
+</ul>
+</div>
+<div class="paragraph">
+<p>The reference guides are:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><a href="rgant.html">Annotations</a></p>
+</li>
+<li>
+<p><a href="rgsvc.html">Domain Services</a></p>
+</li>
+<li>
+<p><a href="rgcfg.html">Configuration Properties</a></p>
+</li>
+<li>
+<p><a href="rgcms.html">Classes, Methods and Schema</a></p>
+</li>
+</ul>
+</div>
+<div class="paragraph">
+<p>The <strong>supporting procedures</strong> guides are:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><a href="cgcon.html">Contributors' Guide</a> (how to set up a development environment
+for Apache Isis and contribute back to the project)</p>
+</li>
+<li>
+<p><a href="cgcon.html">Committers' Guide</a> (release procedures and related practices)</p>
+</li>
+</ul>
+</div>
+        </div>
+
+        <footer>
+          <hr>
+          <p class="small">
+          Copyright &copy; 2010~2015 The Apache&nbsp;Software&nbsp;Foundation, licensed under the Apache&nbsp;License,&nbsp;v2.0.
+          <br/>
+          Apache, the Apache feather logo, Apache&nbsp;Isis, and the Apache&nbsp;Isis project logo are all trademarks of The&nbsp;Apache&nbsp;Software&nbsp;Foundation.
+          </p>
+        </footer>
+
+    </div>
+
+    <div id="doc-content-right" class="large-3 medium-3 xcolumns">
+        <div id="toc" class="toc2">
+            <div class="fallback-toc">
+                
+            </div>
+        </div>
+    </div>
+
+</div>
+
+
+<script src="../js/foundation/5.5.1/vendor/jquery.js"></script>
+<script src="../js/foundation/5.5.1/foundation.min.js"></script>
+
+
+<link href="../css/jquery.tocify/1.9.0/jquery.tocify.css" rel="stylesheet">
+<script src="../js/jqueryui/1.11.4/jquery-ui.min.js"></script>
+<script src="../js/jquery.tocify/1.9.0/jquery.tocify.js"></script>
+
+
+
+<script type="text/javascript">
+    $(function () {
+        $("#toc").tocify({
+            scrollTo: 50,
+            extendPage: true,
+            context: "#doc-content",
+            highlightOnScroll: true,
+            hashGenerator: "pretty",
+            hideEffect: "slideUp",
+            selectors: "h2,h3,h4,h5"
+        });
+        $(".fallback-toc").hide();
+    });
+</script>
+
+<script type="text/javascript">
+
+  /****
+
+      $(document).foundation();
+
+      $(document).ready(function(){
+        // Cache selectors
+        var lastId,
+            topMenu = $("div#toc ul"),
+            topMenuHeight = 100,
+
+            menuItems = topMenu.find("a"),
+            menuItemsHrefs = menuItems.map(function(){
+              var item = $($(this).attr("href"));
+              if (item.length) { return item; }
+            });
+
+        // Bind click handler to menu items to scroll animation
+        menuItems.click(function(e){
+          var href = $(this).attr("href"),
+              offsetTop = href === "#" ? 0 : $(href).offset().top-topMenuHeight+1;
+          $('html, body').stop().animate({
+              scrollTop: offsetTop
+          }, 300);
+
+          e.preventDefault();
+        });
+
+        // Bind to scroll of window
+        $(  window ).scroll(function(){
+
+           // Get container scroll position
+           var fromTop = $(this).scrollTop()+topMenuHeight;
+
+           var cur = menuItemsHrefs.map(function(){
+             if ($(this).offset().top < fromTop)
+               return this;
+           });
+
+           // Get the id of the current element
+           cur = cur[cur.length-1];
+
+           var id = cur && cur.length ? cur[0].id : "";
+
+           if (lastId !== id && id) {
+               scrollTo(id);
+           }
+
+           window.history.pushState({}, "", window.location.origin + window.location.pathname + "#" + id);
+        });
+
+        scrollTo = function(id) {
+              lastId = id;
+
+              menuItems
+                .removeClass("active");
+
+              menuItems
+                .parents()
+                .removeClass("active-region");
+
+              menuItems
+                .parents("ul").hide();
+
+              menuItems
+                .filter("[href=#"+id+"]")
+                .addClass("active");
+
+              menuItems
+                .filter("[href=#"+id+"]")
+                .parents("ul").show();
+
+              menuItems
+                .filter("[href=#"+id+"]")
+                .parent().children("ul").show();
+
+              menuItems
+                .filter("[href=#"+id+"]")
+                .parents("li").addClass("active-region");
+
+        }
+      menuItems
+        .removeClass("active");
+
+      menuItems
+        .parents()
+        .removeClass("active-region");
+
+        var syncMenuItem;
+        if(window.location.hash!=="") {
+            var menuItemFor = $.grep(menuItems, function(e) {
+                return e.hash === window.location.hash;
+            });
+            console.log(menuItemFor);
+            if(menuItemFor.length === 1) {
+                syncMenuItem = menuItemFor[0];
+            }
+        }
+
+        if(!syncMenuItem){
+            syncMenuItem = menuItems[0];
+        }
+
+        $(syncMenuItem).click();
+
+      });
+
+    ***/
+
+</script>
+
+<script type="text/javascript">
+
+$(document).ready(function(){
+    if("Documentation" === ""Supporting Procedures" Guides") {
+        console.log( "processing 'Documentation'" );
+
+        $("#doc-content-left").removeClass("large-9").removeClass("medium-9").addClass("large-12").addClass("medium-12");
+        $("#doc-content-right").removeClass("large-3").removeClass("medium-3").hide();
+    }
+
+});
+
+</script>
+
+
+<script>
+
+$( document ).ready(function() {
+
+    (function() {
+      $(function() {
+        return $("#doc-content h2, #doc-content h3, #doc-content h4, #doc-content h5, #doc-content h6").each(function(i, el) {
+          var $el, icon, id;
+          $el = $(el);
+          id = $el.attr('id');
+          icon = '<i class="fa fa-link"></i>';
+          if (id) {
+            return $el.prepend($("<a />").addClass("header-link").attr("href", "#" + id).html(icon));
+          }
+        });
+      });
+    }).call(this);
+
+
+
+	/*
+        http://osvaldas.info/auto-hide-sticky-header
+        MIT license
+	*/
+	;( function( $, window, document, undefined )
+	{
+		'use strict';
+
+		var elSelector		= '.header',
+			elClassHidden	= 'header--hidden',
+			throttleTimeout	= 500,
+			$element		= $( elSelector );
+
+		if( !$element.length ) return true;
+
+		var $window			= $( window ),
+			wHeight			= 0,
+			wScrollCurrent	= 0,
+			wScrollBefore	= 0,
+			wScrollDiff		= 0,
+			$document		= $( document ),
+			dHeight			= 0,
+
+			throttle = function( delay, fn )
+			{
+				var last, deferTimer;
+				return function()
+				{
+					var context = this, args = arguments, now = +new Date;
+					if( last && now < last + delay )
+					{
+						clearTimeout( deferTimer );
+						deferTimer = setTimeout( function(){ last = now; fn.apply( context, args ); }, delay );
+					}
+					else
+					{
+						last = now;
+						fn.apply( context, args );
+					}
+				};
+			};
+
+		$window.on( 'scroll', throttle( throttleTimeout, function()
+		{
+			dHeight			= $document.height();
+			wHeight			= $window.height();
+			wScrollCurrent	= $window.scrollTop();
+			wScrollDiff		= wScrollBefore - wScrollCurrent;
+
+			if( wScrollCurrent <= 0 ) // scrolled to the very top; element sticks to the top
+				$element.removeClass( elClassHidden );
+
+			else if( wScrollDiff > 0 && $element.hasClass( elClassHidden ) ) // scrolled up; element slides in
+				$element.removeClass( elClassHidden );
+
+			else if( wScrollDiff < 0 ) // scrolled down
+			{
+				if( wScrollCurrent + wHeight >= dHeight && $element.hasClass( elClassHidden ) ) // scrolled to the very bottom; element slides in
+					$element.removeClass( elClassHidden );
+
+				else // scrolled down; element slides out
+					$element.addClass( elClassHidden );
+			}
+
+			wScrollBefore = wScrollCurrent;
+		}));
+
+	})( jQuery, window, document );
+
+
+});
+</script>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/isis-site/blob/e106aba4/content/guides/images/ugfun/_ugfun_object-layout_dynamic_xml/ToDoItem.png
----------------------------------------------------------------------
diff --git a/content/guides/images/ugfun/_ugfun_object-layout_dynamic_xml/ToDoItem.png b/content/guides/images/ugfun/_ugfun_object-layout_dynamic_xml/ToDoItem.png
new file mode 100644
index 0000000..c47d52f
Binary files /dev/null and b/content/guides/images/ugfun/_ugfun_object-layout_dynamic_xml/ToDoItem.png differ

http://git-wip-us.apache.org/repos/asf/isis-site/blob/e106aba4/content/guides/rg.html
----------------------------------------------------------------------
diff --git a/content/guides/rg.html b/content/guides/rg.html
index 1947b3d..5abb211 100644
--- a/content/guides/rg.html
+++ b/content/guides/rg.html
@@ -503,10 +503,10 @@ table.CodeRay td.code>pre{padding:0}
 
         <div id="doc-content">
           <div class="paragraph">
-<p>Apache Isis documentation is broken out into a number of user and reference guides.</p>
+<p>Apache Isis documentation is broken out into a number of user, reference and "supporting procedures" guides.</p>
 </div>
 <div class="paragraph">
-<p>The user guides available are:</p>
+<p>The <strong>user guides</strong> available are:</p>
 </div>
 <div class="ulist">
 <ul>
@@ -526,7 +526,7 @@ table.CodeRay td.code>pre{padding:0}
 <p><a href="ugtst.html">Testing</a></p>
 </li>
 <li>
-<p><a href="ugbtb.html">Beyond the Basics</a> (this guide)</p>
+<p><a href="ugbtb.html">Beyond the Basics</a></p>
 </li>
 </ul>
 </div>
@@ -550,9 +550,18 @@ table.CodeRay td.code>pre{padding:0}
 </ul>
 </div>
 <div class="paragraph">
-<p>In addition, there is a <a href="cgcon.html">Contributors' Guide</a> (that describes how to set up a development environment
-for Apache Isis and contribute back to the project), and a <a href="cgcon.html">Committers' Guide</a> (that describes release
-procedures and related practices).</p>
+<p>The "supporting procedures" guides are:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><a href="cgcon.html">Contributors' Guide</a> (how to set up a development environment
+for Apache Isis and contribute back to the project)</p>
+</li>
+<li>
+<p><a href="cgcon.html">Committers' Guide</a> (release procedures and related practices)</p>
+</li>
+</ul>
 </div>
         </div>
 

http://git-wip-us.apache.org/repos/asf/isis-site/blob/e106aba4/content/guides/rgcms.html
----------------------------------------------------------------------
diff --git a/content/guides/rgcms.html b/content/guides/rgcms.html
index 446358c..cbf756b 100644
--- a/content/guides/rgcms.html
+++ b/content/guides/rgcms.html
@@ -4925,8 +4925,62 @@ the current timestamp whenever it is modified in a transaction.</p>
 </div>
 </div>
 </div>
+</div>
+<div class="sect2">
+<h3 id="_rgcms_classes_mixins">3.12. Mixins</h3>
+<div class="paragraph">
+<p>The interfaces listed in this chapter are role interfaces; they define a contract for the framework
+ to interact with those domain objects that implement these interfaces.</p>
+</div>
 <div class="sect3">
-<h4 id="_rgcms_classes_mixins_Dto">3.11.4. <code>Dto</code></h4>
+<h4 id="_rgcms_classes_mixins_Object">3.12.1. <code>Object</code> (<code>1.12.0-SNAPSHOT</code>)</h4>
+<div class="paragraph">
+<p>(As of <code>1.12.0-SNAPSHOT</code>) the framework provides a single mixin that contributes to simply <code>java.lang.Object</code>.  It provides the ability to download the layout XML for any domain object (in practical terms: entities and view models).</p>
+</div>
+<div class="paragraph">
+<p>The <code>Object_downloadLayoutXml</code> mixin defines the following action:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Mixin</span>
+<span class="directive">public</span> <span class="type">class</span> <span class="class">Object_downloadLayoutXml</span> {
+    <span class="directive">public</span> Object_downloadLayoutXml(<span class="directive">final</span> <span class="predefined-type">Object</span> object) { ... }     <i class="conum" data-value="1"></i><b>(1)</b>
+    <span class="directive">public</span> <span class="predefined-type">String</span> downloadLayoutXml(<span class="directive">final</span> <span class="predefined-type">String</span> fileName) { ... }   <i class="conum" data-value="2"></i><b>(2)</b>
+    ...
+}</code></pre>
+</div>
+</div>
+<div class="colist arabic">
+<table>
+<tr>
+<td><i class="conum" data-value="1"></i><b>1</b></td>
+<td>provided as an action to all objects</td>
+</tr>
+<tr>
+<td><i class="conum" data-value="2"></i><b>2</b></td>
+<td>actually this method is called '$$' in the code, a "special case" that means to use the derive the action name
+from the class name.</td>
+</tr>
+</table>
+</div>
+<div class="sect4">
+<h5 id="_appearance_in_the_ui">Appearance in the UI</h5>
+<div class="paragraph">
+<p>This mixin property are all associated with the "Metadata" fieldset.</p>
+</div>
+<div class="paragraph">
+<p>A number of other <a href="#_rgcms_classes_mixins_Persistable">mixins</a> also contribute properties and actions to the "Metadata" fieldset.</p>
+</div>
+</div>
+<div class="sect4">
+<h5 id="_related_services">Related Services</h5>
+<div class="paragraph">
+<p>This mixin calls <a href="rgsvc.html#_rgsvc_api_LayoutService"><code>LayoutService</code></a> to obtain the layout XML.</p>
+</div>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_rgcms_classes_mixins_Dto">3.12.2. <code>Dto</code></h4>
 <div class="paragraph">
 <p>The <code>Dto</code> role interface is intended to be implemented by JAXB-annotated view models, that is, annotated using
 <a href="rgant.html#_rgant-XmlRootElement"><code>@XmlRootElement</code></a>.  It enables the ability to download the XML and
@@ -4962,7 +5016,8 @@ XSD schema of those objects using two <a href="ugbtb.html#_ugbtb_decoupling_mixi
 </tr>
 <tr>
 <td><i class="conum" data-value="2"></i><b>2</b></td>
-<td>actually this is '$$' in the code, a "special case" that means to use the derive the action name from the class name.</td>
+<td>actually this method is called '$$' in the code, a "special case" that means to use the derive the action name
+from the class name.</td>
 </tr>
 </table>
 </div>
@@ -5002,7 +5057,7 @@ optionally ignore the common <a href="#_rgcms_schema">Apache Isis schemas</a> (u
 referenced by the DTO).</p>
 </div>
 <div class="sect4">
-<h5 id="_related_services">Related Services</h5>
+<h5 id="_related_services_2">Related Services</h5>
 <div class="paragraph">
 <p>The <code>Dto_downloadXml</code> and <code>Dto_downloadXsd</code> delegate to the
 <a href="rgsvc.html#_rgsvc_api_JaxbService"><code>JaxbService</code></a> to actually generate the XML/XSD.</p>
@@ -5010,48 +5065,195 @@ referenced by the DTO).</p>
 </div>
 </div>
 <div class="sect3">
-<h4 id="_rgcms_classes_mixins_Persistable">3.11.5. <code>Persistable</code></h4>
+<h4 id="_rgcms_classes_mixins_Persistable">3.12.3. <code>Persistable</code></h4>
 <div class="paragraph">
 <p>All domain entities automatically implement the DataNucleus <code>Persistable</code> role interface as a result of the enhancer
 process (the fully qualified class name is <code>org.datanucleus.enhancement.Persistable</code>).  So as a developer you do not
-need to write any code for this role interface.</p>
+need to write any code to obtain the mixins that contribute to this interface.</p>
 </div>
+<div class="sect4">
+<h5 id="_rgcms_classes_mixins_Persistable_downloadJdoMetadata"><code>downloadJdoMetadata()</code></h5>
 <div class="paragraph">
-<p>Nevertheless, the <code>Persistable_downloadJdoMetadata</code> mixin provides the ability to download the
-JDO <a href="http://www.datanucleus.org/products/datanucleus/jdo/metadata_xml.html">class metadata in XML</a> form.  The mixin
-defines the following action:</p>
+<p>The <code>Persistable_downloadJdoMetadata</code> mixin provides an action which allows the
+JDO <a href="http://www.datanucleus.org/products/datanucleus/jdo/metadata_xml.html">class metadata</a> to be downloaded as XML.  The mixin&#8217;s action returns the XML text wrapped up in a <a href="#_rgcms_classes_value-types_Clob"><code>Clob</code></a>.</p>
 </div>
-<div class="listingblock">
-<div class="content">
-<pre class="CodeRay highlight"><code data-lang="java"><span class="annotation">@Mixin</span>
-<span class="directive">public</span> <span class="type">class</span> <span class="class">Persistable_downloadJdoMetadata</span> {
-    <span class="directive">public</span> Persistable_downloadJdoMetadata(<span class="directive">final</span> Persistable persistable) { ... }   <i class="conum" data-value="1"></i><b>(1)</b>
-    <span class="directive">public</span> <span class="predefined-type">Object</span> downloadJdoMetadata(<span class="directive">final</span> <span class="predefined-type">String</span> fileName) { ... }                <i class="conum" data-value="2"></i><b>(2)</b>
-    ...
-}</code></pre>
+<div class="sect5">
+<h6 id="_appearance_in_the_ui_2">Appearance in the UI</h6>
+<div class="paragraph">
+<p>(As of <code>1.12.0-SNAPSHOT</code>), this mixin action is associated with the "Metadata" fieldset, and will appear as a panel drop-down action.</p>
 </div>
+<div class="paragraph">
+<p>These mixin properties are all associated with the "Metadata" fieldset.  The <a href="#_rgcms_classes_mixins_Object">Object mixin</a> also contribute an action to the "Metadata" fieldset.</p>
 </div>
-<div class="colist arabic">
-<table>
-<tr>
-<td><i class="conum" data-value="1"></i><b>1</b></td>
-<td>provided as an action to any domain entity</td>
-</tr>
-<tr>
-<td><i class="conum" data-value="2"></i><b>2</b></td>
-<td>actually this is '$$' in the code, a "special case" that means to use the derive the action name from the class name.</td>
-</tr>
-</table>
 </div>
+<div class="sect5">
+<h6 id="_related_services_3">Related Services</h6>
 <div class="paragraph">
-<p>This will return the XML text wrapped up in a <a href="#_rgcms_classes_value-types_Clob"><code>Clob</code></a>.</p>
+<p>The mixin delegates to the <a href="rgsvc.html#_rgsvc_api_IsisJdoSupport"><code>IsisJdoSupport</code></a> service to obtain
+a reference to the JDO <code>PersistenceManagerFactory</code>.</p>
+</div>
+</div>
 </div>
 <div class="sect4">
-<h5 id="_related_services_2">Related Services</h5>
+<h5 id="_rgcms_classes_mixins_Persistable_datanucleusXxx"><code>datanucleusXxx</code> (<code>1.12.0-SNAPSHOT</code>)</h5>
 <div class="paragraph">
-<p>The mixin delegates to the <a href="rgsvc.html#_rgsvc_api_IsisJdoSupport"><code>IsisJdoSupport</code></a> service to obtain
-a reference to the JDO <code>PersistenceManagerFactory</code>.</p>
+<p>The framework provides a number of mixins that expose the datanucleus Id and version of a persistable domain entity.  Several implementations are provided to support different datatypes:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><code>Persistable_datanucleusIdLong</code> will expose the entity&#8217;s id, assuming that the id is or can be cast to <code>java.lang.Long</code>.  Otherwise the property will be hidden.</p>
+</li>
+<li>
+<p><code>Persistable_datanucleusVersionTimestamp</code> will expose the entity&#8217;s version, assuming that the version is or can be cast to <code>java.sql.Timestamp</code>.  Otherwise the property will be hidden.</p>
+</li>
+<li>
+<p><code>Persistable_datanucleusVersionLong</code> will expose the entity&#8217;s version, assuming that the version is or can be cast to <code>java.lang.Long</code>.  Otherwise the property will be hidden.</p>
+</li>
+</ul>
+</div>
+<div class="sect5">
+<h6 id="_appearance_in_the_ui_3">Appearance in the UI</h6>
+<div class="paragraph">
+<p>These mixin properties are all associated with the "Metadata" fieldset.  The <a href="#_rgcms_classes_mixins_Object">Object mixin</a> also contribute an action to the "Metadata" fieldset.</p>
+</div>
+</div>
+</div>
+</div>
+</div>
+<div class="sect2">
+<h3 id="_rgcms_classes_layout">3.13. Layout (<code>1.12.0-SNAPSHOT</code>)</h3>
+<div class="paragraph">
+<p>The <code>org.apache.isis.applib.layout</code> package defines a number of classes that allow the layout of domain objects
+(entities and view models) to be customized.  These classes fall into two main categories:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>grid classes, that define a grid structure of rows, columns, tab groups and tabs, and;</p>
+</li>
+<li>
+<p>common component classes, that capture the layout metadata for an object&#8217;s properties, collections and actions.  These are bound (or associated) to the regions of the grid</p>
+</li>
+</ul>
 </div>
+<div class="paragraph">
+<p>The framework provides an implementation of the grid classes modelled closely on <a href="http://getbootstrap.com">Bootstrap 3</a>, along with <a href="#ugvw.adoc">Wicket viewer</a> components capable of rendering that grid system.  In principle it is
+also possible to extend the layout architecture for other grid systems.  The component classes, though, are intended to be reusable across all grid systems.</p>
+</div>
+<div class="paragraph">
+<p>The component classes, meanwhile, are broadly equivalent to the "layout" annotations (<a href="rgant.html#_rgant_PropertyLayout"><code>@PropertyLayout</code></a>, <a href="rgant.html#_rgant_CollectionLayout"><code>@CollectionLayout</code></a>, <a href="rgant.html#_rgant_ActionLayout"><code>@ActionLayout</code></a> and <a href="rgant.html#_rgant_DomainObjectLayout"><code>@DomainObjectLayout</code></a></p>
+</div>
+<div class="paragraph">
+<p>All of the classes in this package are JAXB-annotated, meaning that they can be serialized to/from XML (the <code>component</code> classes in the <code><a href="http://isis.apache.org/applib/layout/component" class="bare">http://isis.apache.org/applib/layout/component</a></code> XSD namespace, the bootstrap 3 grid classes in the <code><a href="http://isis.apache.org/applib/layout/grid/bootstrap3" class="bare">http://isis.apache.org/applib/layout/grid/bootstrap3</a></code> XSD namespace).  This ability to serialize to/from XML is used by the <a href="rgsvc.html#_rgsvc_spi_GridLoaderService"><code>GridLoaderService</code></a>, the default implementation of which reads the grid layout for a domain class from a <code>.layout.xml</code> file on the classpath.</p>
+</div>
+<div class="sect3">
+<h4 id="_rgcms_classes_layout_component">3.13.1. Component</h4>
+<div class="paragraph">
+<p>The component classes reside in the <code>org.apache.isis.applib.layout.component</code> package, and consist of:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><code>FieldSet</code><br></p>
+<div class="paragraph">
+<p>A fieldset (previously also called a property group or member group) of a number of the domain object&#8217;s properties
+(along with any associationed actions of those properties).</p>
+</div>
+</li>
+<li>
+<p>layout data classes, which correspond to the similarly named annotations:</p>
+<div class="ulist">
+<ul>
+<li>
+<p><code>PropertyLayoutData</code>, corresponding to the <a href="rgant.html#_rgant_PropertyLayout"><code>@PropertyLayout</code></a> annotation;</p>
+</li>
+<li>
+<p><code>CollectionLayoutData</code>, corresponding to the <a href="rgant.html#_rgant_CollectionLayout"><code>@CollectionLayout</code></a> annotation;</p>
+</li>
+<li>
+<p><code>ActionLayoutData</code>, corresponding to the <a href="rgant.html#_rgant_ActionLayout"><code>@ActionLayout</code></a> annotation;</p>
+</li>
+<li>
+<p><code>DomainObjectLayoutData</code>, corresponding to the <a href="rgant.html#_rgant_DomainObjectLayout"><code>@DomainObjectLayout</code></a> annotation.</p>
+</li>
+</ul>
+</div>
+</li>
+</ul>
+</div>
+<div class="paragraph">
+<p>In addition, the component package includes <code>Grid</code>, representing the top level container for a custom layout for a domain object.  <code>Grid</code> itself is merely an interface, but it also defines the visitor pattern to make it easy for validate and normalize the grid layouts.  The <code>GridAbstract</code> convenience superclass provides a partial implementation of this visitor pattern.</p>
+</div>
+</div>
+<div class="sect3">
+<h4 id="_rgcms_classes_layout_grid-bootstrap3">3.13.2. Bootstrap3 Grid</h4>
+<div class="paragraph">
+<p>As noted above, the default bootstrap3 grid classes are modelled closely on <a href="http://getbootstrap.com">Bootstrap 3</a>.
+Bootstrap&#8217;s <a href="http://getbootstrap.com/css/#grid">grid system</a> divides the page width equally into 12 columns, and so
+each column spans 1 or more of these widths.  Thus, a column with a span of 12 is the full width, one with a span of 6 is half the width, one with a span of 4 is a third of the width, and so on.</p>
+</div>
+<div class="paragraph">
+<p>When specifying the span of a column, Bootstrap also allows a size to be specified (<code>XS</code>, <code>SM</code>, <code>MD</code>, <code>LG</code>).  The size determines the rules for responsive design.  Apache Isis defaults to <code>MD</code> but this can be overridden.  It is also possible to specify multiple size/spans for a given column.</p>
+</div>
+<div class="paragraph">
+<p>The grid classes provided by Apache Isis reside in the <code>org.apache.isis.applib.layout.grid.bootstrap3</code> package, and consist of:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><code>BS3Grid</code><br></p>
+<div class="paragraph">
+<p>Consists of a number of <code>BS3Row</code>s. <br></p>
+</div>
+<div class="paragraph">
+<p>This class is the concrete implementation of <code>Grid</code> interface, discussed previously.  As such, it extends the <code>Grid.Visitor</code> to iterate over all of the <code>Row</code>s of the grid.</p>
+</div>
+</li>
+<li>
+<p><code>BS3Row</code><br></p>
+<div class="paragraph">
+<p>A container of <code>BS3Col</code>s.  This element is rendered as <code>&lt;div class="row"&gt;</code>.</p>
+</div>
+</li>
+<li>
+<p><code>BS3Col</code><br></p>
+<div class="paragraph">
+<p>A container of almost everything else.  A column most commonly contains properties (grouped into <code>FieldSet</code>s, described above) or collections (specified by <code>CollectionLayoutData</code>, also above).  However, a <code>Col</code> might instead contain a <code>BS3TabGroup</code> (described below) in order that the object members is arranged into tabs. <br></p>
+</div>
+<div class="paragraph">
+<p>It is also possible for a <code>Col</code> to contain the object&#8217;s title/icon (using <code>DomainObjectLayoutData</code>) or indeed arbitrary actions (using <code>`ActionLayoutData</code>).<br></p>
+</div>
+<div class="paragraph">
+<p>Finally, a <code>BS3Col</code> can also contain other <code>BS3Row</code>s, allowing arbitrarily deep hierarchies of containers as required.</p>
+</div>
+<div class="paragraph">
+<p>This element is rendered as, for example, <code>&lt;div class="col-md-4"&gt;</code> (for a size <code>MD</code>, span of 4).</p>
+</div>
+</li>
+<li>
+<p><code>BS3TabGroup</code><br></p>
+<div class="paragraph">
+<p>A container of <code>BS3Tab</code>s.</p>
+</div>
+</li>
+<li>
+<p><code>BS3Tab</code><br></p>
+<div class="paragraph">
+<p>A container of <code>BS3Row</code>s, which will in turn contain <code>BS3Col</code>s and thence ultimately the object&#8217;s members.</p>
+</div>
+</li>
+</ul>
+</div>
+<div class="paragraph">
+<p>There are also two close cousins of <code>Col</code>, namely <code>ClearFixVisible</code> and <code>ClearFixHidden</code>.  These map to Bootstrap&#8217;s <a href="http://getbootstrap.com/css/#responsive-utilities">responsive utility class</a>es, and provide greater control for
+responsive designs.</p>
+</div>
+<div class="paragraph">
+<p>As you can probably guess, the <code>BS3Grid</code> is the top-level object (that is, it is JAXB <code>@XmlRootElement</code>); this is the object that is serialized to/from XML.</p>
+</div>
+<div class="paragraph">
+<p>All of these classes also allow custom CSS to be specified; these are added to the CSS classes for the corresponding <code>&lt;div</code>&gt; in the rendered page.  The <a href="ugvw.html#_ugvw_customisation_tweaking-css-classes"><code>application.css</code></a> file can then be used for application-specific CSS, allowing arbitrary fine-tuning of the layout of the page.</p>
 </div>
 </div>
 </div>
@@ -5599,16 +5801,33 @@ but less formal XML structure.  This may change in the future.</p>
 <li><a href="#_alternatives_4">Alternatives</a></li>
 </ul>
 </li>
-<li><a href="#_rgcms_classes_mixins_Dto">3.11.4. <code>Dto</code></a>
+</ul>
+</li>
+<li><a href="#_rgcms_classes_mixins">3.12. Mixins</a>
+<ul class="sectlevel3">
+<li><a href="#_rgcms_classes_mixins_Object">3.12.1. <code>Object</code> (<code>1.12.0-SNAPSHOT</code>)</a>
 <ul class="sectlevel4">
+<li><a href="#_appearance_in_the_ui">Appearance in the UI</a></li>
 <li><a href="#_related_services">Related Services</a></li>
 </ul>
 </li>
-<li><a href="#_rgcms_classes_mixins_Persistable">3.11.5. <code>Persistable</code></a>
+<li><a href="#_rgcms_classes_mixins_Dto">3.12.2. <code>Dto</code></a>
 <ul class="sectlevel4">
 <li><a href="#_related_services_2">Related Services</a></li>
 </ul>
 </li>
+<li><a href="#_rgcms_classes_mixins_Persistable">3.12.3. <code>Persistable</code></a>
+<ul class="sectlevel4">
+<li><a href="#_rgcms_classes_mixins_Persistable_downloadJdoMetadata"><code>downloadJdoMetadata()</code></a></li>
+<li><a href="#_rgcms_classes_mixins_Persistable_datanucleusXxx"><code>datanucleusXxx</code> (<code>1.12.0-SNAPSHOT</code>)</a></li>
+</ul>
+</li>
+</ul>
+</li>
+<li><a href="#_rgcms_classes_layout">3.13. Layout (<code>1.12.0-SNAPSHOT</code>)</a>
+<ul class="sectlevel3">
+<li><a href="#_rgcms_classes_layout_component">3.13.1. Component</a></li>
+<li><a href="#_rgcms_classes_layout_grid-bootstrap3">3.13.2. Bootstrap3 Grid</a></li>
 </ul>
 </li>
 </ul>