1. if your component extends AbstractComponent, then you should implement renderComponent() 2. if your component extends BaseComponent then you should use a template instead of overriding renderComponent()

I would try the second, BaseComponent with a template (without custom rendering) if it is possible. Even very complex custom components can be created this way by using Foreach,Conditional,Block,RenderBlock.

Br,
Norbi

----- Original Message ----- From: "Jelena Jovanovic" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, June 29, 2005 12:57 PM
Subject: Setting custom rendering for a component


Hello everyone!

I need to create a component to represent content of a list. Since the
list's content and structure (if it has sub-lists or not) are not static
(determined during the run time), I suppose that I have to define custom
rendering for my component. I assume that I have to override some Tapestry's
methods for component rendering, but I do not know which ones. Can someone
help, please?

Regards,
Jelena




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

Reply via email to