Author: gpetracek
Date: Sun Jul 6 18:47:20 2014
New Revision: 1608282
URL: http://svn.apache.org/r1608282
Log:
updated content
Modified:
deltaspike/site/trunk/content/jsf.mdtext
Modified: deltaspike/site/trunk/content/jsf.mdtext
URL:
http://svn.apache.org/viewvc/deltaspike/site/trunk/content/jsf.mdtext?rev=1608282&r1=1608281&r2=1608282&view=diff
==============================================================================
--- deltaspike/site/trunk/content/jsf.mdtext (original)
+++ deltaspike/site/trunk/content/jsf.mdtext Sun Jul 6 18:47:20 2014
@@ -1052,6 +1052,16 @@ Optional annotation which allows to prov
Only annotate one `ViewConfig` class which represents the root node.
If you are using CDI 1.1+ with bean-discovery-mode `annotated`, you can use
`@ViewConfigRoot` in combination with `@ApplicationScoped` as marker
annotations. Since DeltaSpike 1.0.1 this combination allows to add all nested
interfaces and classes and therefore no additional annotations (required by
bean-discovery-mode `annotated`) are needed.
+Minimal example:
+
+ :::java
+ @ApplicationScoped
+ @ViewConfigRoot
+ interface Pages extends ViewConfig
+ {
+ class Index implements Pages { }
+ }
+
## Activation of custom naming conventions