You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2008/10/01 18:33:44 UTC

[jira] Resolved: (WICKET-1842) MultiLineLabel content not inside container when used with

element

     [ https://issues.apache.org/jira/browse/WICKET-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-1842.
-----------------------------------

    Resolution: Cannot Reproduce

well, like i said i get this output with the latest 1.3.x

<p class="myClass" wicket:id="message"><p>If you see this message wicket is properly configured and running</p></p>

so it looks to me like its been fixed, why dont you try it with the latest snapshot or build 1.3.x branch yourself

> 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.