It would seem that it might have been good to have DefaultPage write to
data.getOut() in the event that the Layout was null.  I do not know, but it
may affect some applications now, so it probably is not a good idea to
change it.  This could be configured as a property.

Since this is something more related to using a template system, maybe it
could be setup in WebMacro.properties.  Or maybe this is not reachable from
a Screen.  Anyway your BaseWebMacroScreen could look at a property to decide
whether to return some content or write the response directly.  I suggested
this before, is it not workable?  It would seem to be a good thing to add,
since if you are not wanting to use layouts, it is probably due to your
designers not being able to use them (e.g. their tools do not support it.)
In this case you probably do want the
<html>, <head>, and <body> tags within the template.

>The only thing I want to change is the
> return type on handleTemplate() and clean up the BaseWebMacroScreen.
>
> Please give me your thoughts on this.
>

What return type are you considering?

John



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to