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

Make method getContentId of ModalWindow static

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.15, 1.5-RC1
    • wicket-extensions
    • None

    Description

      My proposal is to make the method getContentId of the class ModalWindow STATIC to simplify a creation of the panel class that would serve as a base class for content components. It's always necessary to specify a content ID when we create a component which can be added as a window component. This content ID can be obtained only from an instance of the modal window which often is not convenient neither neccesary since it's just a constant kept in sync with the id in the window markup. Also there is no obvious reason to override this method.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            vtsaplin Vitaly Tsaplin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: