You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "wicket@geofflancaster.com" <wi...@geofflancaster.com> on 2010/02/26 17:12:55 UTC

nested fragments?

is it possible to have nested fragments?

does anyone have a code snippet they can share? when i try to add the new
fragment to the existing fragment i get an error stating:

WicketMessage: The component(s) below failed to render. A common problem is
that you have added a component in code but forgot to reference it in the
markup (thus the component will never be rendered).

1. [MarkupContainer [Component id = outerFragment]]
2. [MarkupContainer [Component id = innerFragment]]

Root cause:

org.apache.wicket.WicketRuntimeException: The component(s) below failed to
render. A common problem is that you have added a component in code but
forgot to reference it in the markup (thus the component will never be
rendered).

1. [MarkupContainer [Component id = outerFragment]]
2. [MarkupContainer [Component id = innerFragment]]

at org.apache.wicket.Page.checkRendering(Page.java:1162)
at org.apache.wicket.Page.endComponentRender(Page.java:430)
at
org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.
java:836)
at
org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget
.java:680)
at
org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:590)

...

--------------------------------------------------------------------
mail2web.com – What can On Demand Business Solutions do for you?
http://link.mail2web.com/Business/SharePoint



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: nested fragments?

Posted by Igor Vaynberg <ig...@gmail.com>.
On Fri, Feb 26, 2010 at 8:12 AM, wicket@geofflancaster.com
<wi...@geofflancaster.com> wrote:
> is it possible to have nested fragments?
>
> does anyone have a code snippet they can share?

maybe you can share more of your code

-igor

>when i try to add the new
> fragment to the existing fragment i get an error stating:
>
> WicketMessage: The component(s) below failed to render. A common problem is
> that you have added a component in code but forgot to reference it in the
> markup (thus the component will never be rendered).
>
> 1. [MarkupContainer [Component id = outerFragment]]
> 2. [MarkupContainer [Component id = innerFragment]]
>
> Root cause:
>
> org.apache.wicket.WicketRuntimeException: The component(s) below failed to
> render. A common problem is that you have added a component in code but
> forgot to reference it in the markup (thus the component will never be
> rendered).
>
> 1. [MarkupContainer [Component id = outerFragment]]
> 2. [MarkupContainer [Component id = innerFragment]]
>
> at org.apache.wicket.Page.checkRendering(Page.java:1162)
> at org.apache.wicket.Page.endComponentRender(Page.java:430)
> at
> org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.
> java:836)
> at
> org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget
> .java:680)
> at
> org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:590)
>
> ...
>
> --------------------------------------------------------------------
> mail2web.com – What can On Demand Business Solutions do for you?
> http://link.mail2web.com/Business/SharePoint
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org