You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by bu...@apache.org on 2013/08/23 10:11:53 UTC
svn commit: r875792 - in /websites/staging/isis/trunk: cgi-bin/ content/
content/components/viewers/wicket/customizing-the-viewer.html
Author: buildbot
Date: Fri Aug 23 08:11:53 2013
New Revision: 875792
Log:
Staging update by buildbot for isis
Modified:
websites/staging/isis/trunk/cgi-bin/ (props changed)
websites/staging/isis/trunk/content/ (props changed)
websites/staging/isis/trunk/content/components/viewers/wicket/customizing-the-viewer.html
Propchange: websites/staging/isis/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Aug 23 08:11:53 2013
@@ -1 +1 @@
-1516731
+1516733
Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Aug 23 08:11:53 2013
@@ -1 +1 @@
-1516731
+1516733
Modified: websites/staging/isis/trunk/content/components/viewers/wicket/customizing-the-viewer.html
==============================================================================
--- websites/staging/isis/trunk/content/components/viewers/wicket/customizing-the-viewer.html (original)
+++ websites/staging/isis/trunk/content/components/viewers/wicket/customizing-the-viewer.html Fri Aug 23 08:11:53 2013
@@ -331,9 +331,7 @@ from fine-grained widgets for property/p
<h5>How the Wicket viewer selects components</h5>
<p>Components are created using Isis' <code>ComponentFactory</code> interface, which are registered in turn through the <code>ComponentFactoryRegistrar</code> interface. Every
-component is categorizes by type (the <code>ComponentType</code> enum). Isis uses this to determine which <code>ComponentFactory</code> to use. For example, the <code>ComponentType.BOOKMARKED_PAGES</code> is used to locate the <code>ComponentFactory</code> that will build the bookmarked pages panel.</p>
-
-<p>In many cases, though, additional information is needed. For example, is the type to render a scalar property or parameter. But there are many different <code>ComponentFactory</code> implementations; one for a string, one for a boolean, one for a date etc. </p>
+component is categorizes by type (the <code>ComponentType</code> enum), and Isis uses this to determine which <code>ComponentFactory</code> to use. For example, the <code>ComponentType.BOOKMARKED_PAGES</code> is used to locate the <code>ComponentFactory</code> that will build the bookmarked pages panel.</p>
<p>Each factory is also handed a model (an implementation of <code>org.apache.wicket.IModel</code>) appropriate to its <code>ComponentType</code>; this holds the data to be rendered. For example, <code>ComponentType.BOOKMARKED_PAGES</code> is given a <code>BookmarkedPagesModel</code>, while <code>ComponentType.SCALAR_NAME_AND_VALUE</code> factories are provided a model of type of type <code>ScalarModel</code> . </p>