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

Automate output of markup ids

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment