Hi,
I'm using Netbeans 5.5 with VWP and Icefaces 1.5.3 and Sun App Server 8.2.
Trying to follow the tutorial/examples I have derived a class from IceUserObject for my tree nodes and I use it to display label and icons. As shown in the examples, I'd also like to connect an actionListener to a commandLink on the node to be fired when the node is clicked.
The following jsp code works:
Code:
<ice:commandLink actionListener="#{phaseManager.phasesTree_processAction}" binding="#{phaseManager.commandLink2}" id="commandLink2">
<ice:outputText binding="#{phaseManager.outputText3}" id="outputText3" value="#{item.userObject.text}"/>
</ice:commandLink>
phasesTree_processAction is called each time a node is clicked.
The follwing does not work and
Code:
<ice:commandLink actionListener="#{item.userObject.nodeClicked}" binding="#{phaseManager.commandLink2}" id="commandLink2">
<ice:outputText binding="#{phaseManager.outputText3}" id="outputText3" value="#{item.userObject.text}"/>
</ice:commandLink>
What am I doing wrong?
(note: working and non-working files attached)