1 Reply Latest reply on Dec 23, 2008 6:29 AM by Ilya Shaikovsky

    problem with a4j:support and javascript event

    Herbert Dowalil Newbie

      merry christmas everyone!

      i got a problem where i didn´t find a solution or a hint in the manual or the forum, but it seems like quite a common issue to me

      when i use a4j:support in an item that uses an javascript event, either the js or the a4j does not work, like here:

      <h:column>
      <h:selectBooleanCheckbox value="#{ptn.selected}" onclick="return dataTableSelectOne(this);">
      <a4j:support event="onselect" action="#{kuvptnsearch.dummy}" reRender="ptnSearchButtons"/>
      </h:selectBooleanCheckbox>
      </h:column>

      the onclick is called, die onselect rerendering does not happen. if i turn events around and use onselect on the checkbox-tag and onclick on the a4j:support it is the other way round?! what am i doing wrong? can anyone please help?

      thanks and kind regards,
      herbert