Hello all,

as I got no more answers I'm trying to post this again.
I hope I'm not too annoying, but I've been unable to solve this problem and it is not documented anywhere

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 jwcid="@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 *have* 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]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to