You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/05/27 09:38:02 UTC

[jira] [Comment Edited] (WICKET-4545) MarkupNotFoundException for Fragment and TransparentWebMarkupContainer

    [ https://issues.apache.org/jira/browse/WICKET-4545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14009462#comment-14009462 ] 

Martin Grigorov edited comment on WICKET-4545 at 5/27/14 7:37 AM:
------------------------------------------------------------------

Thanks for confirming, Jesse!
I want to add a test case before closing it.
Or maybe your mighty test case from WICKET-5580 covers it ? I need to re-read the description/code here to be able to say.


was (Author: mgrigorov):
Thanks for confirming, Jesse!
I want to add a test case before closing it.
Or maybe you mighty test case from WICKET-5580 covers it ? I need to re-read the description/code here to be able to say.

> MarkupNotFoundException for Fragment and TransparentWebMarkupContainer
> ----------------------------------------------------------------------
>
>                 Key: WICKET-4545
>                 URL: https://issues.apache.org/jira/browse/WICKET-4545
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.6
>            Reporter: Dirk Forchel
>         Attachments: quickstart.zip
>
>
> Create a base WebPage with a TransparentWebMarkupContainer to allow subclasses register CSS classes on the body tag. Add a Fragment to one of these subsclasses, the markup of the Fragment is not found. 
> See also http://apache-wicket.1842946.n4.nabble.com/MarkupNotFoundException-for-Fragment-and-TransparentWebMarkupContainer-tp4619968.html
> Exception thrown:
> org.apache.wicket.markup.MarkupNotFoundException: No Markup found for Fragment testFragment in providing markup container [Page class = org.foo.HomePage, id = 0, render count = 1]
> at org.apache.wicket.markup.html.panel.FragmentMarkupSourcingStrategy.getMarkup(FragmentMarkupSourcingStrategy.java:143)



--
This message was sent by Atlassian JIRA
(v6.2#6252)