On Sat, Aug 1, 2009 at 3:19 AM, Angelo Chen<angelochen...@yahoo.com.hk> 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: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to