Re: [1.5] [Solved] onBeforeRender() not called after AjaxRequestTarget.add()

2010-12-13 Thread ilde...@gmail.com
Ok, I got it, I told I was rusty :) I forgot that if a component is marked non visible on the first time is rendered, it will never be rendered again until someone make it visilble. Of course, I can't make it visible again in it's own onBeforeRender that is exactly the method that will never be

Re: [1.5] [Solved] onBeforeRender() not called after AjaxRequestTarget.add()

2010-12-13 Thread Igor Vaynberg
see component#onconfigure() -igor On Mon, Dec 13, 2010 at 6:16 PM, ilde...@gmail.com ilde...@gmail.com wrote: Ok, I got it, I told I was rusty :) I forgot that if a component is marked non visible on the first time is rendered, it will never be rendered again until someone make it visilble.

Re: [1.5] [Solved] onBeforeRender() not called after AjaxRequestTarget.add()

2010-12-13 Thread ilde...@gmail.com
On Mon, Dec 13, 2010 at 5:18 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: onconfigure Yes, I also tried to use that new 1.5 method but again, overriding the one of the component but is a tecnique that does not work. It is needed to set the visiblity in the onConfigure of a parent object