You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2008/07/02 07:16:19 UTC

svn commit: r673282 - /myfaces/trinidad/trunk/src/site/xdoc/devguide/configuration.xml

Author: matzew
Date: Tue Jul  1 22:16:18 2008
New Revision: 673282

URL: http://svn.apache.org/viewvc?rev=673282&view=rev
Log:
corrected small typo from old ADF Faces days.

Modified:
    myfaces/trinidad/trunk/src/site/xdoc/devguide/configuration.xml

Modified: myfaces/trinidad/trunk/src/site/xdoc/devguide/configuration.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/src/site/xdoc/devguide/configuration.xml?rev=673282&r1=673281&r2=673282&view=diff
==============================================================================
--- myfaces/trinidad/trunk/src/site/xdoc/devguide/configuration.xml (original)
+++ myfaces/trinidad/trunk/src/site/xdoc/devguide/configuration.xml Tue Jul  1 22:16:18 2008
@@ -476,7 +476,7 @@
 result of evaluating an EL expression  - it's the EL expression
 itself. So, when you see:
 <source><![CDATA[
-  <af:outputText value="#{mybean.value}"/>
+  <tr:outputText value="#{mybean.value}"/>
 ]]>
 </source>
 ... all that's being saved is "#{mybean.value}", and that state is
@@ -525,11 +525,11 @@
     <h:outputText value="You're in an English locale"/>
   </c:if>
 
-  <af:selectOneListbox value="#{someValue}">
-    <af:forEach var="item" items="#{model.listOfItems}">
-      <af:selectItem value="#{item.value}" text="#{item.text}"/>
-    </af:forEach>
-  </af:selectOneListbox>
+  <tr:selectOneListbox value="#{someValue}">
+    <tr:forEach var="item" items="#{model.listOfItems}">
+      <tr:selectItem value="#{item.value}" text="#{item.text}"/>
+    </tr:forEach>
+  </tr:selectOneListbox>
 ]]>
 </source>
 The &lt;c:if&gt; will show "You're in an English locale" if the locale's
@@ -543,7 +543,7 @@
                   rendered="#{user.locale.language == 'en'}"/>
 ]]>
 </source>
-The example using &lt;af:forEach&gt; is less clear-cut, and 
+The example using &lt;tr:forEach&gt; is less clear-cut, and 
 less easily resolved.  If "model.listOfItems" always has the
 same <em>number</em> of items when a page gets shown at first,
 then there are no issues with this particular code sample.  But
@@ -551,9 +551,9 @@
 then the page, as written, cannot support the Application View Cache.
 In this particular case, there's also a simple workaround:
 <source><![CDATA[
-  <af:selectOneListbox value="#{someValue}">
+  <tr:selectOneListbox value="#{someValue}">
     <f:selectItems value="#{model.listOfSelectItems}"/>
-  </af:selectOneListbox>
+  </tr:selectOneListbox>
 ]]>
 </source>
 </p>