El jue, 21-12-2006 a las 11:54 +0100, David Delbecq escribió:
> When exactly do you call getInputFor()? During rendering process?
> (encodeBegin()/encondEnd())
> according to specs, findComponent will not work properly if your Label
> is not yet attached to it's parent NamingContainer. (form in you case),
> so i would suggest to check for getInputFor only in renderer.

> 
> 

I am calling it in the method:
"encodeBeforeEnd" in my custom renderer.
it is a helper method in HtmlLabelRenderer which is called just before
writing the end element of the label.


Reply via email to