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/10/04 19:04:56 UTC

svn commit: r701672 - /myfaces/trinidad/trunk_1.2.x/src/site/xdoc/devguide/xmlMenuModel.xml

Author: matzew
Date: Sat Oct  4 10:04:56 2008
New Revision: 701672

URL: http://svn.apache.org/viewvc?rev=701672&view=rev
Log:
TRINIDAD-1248

fixed doc error on xml menu model dev_guide page

Modified:
    myfaces/trinidad/trunk_1.2.x/src/site/xdoc/devguide/xmlMenuModel.xml

Modified: myfaces/trinidad/trunk_1.2.x/src/site/xdoc/devguide/xmlMenuModel.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/src/site/xdoc/devguide/xmlMenuModel.xml?rev=701672&r1=701671&r2=701672&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/src/site/xdoc/devguide/xmlMenuModel.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/src/site/xdoc/devguide/xmlMenuModel.xml Sat Oct  4 10:04:56 2008
@@ -78,7 +78,7 @@
 
 <source><![CDATA[
 <?xml version="1.0" encoding="iso-8859-1"?>
-<menu xmlns:"http://myfaces.apache.org/trinidad/menu">
+<menu xmlns="http://myfaces.apache.org/trinidad/menu">
   <itemNode id="gin0" label="Global 0" action="goToGlobal0"
             focusViewId="/menuDemo/global0.jspx">
     <itemNode id="in1" label="Tab 1" action="goToTab1"
@@ -149,16 +149,16 @@
        <managed-bean-name>root_menu</managed-bean-name>
        <managed-bean-class>org.apache.myfaces.trinidad.model.XMLMenuModel</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
-       <managed-attribute>
-         <attribute-name>source</attribute-name>
+       <managed-property>
+         <property-name>source</property-name>
          <value>/WEB-INF/menu-metadata.xml</value>
-       </managed-attribute>
+       </managed-property>
      </managed-bean>
 ]]></source>
 
 <p>The "setSource" method of the XMLMenuModel will be called with the
 location of the menu model's metadata, as specified in the
-"managed-attribute" element. IMPORTANT NOTE: the scope for the menu
+"managed-property" element. IMPORTANT NOTE: the scope for the menu
 model <strong>must</strong> be "request".</p>
 </subsection>
 
@@ -334,7 +334,7 @@
 
 <source><![CDATA[
 <?xml version="1.0" encoding="iso-8859-1"?>
-<menu "http://myfaces.apache.org/trinidad/menu">
+<menu xmlns="http://myfaces.apache.org/trinidad/menu">
   <itemNode id="gin1" label="one" action="goToPageOne"
             focusViewId="/menuDemo/page_one.jspx"/>
   <sharedNode ref="#{xmlMenuModel_subMenu}"/>
@@ -365,7 +365,7 @@
 
 <source><![CDATA[
 <?xml version="1.0" encoding="iso-8859-1"?>
-<menu xmlns:"http://myfaces.apache.org/trinidad/menu"
+<menu xmlns="http://myfaces.apache.org/trinidad/menu"
       resourceBundle="org.apache.myfaces.trinidaddemo.xmlMenuModelDemo.resource.MenuBundle"
       var="bundle"/>
   <itemNode id="gin0" label="#{bundle.GLOBAL_TAB_0}" action="goToGlobal0"
@@ -546,4 +546,4 @@
 
 
 </body>
-</document>
\ No newline at end of file
+</document>