if (order < 0)
out.write(aupg ? "[": "zkx(");
else if (order > 0) //not first child
out.write(',');
final JsContentRenderer renderer = new JsContentRenderer();
renderProperties(renderer);
final String wgtcls = getWidgetClass();
if (wgtcls == null)
throw new UiException("Widget class required for "+this+" with "+getMold());
out.write("\n['");
out.write(wgtcls);
out.write("','");
out.write(getUuid());
out.write("',{");
out.write(renderer.getBuffer().toString());
out.write("},[");
redrawChildren(out);
out.write(']');