I'm trying to use a p:commandLink inside p:treeNode but it doesn't work, neither in a leaf, child or parent node.
I googled this issue and seems that many people has this problem, like in here:
http://primefaces.prime.com.tr/forum/vi ... f=3&t=3976
http://code.google.com/p/primefaces/iss ... ail?id=472
I'm using Primefaces 2.2 RC2 with Glassfish 3.
Here is my XHTML:
Code: Select all
<h:form>
<p:panel header="Results" rendered="#{alarmController.root != null}">
<p:tree value="#{alarmController.root}" var="alarm">
<p:treeNode type="erro">
<h:outputText value="#{alarm}" styleClass="erroNode"/>
<p:commandLink update="documentPanel" oncomplete="documentDialog.show()" title="Comment this alarm">
<h:outputText value="Comment here"/>
</p:commandLink>
</p:treeNode>
</p:tree>
</p:panel>
</h:form>