JSONArray children = ensureChildren(child, true, parentWidgetId);
if (children != null)
{
for (int i=0; i< children.length(); i++)
{
JSONObject optionElement = children.optJSONObject(i);
String textOption = ensureTextChild(optionElement, true, parentWidgetId, true);
out.println(options+".add("+textOption+");");
}
}
out.println("new "+SelectionCell.class.getCanonicalName()+"("+options+");");