jsFunction.addParameter(toggleId);
Map<String, Object> options = encodeOptions(context, toggleControl, subTable);
jsFunction.addParameter(options);
writer.startElement(HtmlConstants.SCRIPT_ELEM, subTable);
writer.writeText(jsFunction.toScript(), null);
writer.endElement(HtmlConstants.SCRIPT_ELEM);
}
}
private boolean isEmpty(String value) {