1 Reply Latest reply on Aug 27, 2007 6:47 AM by Ilya Shaikovsky

    How to connect many listener(ActionEvent) to a same event

    haoues klklk Newbie

      Hi all,

      I need help to connect many listener from different beans to a same event.. below a sample :

      <a4j:commandButton image="images/view.gif"
      rendered="#{cppWpr.btEdit}" actionListener="#{beanA.load}"
      <a4j:actionparam name="comp_parent_param_id" value="#{cppWpr.val.id}" />
      <a4j:support event="onclick" actionListener="#{beanB.load}">
      <a4j:actionparam name="ui_selected" value="tab1" />
      <a4j:actionparam name="ui_reset" value="false" />

      In this case it works only on the first click ... after listeners are not called !
      I tried with <a4j:actionparam assignTo="#{..}" value="..." /> but it doesn't work at all.

      If someone has any idea it would be great.
      Thanks in advance for your help.