Hi

I want to edit the weights of a weighted tree using a treetable where each node 
has a selectOneMenu with the weights.

The problem is, that the setter of the DefaultTreeModel is never called.

Any ideas?

Sebastian


--------------------------
    /** simple setter */
    public void setWeightedCompetencesTree(DefaultTreeModel tree) {
        log.debug("pre setWeightedCompetencesTREE");

        weight_tree = tree;

        log.debug("post setWeightedCompetencesTREE");
    }
    
------------------------
        <t:tree id="tree" value="#{jsfProfile.weightedCompetencesTree}" 
var="entry" expandRoot="true" columnClasses=",profile_details">
                
                <t:treeColumn>
                        <f:facet name="header">
                                <h:outputText value="#{bundle.competence_name}" 
/>
                        </f:facet>
                        
                        <h:outputText value="#{entry.competence.name}" />
                </t:treeColumn>
                
                <h:column>
                        <f:facet name="header">
                                <h:outputText 
value="#{bundle.competence_weight}" />
                        </f:facet>
                        <h:selectOneMenu value="#{entry.weight}">
                                <f:selectItems 
value="#{translator.selectableWeightEnums}" />
                                <f:param name="WEIGHTED_COMPETENCE" 
value="#{entry.weight.id}" />
                        </h:selectOneMenu>
                </h:column>
        </t:tree>


Reply via email to