/** * Sets the index to the provided value.<p> * * @param index the new index value to set */ public void setindex(int index) { m_index = index; m_id = createId(m_name, m_index); }
/** * Sets the index to the provided value.<p> * * @param index the new index value to set */ public void setindex(int index) { m_index = index; m_id = createId(m_name, m_index); }
/** * Returns the value of the widget parameter with the given name and index, or <code>null</code> * if no such widget parameter is available.<p> * * @param name the widget parameter name to get the value for * @param index the widget parameter index * * @return the value of the widget parameter with the given name and index */ public String getParamValue(String name, int index) { List params = (List)m_widgetParamValues.get(name); if (params != null) { if ((index >= 0) && (index < params.size())) { CmsWidgetDialogParameter param = (CmsWidgetDialogParameter)params.get(index); if (param.getId().equals(CmsWidgetDialogParameter.createId(name, index))) { return param.getStringValue(getCms()); } } } return null; }
/** * Returns the value of the widget parameter with the given name and index, or <code>null</code> * if no such widget parameter is available.<p> * * @param name the widget parameter name to get the value for * @param index the widget parameter index * * @return the value of the widget parameter with the given name and index */ public String getParamValue(String name, int index) { List<CmsWidgetDialogParameter> params = m_widgetParamValues.get(name); if (params != null) { if ((index >= 0) && (index < params.size())) { CmsWidgetDialogParameter param = params.get(index); if (param.getId().equals(CmsWidgetDialogParameter.createId(name, index))) { return param.getStringValue(getCms()); } } } return null; }
String id = CmsWidgetDialogParameter.createId(base.getName(), j);
String id = CmsWidgetDialogParameter.createId(base.getName(), j);
String id = CmsWidgetDialogParameter.createId(base.getName(), j);
String id = CmsWidgetDialogParameter.createId(base.getName(), j);