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

Automate output of markup ids

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.0.0-beta1
    • wicket

    Description

      this is a proposal to remove the rather annoying requirement of having to call setoutputmarkupid(true) on components.

      when a user calls getmarkupid() they are showing intent of using that id, so if that method is called we should automatically call setoutputmarkupid(true). further we should process renderhead() of components first - before rendering the components. most calls to getmarkupid() come from that method so processing it before rendering the component will toggle the correct bit.

      Attachments

        1. WICKET-4091.patch
          0.7 kB
          Emond Papegaaij

        Activity

          People

            papegaaij Emond Papegaaij
            ivaynberg Igor Vaynberg
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: