在执行action的地方多检查一下看看

解决方案 »

  1.   

    尝试过在bean中只加如log.double("1")但是在选择了树中的checkbox再执行action时就需要按2次才执行。
    <t:tree id="tree" value="#{baseSetBean.treemodel}" var="treeItem"
    styleClass="tree" nodeClass="treenode"
    selectedNodeClass="treenodeSelected" expandRoot="true"> <t:treeColumn> <t:selectManyCheckbox id="selected" layout="spread"
    immediate="true" value="#{testBean.selectedtree}">

    <t:treeCheckbox for="selected" id="itemcheck"
    itemLabel="#{treeItem.name}" itemValue="#{treeItem.code}" /> </t:selectManyCheckbox>

    </t:treeColumn> </t:tree>