thanks, it works!
Thiago H. de Paula Figueiredo wrote: > > 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 > > > -- View this message in context: http://www.nabble.com/t5%3A-component-render-multiple-elements--tp24766406p24773368.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org