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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1h 24m 1 Martin Grigorov 08/Apr/13 10:09
        Martin Grigorov made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 6.7.0 [ 12323964 ]
        Resolution Fixed [ 1 ]
        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>
        Martin Grigorov created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development