Please take this to the user mailing list. <t:block> is not a component in T5, it is a special directive.
However, a component has access to its own body, which is (effectively) a block. You can inject CoponentResources and invoke getBody() to get a Block that can be used to render the body of the component On Fri, Sep 25, 2009 at 1:08 PM, deian <deian.iva...@gmail.com> wrote: > > Hey guys, > > I want to create a <t:block/> like component i.e component that will be find > by : > > ComponentResources res = resources.getContainerResources(); > Block temp = res.findBlock("block id"); > > I looked around but I couldn't find a component for <t:block/> :/ > > Cheer, > Deian > -- > View this message in context: > http://www.nabble.com/%3Ct%3Ablock-%3E-like-component-tp25618464p25618464.html > Sent from the Tapestry - Dev mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org > For additional commands, e-mail: dev-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org