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 22:24:16 UTC

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

Author: gpetracek
Date: Sun Mar 31 20:24:16 2013
New Revision: 1463048

URL: http://svn.apache.org/r1463048
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=1463048&r1=1463047&r2=1463048&view=diff
==============================================================================
--- incubator/deltaspike/site/trunk/content/deltaspike/jsf.mdtext (original)
+++ incubator/deltaspike/site/trunk/content/deltaspike/jsf.mdtext Sun Mar 31 20:24:16 2013
@@ -435,12 +435,12 @@ If you would like to query view-meta-dat
 
         public String getViewId(Class<? extends ViewConfig> viewConfigClass)
         {
-            return viewConfigResolver.getViewConfigDescriptor(viewConfigClass).getViewId(); //or #toString
+            return viewConfigResolver.getViewConfigDescriptor(viewConfigClass).getViewId(); //or #getPath
         }
 
         public String getPath(Class pathConfigClass)
         {
-            return viewConfigResolver.getConfigDescriptor(pathConfigClass).toString();
+            return viewConfigResolver.getConfigDescriptor(pathConfigClass).getPath();
         }
 
         public List<ConfigDescriptor<?>> getAllFolderDescriptors()
@@ -468,7 +468,7 @@ If you would like to query view-meta-dat
 For folders it's optional to implement the `ViewConfig` interface, therefore you see 2 different types of API.
 `#getConfigDescriptor` as the general API and `#getViewConfigDescriptor` which is specific for pages (which have to implement the `ViewConfig` interface).
 
-**Besides** translating a config class to the final path of the folder or page, it's possible to get the implicitly as well as explicitly configured (view-)meta-data, get and/or execute configured callbacks
+**Besides** translating a config class to the final path of the folder or page, it's possible to get the implicitly as well as explicitly configured (view-)meta-data and get and/or execute configured callbacks.
 
 ## Advanced API usages
 [TODO]