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

Joonas Koivunen updated WICKET-3128:
------------------------------------

    Attachment: wicket-3128.patch

Patch that applies against both trunk and 1.4.x branch.

> FormComponentLabel should open open-close tags like Label does
> --------------------------------------------------------------
>
>                 Key: WICKET-3128
>                 URL: https://issues.apache.org/jira/browse/WICKET-3128
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4.12, 1.5-M2.1
>            Reporter: Joonas Koivunen
>            Priority: Minor
>         Attachments: wicket-3128.patch
>
>
> Seems to affect all versions.
> FormComponentLabel nor it's subclass SimpleFormComponentLabel open the tag 
> like Label does.
> While writing <label wicket:id="xyz"/> is invalid XHTML I'd argue this should 
> be supported as Label will expand tags as well.
> FormComponentLabel asserts that the tags name is "label", so that's the 
> reasoning behind implementing it there (in the patch attached).
> Patch is trivial and identical for both 1.4 and 1.5 branches.

-- 
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