Hi Johan, In your .jwc file of C, try: <component id="A" inherit-informal-parameters="yes"> </component>
Robert Johan Maasing wrote: > I got stuck on how to pass informal parameters from one component to > another (Tapestry 3). > Say that I have defined my own component C. The C.jwc allows informal > parameters. > Now the C.html template looks like this: > > <span jwcid="A" /> <span jwcid="B" /> > > How can I make A render the informal parameters passed to C? > > > My concrete problem is that I want a component that acts like the Any > component except that the id parameter is generated from getIdPath (or > some unique string) and a script should be included on the page that > operates on the HTML element id. So the template is actually: > > <span jwcid="@Any" element="ognl:element" id="ognl:idPath"> > <span jwcid="@RenderBody"/> > </span> > <span jwcid="script"/> > > Cheers, > Johan Maasing > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
