You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ernesto Reinaldo Barreiro (Jira)" <ji...@apache.org> on 2024/03/26 20:47:00 UTC

[jira] [Resolved] (WICKET-7101) auto-label is not automatically updated when related form component is updated.

     [ https://issues.apache.org/jira/browse/WICKET-7101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ernesto Reinaldo Barreiro resolved WICKET-7101.
-----------------------------------------------
    Resolution: Fixed

Fixed both on wicket 10.x and wicket 9.x

> auto-label is not automatically updated when related form component is updated.
> -------------------------------------------------------------------------------
>
>                 Key: WICKET-7101
>                 URL: https://issues.apache.org/jira/browse/WICKET-7101
>             Project: Wicket
>          Issue Type: Improvement
>            Reporter: Ernesto Reinaldo Barreiro
>            Assignee: Ernesto Reinaldo Barreiro
>            Priority: Major
>             Fix For: 9.17.0, 10.1.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)