Options.addOption("oncollapse", component.getAttributes().get("oncollapse"));
Options.addOption("onexpand", component.getAttributes().get("onexpand"));
Options.addOption("onitemselect", component.getAttributes().get("onitemselect"));
Options.addOption("ongroupactivate", component.getAttributes().get("ongroupactivate"));
function.addParameter(Options);
function.appendScript(buffer);
}
List children = component.getChildren();
for(Iterator it = children.iterator();it.hasNext();) {