Wicket
  1. Wicket
  2. WICKET-5137

Improve TagTester support for Ajax responses

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.6.0
    • Fix Version/s: 6.7.0
    • Component/s: wicket
    • Labels:
      None

      Description

      org.apache.wicket.util.tester.TagTester#createTagByAttribute does not work for Ajax responses because the HTML elements are inside CDATA and thus ignored by XmlPullParser.

        Activity

        Hide
        Martin Grigorov added a comment -

        Improved by removing the CDATA for the <component>'s.
        The <component> attributes (the id) are also removed because the id is often the same as the HTML element inside the <component> and we need getTagById() to return the HTML element, not the <component>

        Show
        Martin Grigorov added a comment - Improved by removing the CDATA for the <component>'s. The <component> attributes (the id) are also removed because the id is often the same as the HTML element inside the <component> and we need getTagById() to return the HTML element, not the <component>

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Martin Grigorov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development