/**
* <p> Encode the appropriate children...</p>
*/
private void encodeChildren(FacesContext context, UIComponent component, LayoutElement parentElt) throws IOException {
// Fire an encode event
dispatchHandlers(context, ENCODE, new EncodeEvent(component));
// Iterate over children
LayoutElement childElt = null;
Iterator<LayoutElement> it = parentElt.getChildLayoutElements().iterator();
while (it.hasNext()) {