1 Reply Latest reply on Feb 17, 2009 12:40 PM by schevus

    rich:editor onchange problem

    schevus

      I am trying to use an a4j:support tag that triggers on the onchange event for an editor. It seems that the onchange for this component works just like onblur, because it triggers whenever I click out of the editor.

      My problem is that when I click directly on my commandButton from out of the editor the onchange event is not triggered. As far as I can tell there are no other events supported for the editor that would serve my needs, so I don't know how to work around this limitation. Should I enter this as a bug? Thanks!

      - Schev

        • 1. Re: rich:editor onchange problem
          schevus

          I was able to solve this problem by wrapping my command button in an a4j:outputPanel and placing an a4j:support in there with an onmousedown trigger.

          This seems like an ugly solution, but it works.

          - Schev