I don't think that render component is the best place to change property's.
Can't you implement PageRenderListener and change your properties there ?

On 7/25/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:

Hi all

While trying to render my component, I decided to implement
renderComponent,
handle my businness logic, and then call super.renderComponent().

This works when I do simple err.println to the logs, but when I try to
update a component on my template, I get an IllegalStateException which,
acording to the Javadocs, means that I'm calling that method at an
inappropriate time.

I really wanted to avoid extending AbstractComponent, but if it has to be,
it has to be. Could anyone give me a clue?

--
Cumprimentos,
Rui Pacheco


Reply via email to