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

Juergen Donnerstag resolved WICKET-1380.
----------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.5-M1)
                   1.4-RC2
         Assignee: Juergen Donnerstag

Introduced TagAttribute which extends ValueMap and which does the check. An 
internal put method is available for e.g. MarkupParser which genuinely needs to 
add the "id" attribute to the map.

> (Simple)AttributeModifier abuse check
> -------------------------------------
>
>                 Key: WICKET-1380
>                 URL: https://issues.apache.org/jira/browse/WICKET-1380
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>            Reporter: Arnout Engelen
>            Assignee: Juergen Donnerstag
>            Priority: Minor
>             Fix For: 1.4-RC2
>
>
> I've seen people using an AttributeModifier to manipulate the ID of a 
> component, causing puzzling problems e.g. with Ajax.
> It would be nice to show a warning in the logging in this case, telling 
> him/her to use 
> http://wicketstuff.org/wicket13doc/org/apache/wicket/Component.html#setMarkupId(java.lang.String)
>  instead if they must manually set the id.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to