Replace <span class="@Border"> with <span jwcid="@Border">
Bastian Voigt wrote: > Hello all, > > my Tapestry 4.0.2 application uses a border component: > > -------------------------- > <html jwcid="@Shell"> > <body jwcid="@Body"> > ... blah ... > > <span jwcid="@RenderBody" /> > > ... blah ... > </body> > </html> > -------------------------- > > The pages look like this: > > -------------------------- > <body jwcid="$content$"> > <span class="@Border"> > > .... blah ... > > <span jwcid="@Script"> > > ... blah ... > </span> > </body> > -------------------------- > > Now when a page contains a Script component, as above, I get the > following error: > > -------------------------- > org.apache.hivemind.ApplicationRuntimeException: > Component Googlemaps_lite/$Script requires rendering support, > but no PageRenderSupport object has been stored into the request > cycle. This object is typically provided by a Body component. > You should add a Body component to your template. > [context:/Googlemaps_lite.html, line 26] > at > org.apache.coyote.tomcat5.CoyoteResponseFacade.reset(CoyoteResponseFacade.java:264) > > -------------------------- > > > But I *hava* a body component, only that it is inside the Border!! > How to circumvent this error? > > Thanks for your time!! > > kind regards > Bastian Voigt > > ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]