setting body bgcolor etc in webmacro template

2000-05-30 Thread Sean Legassick
As I mentioned the other day I discovered (after thinking code changes might be needed) that setting, for example, the body background colour inside a webmacro template is quite simple: $data.Page.Body.setBgColor("ff") I hadn't realised, however, that there is a problem with this until I

Re: setting body bgcolor etc in webmacro template

2000-05-30 Thread dave bryson
On Tue, 30 May 2000, you wrote: Anyway a workaround that works, although it's not very pretty is to say: #set $junk = $data.Page.Body.setBgColor("ff") Unless anyone can see a prettier way out of this? To stay consistent with our goal of making the use of WebMacro templates fairly

Re: setting body bgcolor etc in webmacro template

2000-05-30 Thread Jon Stevens
on 5/30/2000 5:12 PM, Sean Legassick at [EMAIL PROTECTED] wrote: Unless anyone can see a prettier way out of this? write a class that would allow you to use it like this: $pageSetter.setData($data).setBgColor("ff") You are passing in the Body object in the setBody() method and then

Re: setting body bgcolor etc in webmacro template

2000-05-30 Thread Sean Legassick
On Tue, May 30, 2000 at 05:47:36PM -0700, Jon Stevens wrote: on 5/30/2000 5:12 PM, Sean Legassick at [EMAIL PROTECTED] wrote: Unless anyone can see a prettier way out of this? write a class that would allow you to use it like this: $pageSetter.setData($data).setBgColor("ff") I