Are there any news on this bug or am I doing something wrong? Because I still
can not use an action-listener AND an action-method in one command link...
Greetings,
Hendrik
Am Freitag, 6. Mai 2005 10:47 schrieb Hendrik Neumann:
> 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
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193