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

wicket:link component ids get too long

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5
    • 1.5.6, 6.0.0-beta2
    • wicket
    • None

    Description

      The resolve() method of org.apache.wicket.markup.parser.filter.WicketLinkTagHandler appends modifies the original tag id and appends the next autoId to it. The problem is that this is done during every render, the the component id gets longer and longer.

      I had a situation on a production server where component ids were over 10k. RepeatingView just added to the problem.

      Long story short, I think resolve should just return the TransparentWebMarkupContainer with the modified id, and not set the original id.

      Attachments

        1. WICKET-4484.patch
          0.7 kB
          Jesse Long

        Activity

          People

            svenmeier Sven Meier
            jesselong Jesse Long
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: