>From your explanation, I think you're looking for something like this? This should be pretty close to working code.
yourPage.tml: <div t:type="yourComponent"> <p:param1> Lots of HTML here </p:param1> </div> public class YourComponent { @Parameter private Block param1; } yourComponent.tml: <html> <t:delegate to="param1"/> </html> On Fri, Jun 5, 2009 at 6:01 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, Jun 5, 2009 at 12:53 PM, Lukasz Jazgar<lukasz.jaz...@gmail.com> > wrote: > > Hi, > > Hi! > > > Is it possible in Tapestry to pass by parameter to component piece of > > html, by which component will surround some part of it? > > Take a look at the component render lifecycle, the MarkupWriter > interface and mixins. Maybe you'll find your answer there. > > -- > Thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >