{
if (component.getChildCount() > 0)
{
Map<String, Object> a = component.getAttributes();
String tag = (String) a.get("alias.element");
ELContext elContext = context.getELContext();
UIRepeat repeat = (UIRepeat) component;
if (tag != null)
{
ResponseWriter out = context.getResponseWriter();
out.startElement(tag, component);
String[] attrs = (String[]) a.get("alias.attributes");
String attr;
if (attrs != null)
{
for (int i = 0; i < attrs.length; i++)
{
attr = attrs[i];
if ("styleClass".equals(attr))
{
attr = "class";
}
out.writeAttribute(attr, a.get(attrs[i]), attrs[i]);
}
}
}
if (repeat.getVarStatus() != null)
{
elContext.getELResolver().setValue (elContext, null,
repeat.getVarStatus(), repeat.getStatus());
}
for (UIComponent child : component.getChildren())
{