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

getvariation() is called from webpage constructor through commoninit()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.5
    • 1.2.6, 1.3.0-beta1
    • wicket
    • None

    Description

      getvariation() is called from commoninit(). if user overrides getvariation() and makes it depend on variables initialized from his webpage subclass' constructor then this method is invoked before the constructor has finished - which of course leads to problems.

      getvariation should not be called from WebPage constructor

      Attachments

        Issue Links

          Activity

            People

              ivaynberg Igor Vaynberg
              ivaynberg Igor Vaynberg
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: