I'm new to MyFaces and having some problems using updateActionListener inside a
tree2, I get "Action listener for property is not present" when clicking the
commandButton.
MyFaces 1.1.3 + Tomahawk 1.1.3 + Facelets + updateActionListener tag handler
from Wiki
2006-07-11 10:04:28,379 DEBUG http-8180-Processor20
com.myapp.util.TomahawkUpdateActionListenerHandler - Apply called. Component:
[EMAIL PROTECTED]
2006-07-11 10:04:28,379 DEBUG http-8180-Processor20
com.myapp.util.TomahawkUpdateActionListenerHandler - Action listener for
property is not present. Property: #{patientEvent.currentEvent}
The same updateActionListener works fine within a t:dataTable.
I've looked around and can't find any mention of this specific problem, does
any know of any issues?
I'd appreciate some pointers.
Thanks
Gianni
<t:tree2 id="historyTree"
value="#{patientEvent.historyTreeModel}"
showRootNode="false"
var="node"
varNodeToggler="t"
clientSideToggle="true" >
<f:facet name="top">
<h:panelGroup>
<h:outputText value="#{node.description}"/>
</h:panelGroup>
</f:facet>
<f:facet name="diagnosis">
<h:panelGroup>
<h:outputText value="#{node.description}"/>
<t:commandButton type="submit"
action="#{patientEvent.addNewSecondaryEvent}"
value="#{msgs['label.patient-event.add-new']}">
<t:updateActionListener property="#{patientEvent.currentEvent}"
value="#{node.visit}" />
</t:commandButton>
</h:panelGroup>
</f:facet>
</t:tree2>