You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Heiko Jehmlich (JIRA)" <de...@myfaces.apache.org> on 2012/11/05 11:03:12 UTC

[jira] [Commented] (TRINIDAD-2335) CommandLink is not triggered in TreeTable columns if rootNodeRendered="false"

    [ https://issues.apache.org/jira/browse/TRINIDAD-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490542#comment-13490542 ] 

Heiko Jehmlich commented on TRINIDAD-2335:
------------------------------------------

Remark: if you click once on "expand all Nodes" and then clicking the commandLink, then it works.
                
> 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