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/04/09 10:46:21 UTC
svn commit: r646227 -
/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreTrain.xml
Author: matzew
Date: Wed Apr 9 01:46:16 2008
New Revision: 646227
URL: http://svn.apache.org/viewvc?rev=646227&view=rev
Log:
TRINIDAD-1040
Modified:
myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreTrain.xml
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreTrain.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreTrain.xml?rev=646227&r1=646226&r2=646227&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreTrain.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreTrain.xml Wed Apr 9 01:46:16 2008
@@ -51,7 +51,7 @@
<section name="Model">
The train takes a model of type
- <html:code>org.apache.myfaces.adf.model.MenuModel</html:code>. The
+ <html:code>org.apache.myfaces.trinidad.model.MenuModel</html:code>. The
last node along the focusPath and its siblings are rendered.
<html:p>
MenuModel extends TreeModel, but it also knows how to go from the
@@ -79,8 +79,8 @@
</html:li>
</html:ul>
- The class <html:code>org.apache.myfaces.adf.model.ProcessMenuModel</html:code>
- and <html:code>org.apache.myfaces.adf.model.ProcessUtils</html:code>
+ The class <html:code>org.apache.myfaces.trinidad.model.ProcessMenuModel</html:code>
+ and <html:code>org.apache.myfaces.trinidad.model.ProcessUtils</html:code>
were created to support the "Plus One" and
"Max Visited" scenarios. Please see the javadoc for these
classes for more information.
@@ -98,14 +98,14 @@
<mfp:source-description>This is an example of a train.</mfp:source-description>
<mfp:source-code>
<![CDATA[
-<af:train var="node" value="#{processMenuModel}">
+<tr:train var="node" value="#{processMenuModel}">
<f:facet name="nodeStamp">
- <af:commandNavigationItem text="#{node.label}"
+ <tr:commandNavigationItem text="#{node.label}"
action="#{node.getOutcome}"
immediate="#{processMenuModel.immediate}"
readOnly="#{processMenuModel.readOnly}"/>
</f:facet>
-</af:train>
+</tr:train>
]]>
</mfp:source-code>
</mfp:example>