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

Calls to enabled and visibleInHierarchy should not be done in component resolving.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0 branch (discontinued), 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.3.0-beta1
    • wicket
    • None

    Description

      Currently, the check(s) on whether a component may receive a call is done too early, namely during resolving the request target. This is a problem when components depend on things being initialized in the page or component using detachement. There is also some code duplication. The proper place for this check is in RequestListenerInterface#invoke.

      Attachments

        Activity

          People

            ehillenius Eelco Hillenius
            ehillenius Eelco Hillenius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: