Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-12536

Wicket warning about "id" attribute

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 14.0.0
    • 14.1.1, 14.2.0, 100.2.0
    • None
    • None
    • 0.5
    • Quasar
    • Puma Sprint 229

    Description

      When having installed the Projects feature, there's a Wicket warning about using component.setMarkupId() on login.

      It comes from CmsSubAppIFrameCommunicationBehavior#bind

      tag.put("id", CmsSubAppIFrameCommunicationBehavior.this.iFrameElementId);
      

      Then org.apache.wicket.markup.ComponentTag#checkIdAttribute warns about the "id" attribute:

      log.warn("Please use component.setMarkupId(String) to change the tag's 'id' attribute.");
      

      Setting log level to INFO produces this just before the warning:

      INFO  [CmsSubAppIFrameCommunicationBehavior.createScript:102] Add {key:iFrameElementId,value:projects-iframe as parameter to script
      

      Attachments

        Activity

          People

            ntrajkovski Nikola Trajkovski
            jhoffman Jeroen Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: