protected void onComponentCreated(FaceletContext context, UIComponent component, UIComponent parent) {
StringBuffer content = new StringBuffer();
Iterator iter = findNextByType(TextHandler.class);
while (iter.hasNext()) {
TextHandler text = (TextHandler) iter.next();
content.append(text.getText(context));
}
if (component instanceof UIStyle) {
((UIStyle) component).setStyle(content.toString());
}
}