You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Kent Tong (JIRA)" <ji...@apache.org> on 2007/09/24 16:49:52 UTC
[jira] Created: (WICKET-1004) Label associated with an open/close
tag should still work
Label associated with an open/close tag should still work
---------------------------------------------------------
Key: WICKET-1004
URL: https://issues.apache.org/jira/browse/WICKET-1004
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 1.3.0-beta3
Reporter: Kent Tong
I think this is one of the most common gotcha's in Wicket: a Label associated with an open/close tag like <span/> will silently output nothing. As I really can't think of a use case when this behavior is the desired behavior (wanting the Label to output nothing?), I'd suggest that either change it to <span></span> or simply throw an exception or log a warning.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WICKET-1004) Label associated with an open/close
tag should still work
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg reassigned WICKET-1004:
-------------------------------------
Assignee: Igor Vaynberg
> Label associated with an open/close tag should still work
> ---------------------------------------------------------
>
> Key: WICKET-1004
> URL: https://issues.apache.org/jira/browse/WICKET-1004
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.3.0-beta3
> Reporter: Kent Tong
> Assignee: Igor Vaynberg
>
> I think this is one of the most common gotcha's in Wicket: a Label associated with an open/close tag like <span/> will silently output nothing. As I really can't think of a use case when this behavior is the desired behavior (wanting the Label to output nothing?), I'd suggest that either change it to <span></span> or simply throw an exception or log a warning.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-1004) Label associated with an open/close
tag should still work
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1004.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0-beta4
> Label associated with an open/close tag should still work
> ---------------------------------------------------------
>
> Key: WICKET-1004
> URL: https://issues.apache.org/jira/browse/WICKET-1004
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.3.0-beta3
> Reporter: Kent Tong
> Assignee: Igor Vaynberg
> Fix For: 1.3.0-beta4
>
>
> I think this is one of the most common gotcha's in Wicket: a Label associated with an open/close tag like <span/> will silently output nothing. As I really can't think of a use case when this behavior is the desired behavior (wanting the Label to output nothing?), I'd suggest that either change it to <span></span> or simply throw an exception or log a warning.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.