buttonAttributes.setActionReference(new ActionReference() {
public String getWidgetId() {return wizardId;}
public List getMemberNames() {return memberList;}
});
WidgetModule widgetModule = protocol.getWidgetModule();
try {
WidgetRenderer renderer =
widgetModule.getWidgetRenderer(buttonAttributes);
renderer.renderClose(protocol, buttonAttributes);
WizardRenderer wizardRenderer = (WizardRenderer)
widgetModule.getWidgetRenderer(wizardAttrs);
// remember submit id in wizard renderer
wizardRenderer.setSubmitId(submitId);
} catch (ProtocolException e) {
throw new XDIMEException(e);