[
https://issues.apache.org/jira/browse/WICKET-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Parson updated WICKET-1842:
---------------------------------
Attachment: myproject.zip
Please find quickstart project attached.
Just changed Label to MultiLineLabel and <span> to <p class="myClass"> in
Homepage.
I have added the "myClass" stylesheet class to mark the paragraph that should
be containing the multiline content.
The rendered output is
<p class="myClass" wicket:id="message"></p><p>If you see this message wicket is
properly configured and running</p><p></p>
I am using wicket 1.3.4.
> MultiLineLabel content not inside container when used with <p> element
> ----------------------------------------------------------------------
>
> Key: WICKET-1842
> URL: https://issues.apache.org/jira/browse/WICKET-1842
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.4
> Reporter: Peter Parson
> Assignee: Igor Vaynberg
> Priority: Minor
> Attachments: myproject.zip
>
>
> When applying a MultiLineLabel to a HTML paragraph element, the rendered
> content of the label is not within the paragraph element, but appended
> thereafter.
> Example:
> HTML (edited):
> <p wicket:id="testMultiLine" class="myClass">[some text]</p>
> Java:
> add (new MultiLineLabel("testMultiLine","asdfasdfasdf"));
> rendered HTML source:
> <p class="myClass"></p><p>asdfasdfasdf</p>
> Simple workaround is: using a div instead - works as expected.
> Also, I realized that MultiLineLabel renders <br> tags (i.e. not XHTML
> compliant).
> Don't know whether this is intended behavior, though.
> Cheers,
> Peter
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.