You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/11/26 11:20:36 UTC

[jira] [Reopened] (WICKET-5411) Improve AutoLabels by updating their CSS classes automatically during Ajax requests

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

Martin Grigorov reopened WICKET-5411:
-------------------------------------


Reopening to improve the problem with tag.put("id", ...) before 6.13

> Improve AutoLabels by updating their CSS classes automatically during Ajax requests
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-5411
>                 URL: https://issues.apache.org/jira/browse/WICKET-5411
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>            Reporter: Igor Vaynberg
>            Assignee: Igor Vaynberg
>             Fix For: 6.13.0, 7.0.0
>
>
> The problem with auto labels is that once they are rendered the only way to update their `error`/`required` css classes during ajax requests is to update some parent since auto components cannot be targeted directly. however, when dealing with forms we may not necessarily want to repaint components because we may lose state.
> This issue solves the problem by tracking state changes in form components that have auto labels and updating their css classes on all ajax requests.
> disabled by default in 6.13 (to enable override WebApplication#getUpdateAutoLabelsOnAjaxRequests() ), always enabled in 7.0



--
This message was sent by Atlassian JIRA
(v6.1#6144)