You can't dynamically change the component structure

See http://tapestry.apache.org/tapestry5/
the part discussing "Principal 1 -- Static Structure, Dynamic Behavior"

Now, i still can't understand your use case, so i can't offer any help there
(what's the meaning of "influence its body w/o using a template"), but
perhaps you can build a custom component and pass parameters to it...


Christian Haselbach wrote:
On Thu, Mar 01, 2007 at 08:56:58PM +0200, andyhot wrote:
Can you give an example of what you're trying to accomplish ?

In this case I want to render customized LinkSubmit. For that I have
LinkSubmit as subcomponent, but want to influence its body w/o using a
template. With the addBody function I can add the custom renderer, but I
cannot find the right way to do it, as I explained formerly.

Regards,
Christian



--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to