>From Andreas Bulling <[EMAIL PROTECTED]>:

> Hi all,
> and here is another short question:
> As I didn't get to know how to "mix" a BaseComponent derived
> component with a AbstractComponent derived one (using a
> component html template _and_ output some html code with
> IMarkupWriter) I decided to switch to AbstractComponent completely.

BaseComponents can have html templates.
But you can also override their 
renderComponent(IMarkupWriter writer, IRequestCycle cycle) and:
- output your own stuff in writer,
- call super.renderComponent(IMarkupWriter writer, IRequestCycle cycle) to have
the html template rendered
- output some more of your stuff.

Now, i'm not sure i understand your last question, but an AbstractComponent
can render the html+components it encloses using
getContainer().renderBody(writer, cycle);


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

Reply via email to