myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Baranov <michael.bara...@gmail.com>
Subject treetable questions
Date Thu, 20 Apr 2006 09:13:46 GMT
Hello!

I'm modeling a treetable much like in examples:

<t:tree value="#{fileManagerBean.treeModel}" var="node"
        styleClass="borderTable" columnClasses="cell,cell,cell">
        <t:column>
            <h:selectBooleanCheckbox />
        </t:column>
        <t:treeColumn>
            <t:outputText value="#{node.name}" />
        </t:treeColumn>
        <t:column>
            <h:outputText value="#{node.path}" />
        </t:column>
    </t:tree>

Question 1:
    in the scenario above, the tree column doesn't get the CSS cell 
class. Is there a way to specify one? Any tricks? :-)

Question 2:
    is there a simple way to know what node in the tree was selected 
(using <t:commandLink>), like in dataTable ( tableModel.getRowData() )?

Question 3:
    what's the use of <t:treeCheckbox> ? Au usual 
<h:selectBooleanCheckbox /> will not do?


Thank you so much!!!

Michael.
<cid:part1.06080805.02050001@gmail.com>

Mime
View raw message