You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org> on 2008/10/04 19:05:44 UTC
[jira] Resolved: (TRINIDAD-1248) Documentation error
[ https://issues.apache.org/jira/browse/TRINIDAD-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf resolved TRINIDAD-1248.
------------------------------------------
Resolution: Fixed
Fix Version/s: 1.0.10-core
1.2.10-core
Assignee: Matthias Weßendorf
> Documentation error
> -------------------
>
> Key: TRINIDAD-1248
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1248
> Project: MyFaces Trinidad
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 1.2.9-core
> Environment: Any
> Reporter: Christopher Biggs
> Assignee: Matthias Weßendorf
> Priority: Minor
> Fix For: 1.2.10-core, 1.0.10-core
>
> Original Estimate: 0.17h
> Remaining Estimate: 0.17h
>
> The on-line development quide for XMLMenuModel has some painful errors for the new JSF user/developer. (See http://myfaces.apache.org/trinidad/devguide/xmlMenuModel.html)
> Firstly there is the error:
> <?xml version="1.0" encoding="iso-8859-1"?>
> <menu xmlns:"http://myfaces.apache.org/trinidad/menu">
> I think(!) this should read:
> <?xml version="1.0" encoding="iso-8859-1"?>
> <menu xmlns="http://myfaces.apache.org/trinidad/menu">
> Secondly, (and the one that kept me busy for some time) is:
> <!-- managed bean menu model -->
> <managed-bean>
> <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>
> <value>/WEB-INF/menu-metadata.xml</value>
> </managed-attribute>
> </managed-bean>
> This should read:
> <!-- managed bean menu model -->
> <managed-bean>
> <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-property>
> <property-name>source</property-name>
> <value>/WEB-INF/menu-metadata.xml</value>
> </managed-property>
> </managed-bean>
> Simple to fix - difficult for the newbie to resolve.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.