You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org> on 2007/03/30 23:39:25 UTC

[jira] Resolved: (TOMAHAWK-953) Panel Stack example fails with Message: There is more than one JSF tag with id : treePanel for parent component with id : 'stack'

     [ https://issues.apache.org/jira/browse/TOMAHAWK-953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Kienenberger resolved TOMAHAWK-953.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.6-SNAPSHOT

Fixed.  Thanks.
Also fixed a missing converter for color and wrong itemValue values for doors.

> Panel Stack example fails with Message: There is more than one JSF tag with id : treePanel for parent component with id : 'stack'
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TOMAHAWK-953
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-953
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Examples, Panel Stack
>    Affects Versions: 1.1.5, 1.1.6-SNAPSHOT
>         Environment: JSP
>            Reporter: Jeff Bischoff
>             Fix For: 1.1.6-SNAPSHOT
>
>
> The current example page for Panel Stack component, panelstack.jsf, blows up immediately with message:
> There is more than one JSF tag with id : treePanel for parent component with id : 'stack'
> Viewing the source, the problem comes from the following panelGroup code having been copied-and-pasted, without either id being changed:
>    <t:panelStack id="stack" selectedPanel="#{stackState.selected}">
>         <h:panelGroup id="treePanel">
>             <h:form>
>                 <t:tree id="tree" value="#{treeModel}"
>                     styleClass="tree"
>                     nodeClass="treenode"
>                     selectedNodeClass="treenodeSelected"
>                     expandRoot="true">
>                 </t:tree>
>              </h:form>   
>             <f:verbatim><br></f:verbatim>
>         </h:panelGroup>
>         <h:panelGroup id="treePanel">
>             <h:form>
>             <t:tree id="tree" value="#{treeModel}"
>                     styleClass="tree"
>                     nodeClass="treenode"
>                     selectedNodeClass="treenodeSelected"
>                     expandRoot="true">
>             </t:tree>
>             </h:form>
>             <f:verbatim><br></f:verbatim>
>         </h:panelGroup>
> Suggested solutions: either delete the second panelGroup or replace their ids with "treePanel1" and "treePanel2", respectively. If I have time, I'll post a patch with the latter solution.

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