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 Priority: Minor 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: <div wicket:id="testMultiLine" class="myClass">[some text]</div> 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.