It's supposed to work. I posted a message about the actionListener not getting called. It has nothing to do with the fact you have an action attribute. It's a bug.
----- Original Message ----- From: "Hendrik Neumann" <[EMAIL PROTECTED]> To: "MyFaces Discussion" <[email protected]> Sent: Sunday, April 03, 2005 11:05 AM Subject: Re: more about tree2 node selection > Using an action and an action-listener in one commandLink is not working in my > jsf-site: > > <h:commandLink > styleClass="#{t.nodeSelected ? 'documentSelected' : 'document'}" > actionListener="#{t.setNodeSelected}" > action="#{currentUser.userSelectsCategoryOrArticle}" > > <h:outputText value="#{node.description}" /> > <f:param name="type" value="#{node.type}" /> > <f:param name="ident" value="#{node.identifier}" /> > <f:param name="name" value="#{node.description" /> > <f:param name="docNum" value="#{node.identifier}"/> > </h:commandLink> > > Using both just calls the action-method and not the action-listener. The > styleClass="#{t.nodeSelected ? 'documentSelected' : 'document'}" stuff just > works if I remove the action-attribute.. > > what am I doing wrong? > > Am Sonntag, 3. April 2005 16:27 schrieb Rob Decker: > > You can use an action and an actionListener in the same tag. You can even > > nest actionListener's in the tag and have multiple ones called.

