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

Script in RenderHead method of AjaxFormChoiceComponentUpdatingBehavior needs fixing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0-final
    • 1.3.1
    • wicket
    • None

    Description

      The script in the renderHead method of AjaxFormChoiceComponentUpdatingBehavior assumes that the Radio Component will be the immediate child of the RadioGroup Component, But in some or in most of the cases that is not correct.

      That is not the case even in the Wicket Examples, in examples the hierarchy is RadioGroup/ListView/Radio.

      I have maodied the rendered script to work for RadioGroup/ListView/Radio hierarchy.

      And the Patch is attached.

      Regards
      Dipu

      Attachments

        1. AjaxFormChoiceComponentUpdatingBehavior_patch_revision_610340.txt
          3 kB
          Dipu C Seminlal
        2. patch.txt
          2 kB
          Rens Verhage

        Issue Links

          Activity

            People

              ivaynberg Igor Vaynberg
              dipu_esp Dipu C Seminlal
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: