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:15:58 UTC

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

Author: gpetracek
Date: Sun Mar 31 13:15:57 2013
New Revision: 1462943

URL: http://svn.apache.org/r1462943
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=1462943&r1=1462942&r2=1462943&view=diff
==============================================================================
--- incubator/deltaspike/site/trunk/content/deltaspike/jsf.mdtext (original)
+++ incubator/deltaspike/site/trunk/content/deltaspike/jsf.mdtext Sun Mar 31 13:15:57 2013
@@ -110,11 +110,11 @@ But it's also possible to reflect the fo
     :::java
     public interface Pages
     {
-        public class Index implements ViewConfig { }
+        class Index implements ViewConfig { }
 
-        public interface AdminArea extends ViewConfig
+        interface AdminArea extends ViewConfig
         {
-            public class Index implements Admin { }
+            class Index implements Admin { }
         }
     }
 
@@ -132,23 +132,23 @@ In the following example `Pages.Admin.In
     public interface Pages
     {
         @View(name = "home", extension = JSP)
-        public class Index implements ViewConfig { }
+        class Index implements ViewConfig { }
 
         @View(navigation = REDIRECT, viewParams = INCLUDE)
-        public interface Admin extends ViewConfig
+        interface Admin extends ViewConfig
         {
-            public interface Statistics
+            interface Statistics
             {
                 @View //optional
-                public class Index implements ViewConfig { }
+                class Index implements ViewConfig { }
 
-                public class Home implements Admin { }
+                class Home implements Admin { }
             }
 
-            public class Index implements Admin { }
+            class Index implements Admin { }
 
             @View(navigation = FORWARD)
-            public class Home implements Admin { }
+            class Home implements Admin { }
         }
     }
 
@@ -248,14 +248,14 @@ All parts which inherit from `SecuredPag
     @View(navigation = REDIRECT)
     public interface Pages extends ViewConfig
     {
-        public class Index implements Pages { }
+        class Index implements Pages { }
 
-        public interface Admin extends Pages, SecuredPages
+        interface Admin extends Pages, SecuredPages
         {
-            public class Index implements Admin { }
+            class Index implements Admin { }
 
             @View(navigation = FORWARD)
-            public class Home implements Admin { }
+            class Home implements Admin { }
         }
     }
 
@@ -265,15 +265,15 @@ For sure it's also possible to use it wi
     @View(navigation = REDIRECT)
     public interface Pages extends ViewConfig
     {
-        public class Index implements Pages { }
+        class Index implements Pages { }
 
         @Secured(CustomAccessDecisionVoter.class)
-        public interface Admin extends Pages
+        interface Admin extends Pages
         {
-            public class Index implements Admin { }
+            class Index implements Admin { }
 
             @View(navigation = FORWARD)
-            public class Home implements Admin { }
+            class Home implements Admin { }
         }
     }
 
@@ -282,16 +282,16 @@ or
     @View(navigation = REDIRECT)
     public interface Pages extends ViewConfig
     {
-        public class Index implements Pages { }
+        class Index implements Pages { }
 
-        public interface Admin extends Pages
+        interface Admin extends Pages
         {
             @Secured(CustomAccessDecisionVoter.class)
-            public class Index implements Admin { }
+            class Index implements Admin { }
 
             @Secured(CustomAccessDecisionVoter.class)
             @View(navigation = FORWARD)
-            public class Home implements Admin { }
+            class Home implements Admin { }
         }
     }
 
@@ -323,9 +323,14 @@ Use an existing view-config to reference
 That means e.g.
 
     :::java
-    @ViewRef(Pages.Page1.class)
+    public interface Pages extends ViewConfig
+    {
+        class Index implements Pages { }
+    }
+
+    @ViewRef(Pages.Index.class)
     //...
-    public class PageBean1 implements Serializable
+    public class IndexController implements Serializable
     {
         @PreRenderView
         protected void preRenderView()