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 2014/10/27 14:19:57 UTC

svn commit: r1634532 - in /isis/site/trunk/content: components/viewers/restfulobjects/pretty-printing.md documentation.md intro/resources/icons.md

Author: danhaywood
Date: Mon Oct 27 13:19:56 2014
New Revision: 1634532

URL: http://svn.apache.org/r1634532
Log:
RO viewer pretty printing

Added:
    isis/site/trunk/content/components/viewers/restfulobjects/pretty-printing.md
      - copied, changed from r1634491, isis/site/trunk/content/components/viewers/restfulobjects/honor-ui-hints.md
Modified:
    isis/site/trunk/content/documentation.md
    isis/site/trunk/content/intro/resources/icons.md

Copied: isis/site/trunk/content/components/viewers/restfulobjects/pretty-printing.md (from r1634491, isis/site/trunk/content/components/viewers/restfulobjects/honor-ui-hints.md)
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/components/viewers/restfulobjects/pretty-printing.md?p2=isis/site/trunk/content/components/viewers/restfulobjects/pretty-printing.md&p1=isis/site/trunk/content/components/viewers/restfulobjects/honor-ui-hints.md&r1=1634491&r2=1634532&rev=1634532&view=diff
==============================================================================
--- isis/site/trunk/content/components/viewers/restfulobjects/honor-ui-hints.md (original)
+++ isis/site/trunk/content/components/viewers/restfulobjects/pretty-printing.md Mon Oct 27 13:19:56 2014
@@ -1,22 +1,6 @@
-Title: Honor UI Hints (1.8.0-SNAPSHOT)
+Title: Pretty Printing (1.8.0-SNAPSHOT)
 
-{note
-These configuration settings should be considered beta, and are likely to change in the future in response to emerging requirements.
-}
-
-By default the representations generated by Restful Objects ignore any Isis metamodel hints referring to the UI.  
-In particular, if a collection is annotated then `Render(EAGERLY)` then the contents of the collection are *not*
-eagerly embedded in the object representation.
-
-However, this behaviour can be overridden.
-
-## Global Configuration
-
-Configuring the Restful Objects viewer to honor UI hints globally is done using the
-following property (typically added to `WEB-INF/viewer_restfulobjects.properties`):
-
-    isis.viewer.restfulobjects.honorUiHints=true
-
-## Per request
-
-This is not currently supported (though may be in the future).
+The JSON representations generated by the Restful Objects viewer are in compact form if the 
+[deployment type](../../../reference/deployment-types.html) is SERVER (ie production), but will automatically be 
+"pretty printed" (in other words indented) if the deployment type is PROTOTYPE.  
+ 

Modified: isis/site/trunk/content/documentation.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/documentation.md?rev=1634532&r1=1634531&r2=1634532&view=diff
==============================================================================
--- isis/site/trunk/content/documentation.md (original)
+++ isis/site/trunk/content/documentation.md Mon Oct 27 13:19:56 2014
@@ -504,7 +504,10 @@ Features, configuration and UI customisa
 
 <i>previously released as the Restful Objects Viewer component (v[2.3.0](components/viewers/restfulobjects/release-notes/about.html)).</i>
 
+Features
+
 * [Restful Objects Specification](http://restfulobjects.org)
+* [Pretty printing](components/viewers/restfulobjects/pretty-printing.html) (1.8.0-SNAPSHOT)
 
 Configuration & Customisation
 

Modified: isis/site/trunk/content/intro/resources/icons.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/intro/resources/icons.md?rev=1634532&r1=1634531&r2=1634532&view=diff
==============================================================================
--- isis/site/trunk/content/intro/resources/icons.md (original)
+++ isis/site/trunk/content/intro/resources/icons.md Mon Oct 27 13:19:56 2014
@@ -18,6 +18,8 @@ There are also various open source icon 
 
 * [flaticon](http://www.flaticon.com/) - free vector icons
 
+* [Google material design](http://google.github.io/material-design-icons/) and [zip here](http://www.google.com/design/spec/resources/sticker-sheets.html#)
+
 * [batch](http://adamwhitcroft.com/batch/) (300+ icons)