You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Roland Foerther (JIRA)" <ji...@apache.org> on 2015/11/07 16:56:10 UTC

[jira] [Created] (WICKET-6027) Nested TransparentWebMarkupContainer, markup of inner component not found

Roland Foerther created WICKET-6027:
---------------------------------------

             Summary: Nested TransparentWebMarkupContainer, markup of inner component not found
                 Key: WICKET-6027
                 URL: https://issues.apache.org/jira/browse/WICKET-6027
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 7.1.0
            Reporter: Roland Foerther


In the attached example page a FeedbackPanel should be rendered on AJAX-Request by pressing an AjaxButton. If you submit the form with empty input in TextField  'username" you get a MarkupNotFoundError for the FeedbackPanel:

"org.apache.wicket.markup.MarkupNotFoundException: Markup not found for Component: [FeedbackPanel [Component id = feedback]]
     at org.apache.wicket.Component.internalRender(Component.java:2348)
     at org.apache.wicket.Component.render(Component.java:2308)
     at org.apache.wicket.page.XmlPartialPageUpdate.writeComponent(XmlPartialPageUpdate.java:119)
     at org.apache.wicket.page.PartialPageUpdate.writeComponents(PartialPageUpdate.java:245)"

The MarkupNotFoundError is associated to the two TransparentWebMarkupContainer's in the page. If you remove one of them for example, the problem is gone.  
  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)