Hi, If you don't write the root element of component in class file, why you need render the informal parameters? I can't figure out your usecase. In my opinion, they should be together.
DH ----- Original Message ----- From: "luna_guo" To: <users@tapestry.apache.org> Sent: Saturday, March 14, 2009 8:41 PM Subject: Re: t5 How to use renderInformals together with t:body Yes,thank you,DH.It works.The only mater is you need write the root element of your component in class file.Otherwise the informal parameters will render some where else.For example: void beginRender(MarkupWriter writer){resouces.renderInformalParameters(writer);…… tempalte: <t:body /> when i use the component,informal parameters a rendered to the "html" element. ningdh wrote: > > Hi, > > I don't think ComponentResources.renderInformals would affect <t:body/>. > In my project I can use them together: In beginRender to renderInformals > and put <t:body/> in template. > > Thanks, > DH > ----- Original Message ----- > From: "luna_guo" > To: <users@tapestry.apache.org> > Sent: Saturday, March 14, 2009 9:31 AM > Subject: t5 How to use renderInformals together with t:body > > >> >> In the template i need <t:body/>.It doesn't work when i use >> ComponentResources.renderInformals.Is there any way to render body in >> component class ? >> >> >> >> thanks in advance >> luna >> -- >> View this message in context: >> http://www.nabble.com/t5--How-to-use-renderInformals-together-with-t%3Abody-tp22508231p22508231.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 >> >> > -- View this message in context: http://www.nabble.com/t5--How-to-use-renderInformals-together-with-t%3Abody-tp22508231p22512265.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