this does not work: p(style:"color:blue;margin-left:20px") { "This is
a paragraph." }
thanks
---
co-chair http://ocjug.org/
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
import groovy.xml.*
def mkp = new MarkupBuilder()
mkp.p(style:"color:blue;margin-left:20px", "This is a paragraph.")
Guillaume
--
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one
works like a charm!
thanks
>On Thu, Sep 30, 2010 at 08:49, Ray Tayek <rta...@ca.rr.com> wrote:
> > hi, how do i generate style, id or class info in a paragraph or header.
> >
> > this does not work: p(style:"color:blue;margin-left:20px") { "This is a
> > paragraph." } ...