Heiko Jehmlich created TRINIDAD-2335:
----------------------------------------

             Summary: CommandLink is not triggered in TreeTable columns if 
rootNodeRendered="false"
                 Key: TRINIDAD-2335
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2335
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 2.0.1-core
         Environment: FF 16.0.2, IE8, (with possible all) Trinidad 2.x 
implementations
            Reporter: Heiko Jehmlich


If a commandLink is placed inside a column of a TreeTable and you click on that 
link it does not trigger the BackingBean action when the tree's attribute 
rootNodeRendered is set to "false". The tree is embedded in a tr:form, 
tr:document and f:view

<tr:treeTable id="dsTree" width="100%" var="node" 
        value="#{depthStructureSelect.model}"
        binding="#{depthStructureSelect.tree}"
        rowDisclosureListener="#{depthStructureSelect.rowDisclosureListener}" 

>>>     rootNodeRendered="false" <<<

        initiallyExpanded="false" 
        expandAllEnabled="true"
        horizontalGridVisible="false" 
        verticalGridVisible="false"
        rowBandingInterval="0" 
        emptyText="empty">

        <f:facet name="nodeStamp">
                <tr:column>
                        <f:facet name="header">
                                <tr:outputText value="#{msg.ds}" />
                        </f:facet>
                        <tr:commandLink id="select" 
actionListener="#{depthStructureSelect.actionHandler}">
                                <tr:setActionListener from="#{node}" 
to="#{depthStructureSelect.selected}" />
                                <tr:outputText 
value="#{depthStructureSelect.text}" escape="false" />
                        </tr:commandLink>
                </tr:column>
        </f:facet>
        
        <tr:column>
                ...
        </tr:column>
</tr:treeTable>


Looks like this issue is the same like described in:
https://issues.apache.org/jira/browse/TRINIDAD-1055







--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to