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

auto-label is not automatically updated when related form component is updated.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 10.1.0, 9.18.0
    • None
    • None

    Description

      Auto-labels are somewhat disconnected from FormComponent they are bound to in the sense that:

       

      • You can modify the form component (e.g. if it is required) and update that component via AJAX and
      • Autolabel will stay with a stale state: i.e. still with the required CSS class

      This should be fixed with 

       

      https://github.com/apache/wicket/pull/812

       

      This PR introduces:

      • a new tag wicket:auto='true|false' that allows to set some auto label as updatable always that form component is updated (via AJAX or web socket request).
      • a new boolean flag on markup-settings that allows to set this new behavior as application default. By default, the flag is set to false thus that applications keep existing behavior.

      Attachments

        Activity

          People

            reiern70 Ernesto Reinaldo Barreiro
            reiern70 Ernesto Reinaldo Barreiro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: