Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-4222

Nice to have multiple events in a4j:support tag

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Out of Date
    • Affects Version/s: 3.2.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial

      Description

      in the a4j:support tag, it is now possible enter an event for which you want to occur something (e.g. reRender):
      <a4j:support event="onblur" reRender="usernameDecorate"/>

      Sometimes it would be very userful if reRenders occur for multiple events.
      For example there are two events in which you are interesed: onblur and onkeyup.
      The onblur should check where a username containts valid characters (by using a regexp)
      The onkeyup should display the current length of the username (in an <h:outputText />)

      So, based on above example it would me nice if the support tag supported (hehe) more than one event).
      For example: <a4j:support event="onblur,onkeyup" reRender="usernameDecorate"/>

      I already tried to create a separate a4j:support for each event, but then only the first one is executed.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                janhoeve Jan Hoeve (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: