You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Florian Reiser <fl...@softproject.de> on 2009/05/12 16:56:06 UTC

[Trinidad] Using Tomahawk components in Trinidad

Hello,

 

I am using a tomahawk t:tree2 inside a trinidad  page. The tree2 is using a
trinidad PPR to send data to a text input field. 

 

As soon as the page with the tree is loaded, the following error shows in
the JBoss console:

 

15:58:03,845 ERROR [STDERR] 12.05.2009 15:58:03
org.apache.myfaces.trinidadinternal.io.DebugResponseWriter
_checkDuplicateAttribute

WARNUNG: Attribut "id" zweimal ausgegeben, Attribut wird stattdessen als
\"duplicate_id\" geschrieben.

 

I can't figure out, where the duplicate ID is generated or how I can prevent
this error. The IDs in the generated source code look fine to me. 

 

Here is our tree:

 

<t:tree2

showRootNode="false" value="#{map.mapSearchTree}" var="node"

         id="mapTree" varNodeToggler="toggler" clientSideToggle="false">

<f:facet name="root">

<h:panelGroup />

         </f:facet>

         <f:facet name="node">

                  <t:selectManyCheckbox layout="spread"
id="mapTreeCheckboxes"

                            valueChangeListener="#{map.treeChangedWas}"

                            onclick="submitForm('searchForm', 1,
{source:this.id});return false;"

                            value="#{map.selectedTreeNodes}">

                            <f:converter
converterId="TreeNodeDsucheConverter" />

                            <t:treeCheckbox for="mapTreeCheckboxes"

                            itemLabel="#{node.description}"
itemValue="#{node}" />

                            <h:outputText value="#{node.description}" />

                   </t:selectManyCheckbox>

         </f:facet>

</t:tree2>

 

 

 

With kind regards

 

Florian Reiser