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

Stateless pages and access to unconfigured components

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 9.0.0-M1
    • 9.0.0-M2
    • wicket
    • None

    Description

      Requests to components/behaviors on stateless components should be standardized.

      Currently PageAndComponentProvider:

      • provides a component unconfigured, if it is already inside the component hierarchy
      • configures the page for render otherwise 
      • provides a component configured afterwards*,* if it was added during #onInitialize() or #onConfigure()

      As a Wicket user I would expect access to components configured only.

      If we decide to configure stateless pages everytime a component inside it is accessed, we have to decide wether

      • excluding feedbacks from configuration is enough (as is done currently)
      • configuration of all components should be reset, so that configuration is repeated on the following render (e.g. ListViews picking up their items, configuration is updated according to a new model state)
      • or whether the whole page should be detached too (this would refresh loadable models too)

      Attachments

        Issue Links

          Activity

            People

              svenmeier Sven Meier
              svenmeier Sven Meier
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: