you can use markup inheritance and add the common components to the super class. there is an explanation on our wiki.

-Igor


On 3/13/06, Matthias Albert <[EMAIL PROTECTED]> wrote:
Thank you for your very quick response.
I found out myself what caused this error. I used one of my orginal HTML
pages that didn't have a wicket id.

But this raises my nect question: Is there a way to automatically use
the same component id for a navigation component in all pages so that
these can be unchanged?

Can several pages share a common class?

This would be very useful if I would migrate to wicket.

Thank you

Matthias Albert


Igor Vaynberg schrieb:
> this means that you have added a component in your code but no markup
> references this component so it is not and never will be rendered.
>
> if you give us your code we can point out exactly where the problem is.
>
> -Igor
>
>
> On 3/12/06, *Matthias Albert* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>
>     I'm evaluating Wicket for use in an existing web application with many
>     quasi-static pages. I have worked through the helloworld an the
>     navomativc example. All was ok, then I started to port the navomatic
>     example to my own web application. The navborder item orginates from
>     the
>     navomatic item.
>
>     I hope anybody can help me with this error page output:
>
>
>      >>>Start of error page
>     Root cause:
>
>     wicket.WicketRuntimeException: The component(s) below failed to render:
>
>     1. [MarkupContainer [Component id = navborder, page = content.index,
>     path = 0:navborder.NavigationBorder, isVisible = true, isVersioned =
>     false]]
>     2. [MarkupContainer [Component id = navborder, page = content.index ,
>     path = 0:navborder: navborder.BoxBorder, isVisible = true, isVersioned =
>     false]]
>     3. [MarkupContainer [Component id = bodyBorder, page = content.index,
>     path = 0:navborder:bodyBorder.BoxBorder, isVisible = true,
>     isVersioned =
>     false]]
>
>     at wicket.Page.checkRendering(Page.java:1068)
>     at wicket.Page.doRender(Page.java:393)
>     at
>     wicket.request.target.component.BookmarkablePageRequestTarget.respond (BookmarkablePageRequestTarget.java:224)
>
>     ....
>     <<< end of error page
>
>     My pages and start at the content package.
>
>
>     Where do I have to search for this error?
>
>     Thank you
>
>     Matthias Albert
>
>
>     -------------------------------------------------------
>     This SF.Net email is sponsored by xPML, a groundbreaking scripting
>     language
>     that extends applications into web and mobile media. Attend the live
>     webcast
>     and join the prime developer group breaking into this new coding
>     territory!
>     http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
>     < http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642>
>     _______________________________________________
>     Wicket-user mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/wicket-user
>     <https://lists.sourceforge.net/lists/listinfo/wicket-user>
>
>



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to