On Thu, May 18, 2000 at 10:23:53AM -0700, jon * wrote:
> on 5/18/2000 10:04 AM, Sean Legassick <[EMAIL PROTECTED]> wrote:
>
> > This is just a short patch for WebMacroSiteLayout to put the RunData message
> > into the webcontext so that the layout template can include it.
> >
> > I've also included a patch for the example layout default.wm which includes
> > the message.
>
> no need to duplicate that with it's own context value since the RunData
> object is already in the context...
Doh! so it is..
> just say:
>
> #if ($data.getMessage())
> {
> <font color="red">$data.getMesssage()</font>
> }
Much easier :)
Anyways, it think it would good to patch default.wm to have the same
functionality as DefaultLayout - that way no-one else should make the
mistake I did of not thinking of using the RunData that's been stuffed
in the context.
> Sean, it is great to see someone other than myself and Dave using this
> stuff! Keep sending suggestions for improvements in. :-)
Thanks, and don't worry - I plan to :-)
--
Sean Legassick
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]