I tried to do the following, but apparently tomahawk doesn't like it:
<h:commandLink id="id1" action="nodeClicked"
actionListener="#{Workspace.doGetDetail}"
immediate="true" value="Project:
#{node.description}"
styleClass="#{t.nodeSelected?'highlighted':'nodeFolder'}"
rendered="#{!t.nodeSelected}">
<f:param id="resourceId" name="resourceId"
value="#{node.identifier}" />
<t:updateActionListener
property="#{t.setNodeSelected}" value="true"/>
</h:commandLink>
I also tried property="#{t.nodeSelected}" and it made no difference...
is there a way to do the equivalent of t.setNodeSelected in the
backing bean?
On 10/17/06, Jeff Bischoff <[EMAIL PROTECTED]> wrote:
Jim the Standing Bear wrote:
> In the sample code provided on the wiki, the code explicitly does
> t.setNodeSelected as the actionListener of the commandLink; but i
> cannot do that because as I said earlier, the actionListener is
> reserved to invoke a method at the backing bean.
>
You do realize that you can have multiple t:updateActionListener tags
inside of a commandLink/commandButton? :)
Regards,
Jeff Bischoff
Kenneth L Kurz & Associates, Inc.
--
--------------------------------------
Standing Bear Has Spoken
--------------------------------------