I replaced it withn prepareForRender as Jesse sugested. It didn't work for
me the first time because I was passing the wrong parameters to the function
and so changing its signature.

But I got it running, now.

On 7/25/06, Pablo Ruggia <[EMAIL PROTECTED]> wrote:

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
>
>




--
Cumprimentos,
Rui Pacheco

Reply via email to