myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Menge <>
Subject selectOneRadios in TreeTable
Date Wed, 06 Dec 2006 01:18:42 GMT

Im still struggling with the TreeTable.

I want a selectOne control next to each of my nodes in a tree.

When MyFaces renders the tree everything looks good, but when we try to
save the changed data in the select-controls, nothing happens.

The problem seems to be that for each select-control in the tree the
same id is assigned. 

Is this an instance of ?

Is there a way to avoid that or are there any other workaorunds? 

TIA, Sebastian

Heres my JSF-Tag:

        <t:tree id="tree" value="#{jsfProfile.weightedCompetencesTree}" var="entry" expandRoot="true"
                        <f:facet name="header">
                                <h:outputText value="#{bundle.competence_name}" />
                        <h:outputText value="#{}" />
                        <f:facet name="header">
                                <h:outputText value="#{bundle.competence_weight}" />
                        <h:selectOneMenu value="#{entry.weight}">
                                <f:selectItems value="#{translator.selectableWeightEnums}"
                                <f:param name="WEIGHTED_COMPETENCE" value="#{}"

View raw message