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

Palette does not support ajax behavior

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.3
    • 1.4-M2
    • wicket-extensions
    • None

    Description

      http://wicketframework.org/wicket-extensions/apidocs/wicket/extensions/markup/html/form/palette/Palette.html says:

      ----------------

      Ajaxifying the palette: The palette itself cannot be ajaxified because it is a panel and therefore does not receive any javascript events. Instead ajax behaviors can be attached to the recorder component which supports the javascript onchange event. The recorder component can be retrieved via a call to getRecorderComponent(). Example:

      Form form=new Form(...);
      Palette palette=new Palette(...);
      palette.getRecorderComponent().add(new AjaxFormComponentUpdatingBehavior("onchange")

      {...}

      );

      ----------------

      However getRecorderComponent() returns null.

      Also see http://www.nabble.com/%22option-transfer%22-widget-to16837723.html#a16839739

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            nielsvk Niels van Kampenhout
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: