The main reason I think this was happening was that people were defining
the response mechanism with the "screen" parameter while using
WebMacroSiteLayout. WebMacroSiteLayout assumes you are defining the
response page through the "template" parameter. I know I have not yet
added this to the docs, so I will say it again. If you use the
"template" keyword Turbine will assign java modules and layout templates
based on a naming scheme. If you use the "screen" keyword you are
defining the Screen module, it is then up to the Screen on whether it
defines a template, or not, it might use ECS or be used to serve binary
data, etc. It is probably wrong to use WebMacroSiteLayout with a Screen
meant to be called in such a way, though it could be done if you make
sure to set the layout template in Screen.getLayout(RunData) prior to
returning "WebMacroSiteLayout".
Rafal,
The error must be similar for your case, but I am not sure. You might
want to try defining a null Layout in your error Screen. Though
depending on when the error occurs the Layout may already be set by the
normal Screen.
John McNally
Rafal Krzewski wrote:
>
> "Diethelm Guallar, Gonzalo" wrote:
>
> > > Subject: RE: Where is template for "layoutsnull" [John]
>
> > I think John McNally [[EMAIL PROTECTED]] was the
> > person who got involved with this. As I remember, this has
> > been happening every once in a while for different people.
> > I'm not using the WebMacroSiteLayout anymore, so I have
> > not had this problem again. Maybe John could provide more
> > information? In any case, it would be great if you could
> > diagnose this; from what I recall, nobody was ever sure
> > why this was happening.
>
> Yeah, we are seeing the message about layoutsnull all the time,
> especially when an exception is thrown while page processing,
> but noone in the team (I mean workmates of mine) had time/energy
> to investigate further.
>
> Rafal
>
> --
> Rafal Krzewski
> Senior Internet Developer
> mailto:[EMAIL PROTECTED]
> +48 22 8534830 http://e-point.pl
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]