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 2017/12/01 11:40:40 UTC

[3/5] isis-site git commit: ISIS-1786: fixes unit test

http://git-wip-us.apache.org/repos/asf/isis-site/blob/9319fec4/content/guides/rgcfg/rgcfg.html
----------------------------------------------------------------------
diff --git a/content/guides/rgcfg/rgcfg.html b/content/guides/rgcfg/rgcfg.html
index f1a0429..3da7b10 100644
--- a/content/guides/rgcfg/rgcfg.html
+++ b/content/guides/rgcfg/rgcfg.html
@@ -2144,6 +2144,27 @@ table.CodeRay td.code>pre{padding:0}
              <div>
               <div class="paragraph"> 
                <p>Default for label position for all properties if not explicitly specified using <a href="../rgant/rgant.html#_rgant-PropertyLayout_labelPosition"><code>@PropertyLayout#labelPosition()</code></a></p> 
+              </div> 
+              <div class="paragraph"> 
+               <p>Further discussion <a href="#__rgcfg_configuring-core_isis-viewers-propertyLayout-labelPosition">below</a>.</p> 
+              </div>
+             </div></td> 
+           </tr> 
+           <tr> 
+            <td class="tableblock halign-left valign-top">
+             <div>
+              <div class="paragraph"> 
+               <p><code>isis.viewers.</code><br> <code>collectionLayout.defaultView</code></p> 
+              </div>
+             </div></td> 
+            <td class="tableblock halign-left valign-top"><p class="tableblock"><code>hidden</code>, <code>table</code><br> (<code>hidden</code>)</p></td> 
+            <td class="tableblock halign-left valign-top">
+             <div>
+              <div class="paragraph"> 
+               <p>(<code>1.16.0-SNAPSHOT</code>) Default for the default view for all (parented) collections if not explicitly specified using <a href="../rgant/rgant.html#_rgant-CollectionLayout_defaultView"><code>@CollectionLayout#defaultView()</code></a></p> 
+              </div> 
+              <div class="paragraph"> 
+               <p>Further discussion <a href="#__rgcfg_configuring-core_isis-viewers-collectionLayout-defaultView">below</a>.</p> 
               </div>
              </div></td> 
            </tr> 
@@ -2244,6 +2265,23 @@ table.CodeRay td.code>pre{padding:0}
            <p>If these are not present then Apache Isis will render according to internal defaults. At the time of writing, this means labels are to the left for all datatypes except multiline strings.</p> 
           </div> 
          </div> 
+         <div class="sect3"> 
+          <h4 id="__rgcfg_configuring-core_isis-viewers-collectionLayout-defaultView">5.7.4. <code>collectionLayout.defaultView</code> (<code>1.16.0-SNAPSHOT</code>)</h4> 
+          <div class="paragraph"> 
+           <p>Prior to <code>1.16.0-SNAPSHOT</code>, the framework renders (parented) collections as "hidden", ie collapsed. This can be overridden on a case-by-case basis using the <a href="../rgant/rgant.html#_rgant-CollectionLayout_defaultView"><code>@CollectionLayout#defaultView()</code></a> or the corresponding <code>&lt;collectionLayout defaultView="…​"&gt;</code> element in the <code>Xxx.layout.xml</code> layout file. The framework provices only one other view, "table".</p> 
+          </div> 
+          <div class="paragraph"> 
+           <p>If the majority of collections should be displayed as "table" form, then it is more convenient to specify the default view globally. This can be done using a configuration property in <code>isis.properties</code>:</p> 
+          </div> 
+          <div class="listingblock"> 
+           <div class="content"> 
+            <pre class="CodeRay highlight"><code data-lang="ini">isis.viewers.collectionLayout.defaultView=table</code></pre> 
+           </div> 
+          </div> 
+          <div class="paragraph"> 
+           <p>If this configuration property is not present then Apache Isis will render according to its historical default, namely "hidden".</p> 
+          </div> 
+         </div> 
         </div> 
        </div> 
       </div>