You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by gp...@apache.org on 2013/03/31 14:32:23 UTC

svn commit: r1462936 - /incubator/deltaspike/site/trunk/content/deltaspike/jsf.mdtext

Author: gpetracek
Date: Sun Mar 31 12:32:22 2013
New Revision: 1462936

URL: http://svn.apache.org/r1462936
Log:
updated content

Modified:
    incubator/deltaspike/site/trunk/content/deltaspike/jsf.mdtext

Modified: incubator/deltaspike/site/trunk/content/deltaspike/jsf.mdtext
URL: http://svn.apache.org/viewvc/incubator/deltaspike/site/trunk/content/deltaspike/jsf.mdtext?rev=1462936&r1=1462935&r2=1462936&view=diff
==============================================================================
--- incubator/deltaspike/site/trunk/content/deltaspike/jsf.mdtext (original)
+++ incubator/deltaspike/site/trunk/content/deltaspike/jsf.mdtext Sun Mar 31 12:32:22 2013
@@ -317,11 +317,8 @@ This annotation is a custom view-meta-da
     }
 
 ### Referencing Views via @ViewRef
-This annotation is currently not functional. It's going to be:
-
-`@ViewRef` allows to restrict e.g. phase-listener methods to specific views.
-Use an existing view-config OR (`ManualView.class` + the view-id string/s) to reference one or many view.
-Furthermore it's possible to use it at the class-level for configuring page-controllers (as an alternative to specifying the (page-)bean in the view-config).
+With `@ViewControllerBean#value` you can annotate a view-config class to bind a controller to it. `@ViewRef#config` allows the same in the other direction.
+Use an existing view-config to reference one or many view/s.
 
 That means e.g.
 
@@ -339,8 +336,8 @@ That means e.g.
         //...
     }
 
-leads to the invocation of the pre-render-view logic before page1 gets rendered and
-it won't be called for other pages.
+leads to the invocation of the pre-render-view logic before /pages/page1.xhtml gets rendered (and
+it won't be called for other pages).
 
 ### Configuring a Default Error-View
 [TODO]