On Sat, Aug 1, 2009 at 3:19 AM, Angelo Chen<[email protected]> wrote:
> Hi,
Hi!
> Below is a source code of a component that renders:
> I'd like to do now is, a component that can render multiple tags like:
> < div>
> < span style="s1">text 1<br/>
> < span style="s2">text 2
> < /div>
Easy:
writer.element("div"); // div
writer.element("span", ...);
writer.end(); // first span
writer.element("span", ...);
writer.end(); // second span
writer.end() // div
--
Thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]