Hi,
I wonder why this happens,
public void encodeBegin(FacesContext context) throws IOException {
log.debug("ChildCount:" + getChildCount());
}
public void encodeEnd(FacesContext context) throws IOException {
log.debug("ChildCount:" + getChildCount());
}
For example in the jsp page, component's number of children is 3. At encodeBegin log gives me 0 but at encodeEnd it gives 3.
Also when I override getRendersChildren to return true, encodeBegin log gives 3 this time.
I'll be glad if you help me out,
Regards,
Cagatay,
- getChildCount returns 0 at encodeBegin Cagatay Civici
- Re: getChildCount returns 0 at encodeBegin Cagatay Civici
- Re: getChildCount returns 0 at encodeBegin Mike Kienenberger

