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

Multiple events in AjaxEventBehavior with prefix 'on'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0-M5, 6.19.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: