Hi everybody,
I still have the problem, that using both, an ActionListener- and an
ActionMethod-Attribut in a commandLink is not working.
Clicking on the following link just calls the action-method, but NOT the
action-listener.
<h:commandLink styleClass="#{t.nodeSelected ? 'documentSelected' :
'document'}" action="#{currentUser.userSelectsCategoryOrArticle}"
immediate="true" actionListener="#{t.setNodeSelected}" > [...]
I'm using this command link within the tree2-component to navigate through
results of the latest research accomplish by our research center. Whenever a
scientist clicks on an item in the tree the action-method should call a new
site and the action-listener should set the current node in "nodeSelected =
true"-mode which changes the CSS-Style for this element, but it is simply not
working... the action-methods works fine, but the action-listener seems to be
dead...
What am I doing wrong? Is it a bug (a related bug-report was closed a few
weeks ago)? Is there a work around?
P.S: I'm using tomcat5 and the latest MyFaces-release, OS is SuSE- and
Gentoo-Linux, everything is up to date. Should I create a new bug-report?
Greetings,
Hendrik
research center 459, Ruhr-University of Bochum