Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5783

Multiple events in AjaxEventBehavior with prefix 'on'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0-M5, 6.19.0
    • None
    • None

    Description

      if multiple events are used and one starts with "on", it only works if it is the first one, because of:

      		if (event.startsWith("on"))
      		{
      			event = event.substring(2);
      		}
      

      Why are events possible to start with "on" ?

      Is this legacy? Perhaps should be removed for Wicket 7 ?

      Attachments

        1. events.zip
          33 kB
          Filipe Roque

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            froque Filipe Roque
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: