You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2011/06/20 09:31:47 UTC
[jira] [Reopened] (WICKET-2650) Consistently create body for short
tags.
[ https://issues.apache.org/jira/browse/WICKET-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag reopened WICKET-2650:
----------------------------------------
> Consistently create body for short tags.
> ----------------------------------------
>
> Key: WICKET-2650
> URL: https://issues.apache.org/jira/browse/WICKET-2650
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.4.0
> Reporter: Maarten Billemont
> Assignee: Juergen Donnerstag
> Fix For: 1.4.6, 1.5-M1
>
>
> When the Wicket HTML contains a tag such as <a wicket:id="foo" /> and the component bound to that tag uses replaceComponentTagBody to write a string to the tag's body, currently nothing happens.
> Either a text node should be added to the component tag and the body written to it;
> Or a warning/exception should occur if for some reason it is preferred to not let this method succeed when the component tag has no body yet.
> I don't see the use of the latter, so I recommend the former be implemented.
> For now it's just confusing and dangerous. If I give my HTML to a web designed and he changes a few empty HTML tags to short tags, I'll never be warned, but my output WILL be broken.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira