add an If-component to your page class like this @Component(parameters = {"test=whatever"} private If ifWhateverIsTrue
and put your components in you page-template between the if-tag like this: <span t:id="ifWhateverIsTrue"> ..... put you components/html code here ...... </span> with regards Sven Homburg Founder of the Chenille Kit Project http://chenillekit.codehaus.org 2010/7/8 matt22 <s...@zoznam.sk> > > Hi, > Is it possible to inject componets in setupRender, or beginRender? > > If in layout i have 5 components and i want to inject only some of the > components(depends on DBS settings). > > thanks for any suggestion in advance, > > and sorry for my terrible english, thanks.. :) > -- > View this message in context: > http://old.nabble.com/Inject-in-SetupRender--tp29100030p29100030.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 > >