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("ffffff")

You are passing in the Body object in the setBody() method and then setting
it to be white. The toString() method on this class just returns an empty
string.

In the class itself, you are just executing the code that you were executing
and thus preventing WM from calling toString().

You can add this class into the util.webmacro and also pass it in the
TurbineWebMacroService.getContext() method and send me the diffs. :-)

-jon



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

Reply via email to