You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Kare Nuorteva (JIRA)" <ji...@apache.org> on 2008/09/03 14:43:44 UTC
[jira] Created: (WICKET-1818) wicket:id attribute with a value
containing spaces generates invalid markup
wicket:id attribute with a value containing spaces generates invalid markup
---------------------------------------------------------------------------
Key: WICKET-1818
URL: https://issues.apache.org/jira/browse/WICKET-1818
Project: Wicket
Issue Type: Bug
Components: wicket
Reporter: Kare Nuorteva
Fix For: 1.3.5, 1.3.6, 1.4-M4, 1.5-M1
HTML:
<span wicket:id="foo bar"></span>
Java:
Label label = new Label("foo bar", "lol");
label.setOutputMarkupId(true);
Generates markup:
<span id="foo bar">lol</span>
Expected:
<span id="foo_bar">lol</span>
When wicket generates wicket:id attributes it should replace spaces with some appropriate valid character (like underscore "_").
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1818) wicket:id attribute with a value
containing spaces generates invalid markup
Posted by "Bruno Borges (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno Borges updated WICKET-1818:
---------------------------------
Attachment: patch-1818.diff
> wicket:id attribute with a value containing spaces generates invalid markup
> ---------------------------------------------------------------------------
>
> Key: WICKET-1818
> URL: https://issues.apache.org/jira/browse/WICKET-1818
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Kare Nuorteva
> Priority: Trivial
> Fix For: 1.3.5, 1.3.6, 1.4-M4, 1.5-M1
>
> Attachments: patch-1818.diff
>
>
> HTML:
> <span wicket:id="foo bar"></span>
> Java:
> Label label = new Label("foo bar", "lol");
> label.setOutputMarkupId(true);
> Generates markup:
> <span id="foo bar">lol</span>
> Expected:
> <span id="foo_bar">lol</span>
> When wicket generates wicket:id attributes it should replace spaces with some appropriate valid character (like underscore "_").
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-1818) wicket:id attribute with a value
containing spaces generates invalid markup
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1818.
-----------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.3.6)
(was: 1.5-M1)
Assignee: Igor Vaynberg
> wicket:id attribute with a value containing spaces generates invalid markup
> ---------------------------------------------------------------------------
>
> Key: WICKET-1818
> URL: https://issues.apache.org/jira/browse/WICKET-1818
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Kare Nuorteva
> Assignee: Igor Vaynberg
> Priority: Trivial
> Fix For: 1.3.5, 1.4-M4
>
> Attachments: MarkupIdTestPage.html, MarkupIdTestPage.java, MarkupIdTestPageExpectedResult.html, patch-1818.diff
>
>
> HTML:
> <span wicket:id="foo bar"></span>
> Java:
> Label label = new Label("foo bar", "lol");
> label.setOutputMarkupId(true);
> Generates markup:
> <span id="foo bar">lol</span>
> Expected:
> <span id="foo_bar">lol</span>
> When wicket generates wicket:id attributes it should replace spaces with some appropriate valid character (like underscore "_").
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1818) wicket:id attribute with a value
containing spaces generates invalid markup
Posted by "Bruno Borges (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno Borges updated WICKET-1818:
---------------------------------
Attachment: MarkupIdTestPageExpectedResult.html
> wicket:id attribute with a value containing spaces generates invalid markup
> ---------------------------------------------------------------------------
>
> Key: WICKET-1818
> URL: https://issues.apache.org/jira/browse/WICKET-1818
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Kare Nuorteva
> Priority: Trivial
> Fix For: 1.3.5, 1.3.6, 1.4-M4, 1.5-M1
>
> Attachments: MarkupIdTestPage.html, MarkupIdTestPage.java, MarkupIdTestPageExpectedResult.html, patch-1818.diff
>
>
> HTML:
> <span wicket:id="foo bar"></span>
> Java:
> Label label = new Label("foo bar", "lol");
> label.setOutputMarkupId(true);
> Generates markup:
> <span id="foo bar">lol</span>
> Expected:
> <span id="foo_bar">lol</span>
> When wicket generates wicket:id attributes it should replace spaces with some appropriate valid character (like underscore "_").
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1818) wicket:id attribute with a value
containing spaces generates invalid markup
Posted by "Bruno Borges (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno Borges updated WICKET-1818:
---------------------------------
Attachment: MarkupIdTestPage.java
> wicket:id attribute with a value containing spaces generates invalid markup
> ---------------------------------------------------------------------------
>
> Key: WICKET-1818
> URL: https://issues.apache.org/jira/browse/WICKET-1818
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Kare Nuorteva
> Priority: Trivial
> Fix For: 1.3.5, 1.3.6, 1.4-M4, 1.5-M1
>
> Attachments: MarkupIdTestPage.html, MarkupIdTestPage.java, patch-1818.diff
>
>
> HTML:
> <span wicket:id="foo bar"></span>
> Java:
> Label label = new Label("foo bar", "lol");
> label.setOutputMarkupId(true);
> Generates markup:
> <span id="foo bar">lol</span>
> Expected:
> <span id="foo_bar">lol</span>
> When wicket generates wicket:id attributes it should replace spaces with some appropriate valid character (like underscore "_").
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1818) wicket:id attribute with a value
containing spaces generates invalid markup
Posted by "Kare Nuorteva (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kare Nuorteva updated WICKET-1818:
----------------------------------
Priority: Trivial (was: Major)
> wicket:id attribute with a value containing spaces generates invalid markup
> ---------------------------------------------------------------------------
>
> Key: WICKET-1818
> URL: https://issues.apache.org/jira/browse/WICKET-1818
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Kare Nuorteva
> Priority: Trivial
> Fix For: 1.3.5, 1.3.6, 1.4-M4, 1.5-M1
>
>
> HTML:
> <span wicket:id="foo bar"></span>
> Java:
> Label label = new Label("foo bar", "lol");
> label.setOutputMarkupId(true);
> Generates markup:
> <span id="foo bar">lol</span>
> Expected:
> <span id="foo_bar">lol</span>
> When wicket generates wicket:id attributes it should replace spaces with some appropriate valid character (like underscore "_").
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1818) wicket:id attribute with a value
containing spaces generates invalid markup
Posted by "Bruno Borges (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno Borges updated WICKET-1818:
---------------------------------
Attachment: MarkupIdTestPage.html
> wicket:id attribute with a value containing spaces generates invalid markup
> ---------------------------------------------------------------------------
>
> Key: WICKET-1818
> URL: https://issues.apache.org/jira/browse/WICKET-1818
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Kare Nuorteva
> Priority: Trivial
> Fix For: 1.3.5, 1.3.6, 1.4-M4, 1.5-M1
>
> Attachments: MarkupIdTestPage.html, MarkupIdTestPage.java, patch-1818.diff
>
>
> HTML:
> <span wicket:id="foo bar"></span>
> Java:
> Label label = new Label("foo bar", "lol");
> label.setOutputMarkupId(true);
> Generates markup:
> <span id="foo bar">lol</span>
> Expected:
> <span id="foo_bar">lol</span>
> When wicket generates wicket:id attributes it should replace spaces with some appropriate valid character (like underscore "_").
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.