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 15:06:16 UTC

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

Author: gpetracek
Date: Sun Mar 31 13:06:16 2013
New Revision: 1462940

URL: http://svn.apache.org/r1462940
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=1462940&r1=1462939&r2=1462940&view=diff
==============================================================================
--- incubator/deltaspike/site/trunk/content/deltaspike/jsf.mdtext (original)
+++ incubator/deltaspike/site/trunk/content/deltaspike/jsf.mdtext Sun Mar 31 13:06:16 2013
@@ -295,13 +295,13 @@ or
         }
     }
 
-### View-Controller Callbacks via @ViewControllerBean
+### View-Controller Callbacks via @ViewControllerRef
 
 This annotation is a custom view-meta-data provided by the JSF-module which allows to configure beans which should act as view-controllers. That means they can use view-controller callbacks like `@InitView`, `@PreViewAction`, `@PreRenderView` and `@PostRenderView`. The following example shows the usage of `@PreRenderView`.
 
     :::java
     //@View //optional
-    @ViewControllerBean(MyPageController.class)
+    @ViewControllerRef(MyPageController.class)
     public class MyPage implements ViewConfig
     {
     }
@@ -317,7 +317,7 @@ This annotation is a custom view-meta-da
     }
 
 ### Referencing Views via @ViewRef
-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.
+With `@ViewControllerRef#value` you can annotate a view-config class to bind (/reference) 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.