Built-in Encoding Methods
Components encode markup with three methods from UIComponentBase:
- encodeBegin()
- encodeChildren()
- encodeEnd()
These are called in this order at the end of the
JSF Life Cycle.
encodeChildren() is called only if the component has children.
If there are no children (as with our spinner), all encoding can be done in
encodeBegin().