You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Arne Baganz (JIRA)" <ji...@apache.org> on 2013/03/28 11:45:15 UTC

[jira] [Updated] (WICKET-5120) DummyPanelPage sets span element as root

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

Arne Baganz updated WICKET-5120:
--------------------------------

    Attachment: test.tar.gz
    
> DummyPanelPage sets span element as root
> ----------------------------------------
>
>                 Key: WICKET-5120
>                 URL: https://issues.apache.org/jira/browse/WICKET-5120
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.6.0
>            Reporter: Arne Baganz
>         Attachments: test.tar.gz
>
>
> I have found a problem with WicketTester when I use startComponentInPage with a panel that checks its onComponentTag to be a div.
> Please look at the failing test TestHomePage#renderComponentInPage in the attached quickstart.
> Quoted from DummyPanelPage.html
> {code}
> <span wicket:id="panel">
> 	... replace by testing panel...
> </span>
> {code}
> There is no tag replacement going on, MyPanel starts with:
> {code}
> <span wicket:id="panel">
> {code}
> when run in the test and thus fails when its onComponentTag method is executed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira