The example in the tag documentation for tr:train needs to be updated for 
Trinidad. It refers to af:train, af:commandNavigationItem,  
org.apache.myfaces.adf.model.ProcessMenuModel and 
org.apache.myfaces.adf.model.ProcessUtils 
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: TRINIDAD-1040
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1040
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 1.2.7-core, 1.0.7-core
         Environment: http://myfaces.apache.org/trinidad/trinidad-api
            Reporter: Richard Yee


The example in the tag documentation for tr:train still refers to adf.

"The class org.apache.myfaces.adf.model.ProcessMenuModel and 
org.apache.myfaces.adf.model.ProcessUtils were created to support the "Plus 
One" and "Max Visited" scenarios. Please see the javadoc for these classes for 
more information."

and

Example(s): 

This is an example of a train.
<af:train var="node" value="#{processMenuModel}">
  <f:facet name="nodeStamp">
    <af:commandNavigationItem text="#{node.label}"
      action="#{node.getOutcome}"
      immediate="#{processMenuModel.immediate}"
      readOnly="#{processMenuModel.readOnly}"/>
  </f:facet>
</af:train>



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to