Re: IllegalStateException when trying to render a component

2006-07-25 Thread Rui Pacheco
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 compon

Re: IllegalStateException when trying to render a component

2006-07-25 Thread Pablo Ruggia
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

IllegalStateException when trying to render a component

2006-07-25 Thread Rui Pacheco
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, ac