final String wgtflnm = name + "." + wgtnm;
write(out, "zkreg('");
write(out, wgtflnm);
write(out, '\'');
WidgetDefinition wgtdef = langdef != null ? langdef.getWidgetDefinitionIfAny(wgtflnm): null;
if (wgtdef != null && wgtdef.isBlankPreserved())
write(out, ",true");
write(out, ");");
if (wgtdef == null)
continue;
try {
boolean first = true;
for (Iterator e = wgtdef.getMoldNames().iterator(); e.hasNext();) {
final String mold = (String)e.next();
final String uri = wgtdef.getMoldURI(mold);
if (uri == null) continue;
if (first) {
first = false;
write(out, "zk._m={};\n");