/** * Generates the JavaScript initialization calls for the used widgets in the editor form.<p> * * @return the JavaScript initialization calls for the used widgets * @throws JspException if including the error page fails */ public String getXmlEditorInitCalls() throws JspException { StringBuffer result = new StringBuffer(512); try { // iterate over unique widgets from collector Iterator<I_CmsWidget> i = getWidgetCollector().getUniqueWidgets().iterator(); while (i.hasNext()) { I_CmsWidget widget = i.next(); result.append(widget.getDialogInitCall(getCms(), this)); } } catch (Exception e) { showErrorPage(e); } return result.toString(); }
/** * Generates the javascript initialization calls for the used widgets in the editor form.<p> * * @return the javascript initialization calls for the used widgets * @throws JspException if including the error page fails */ public String getXmlEditorInitCalls() throws JspException { StringBuffer result = new StringBuffer(512); try { // iterate over unique widgets from collector Iterator i = getWidgetCollector().getUniqueWidgets().iterator(); while (i.hasNext()) { I_CmsWidget widget = (I_CmsWidget)i.next(); result.append(widget.getDialogInitCall(getCms(), this)); } } catch (Exception e) { showErrorPage(e); } return result.toString(); }
Iterator i = getWidgetCollector().getUniqueWidgets().iterator(); while (i.hasNext()) { I_CmsWidget widget = (I_CmsWidget)i.next();
Iterator i = getWidgetCollector().getUniqueWidgets().iterator(); while (i.hasNext()) { I_CmsWidget widget = (I_CmsWidget)i.next();
Iterator<I_CmsWidget> i = getWidgetCollector().getUniqueWidgets().iterator(); while (i.hasNext()) { I_CmsWidget widget = i.next();
Iterator<I_CmsWidget> i = getWidgetCollector().getUniqueWidgets().iterator(); while (i.hasNext()) { I_CmsWidget widget = i.next();