Methods Summary |
---|
public void | evaluateExtraParams()
super.evaluateExtraParams();
//Object doubleName = null;
if (emptyOption != null) {
addParameter("emptyOption", findValue(emptyOption, Boolean.class));
}
if (multiple != null) {
addParameter("multiple", findValue(multiple, Boolean.class));
}
if (size != null) {
addParameter("size", findString(size));
}
if ((headerKey != null) && (headerValue != null)) {
addParameter("headerKey", findString(headerKey));
addParameter("headerValue", findString(headerValue));
}
if (doubleMultiple != null) {
addParameter("doubleMultiple", findValue(doubleMultiple, Boolean.class));
}
if (doubleSize != null) {
addParameter("doubleSize", findString(doubleSize));
}
if (doubleDisabled != null) {
addParameter("doubleDisabled", findValue(doubleDisabled, Boolean.class));
}
if (doubleName != null) {
addParameter("doubleName", findString(this.doubleName));
}
if (doubleList != null) {
addParameter("doubleList", doubleList);
}
Object tmpDoubleList = findValue(doubleList);
if (doubleListKey != null) {
addParameter("doubleListKey", doubleListKey);
}else if (tmpDoubleList instanceof Map) {
addParameter("doubleListKey", "key");
}
if (doubleListValue != null) {
if (altSyntax()) {
// the same logic as with findValue(String)
// if value start with %{ and end with }, just cut it off!
if (doubleListValue.startsWith("%{") && doubleListValue.endsWith("}")) {
doubleListValue = doubleListValue.substring(2, doubleListValue.length() - 1);
}
}
addParameter("doubleListValue", doubleListValue);
}else if (tmpDoubleList instanceof Map) {
addParameter("doubleListValue", "value");
}
if (formName != null) {
addParameter("formName", findString(formName));
} else {
// ok, let's look it up
Component form = findAncestor(Form.class);
if (form != null) {
addParameter("formName", form.getParameters().get("name"));
}
}
Class valueClazz = getValueClassType();
if (valueClazz != null) {
if (doubleValue != null) {
addParameter("doubleNameValue", findValue(doubleValue, valueClazz));
} else if (doubleName != null) {
addParameter("doubleNameValue", findValue(doubleName.toString(), valueClazz));
}
} else {
if (doubleValue != null) {
addParameter("doubleNameValue", findValue(doubleValue));
} else if (doubleName != null) {
addParameter("doubleNameValue", findValue(doubleName.toString()));
}
}
Form form = (Form) findAncestor(Form.class);
if (doubleId != null) {
// this check is needed for backwards compatibility with 2.1.x
if (altSyntax()) {
addParameter("doubleId", findString(doubleId));
} else {
addParameter("doubleId", doubleId);
}
} else if (form != null) {
addParameter("doubleId", form.getParameters().get("id") + "_" +escape(this.doubleName));
} else {
addParameter("doubleId", escape(doubleName !=null ? findString(doubleName) : null));
}
if (doubleOnclick != null) {
addParameter("doubleOnclick", findString(doubleOnclick));
}
if (doubleOndblclick != null) {
addParameter("doubleOndblclick", findString(doubleOndblclick));
}
if (doubleOnmousedown != null) {
addParameter("doubleOnmousedown", findString(doubleOnmousedown));
}
if (doubleOnmouseup != null) {
addParameter("doubleOnmouseup", findString(doubleOnmouseup));
}
if (doubleOnmouseover != null) {
addParameter("doubleOnmouseover", findString(doubleOnmouseover));
}
if (doubleOnmousemove != null) {
addParameter("doubleOnmousemove", findString(doubleOnmousemove));
}
if (doubleOnmouseout != null) {
addParameter("doubleOnmouseout", findString(doubleOnmouseout));
}
if (doubleOnfocus != null) {
addParameter("doubleOnfocus", findString(doubleOnfocus));
}
if (doubleOnblur != null) {
addParameter("doubleOnblur", findString(doubleOnblur));
}
if (doubleOnkeypress != null) {
addParameter("doubleOnkeypress", findString(doubleOnkeypress));
}
if (doubleOnkeydown != null) {
addParameter("doubleOnkeydown", findString(doubleOnkeydown));
}
if (doubleOnselect != null) {
addParameter("doubleOnselect", findString(doubleOnselect));
}
if (doubleOnchange != null) {
addParameter("doubleOnchange", findString(doubleOnchange));
}
if (doubleCssClass != null) {
addParameter("doubleCss", findString(doubleCssClass));
}
if (doubleCssStyle != null) {
addParameter("doubleStyle", findString(doubleCssStyle));
}
if (doubleHeaderKey != null && doubleHeaderValue != null) {
addParameter("doubleHeaderKey", findString(doubleHeaderKey));
addParameter("doubleHeaderValue", findString(doubleHeaderValue));
}
if (doubleEmptyOption != null) {
addParameter("doubleEmptyOption", findValue(doubleEmptyOption, Boolean.class));
}
if (doubleAccesskey != null) {
addParameter("doubleAccesskey", findString(doubleAccesskey));
}
|
public java.lang.String | getDoubleCssClass()
return doubleCssClass;
|
public java.lang.String | getDoubleCssStyle()
return doubleCssStyle;
|
public java.lang.String | getDoubleDisabled()
return doubleDisabled;
|
public java.lang.String | getDoubleEmptyOption()
return this.doubleEmptyOption;
|
public java.lang.String | getDoubleHeaderKey()
return doubleHeaderKey;
|
public java.lang.String | getDoubleHeaderValue()
return doubleHeaderValue;
|
public java.lang.String | getDoubleId()
return doubleId;
|
public java.lang.String | getDoubleList()
return doubleList;
|
public java.lang.String | getDoubleListKey()
return doubleListKey;
|
public java.lang.String | getDoubleListValue()
return doubleListValue;
|
public java.lang.String | getDoubleMultiple()
return doubleMultiple;
|
public java.lang.String | getDoubleName()
return doubleName;
|
public java.lang.String | getDoubleOnblur()
return doubleOnblur;
|
public java.lang.String | getDoubleOnchange()
return doubleOnchange;
|
public java.lang.String | getDoubleOnclick()
return doubleOnclick;
|
public java.lang.String | getDoubleOndblclick()
return doubleOndblclick;
|
public java.lang.String | getDoubleOnfocus()
return doubleOnfocus;
|
public java.lang.String | getDoubleOnkeydown()
return doubleOnkeydown;
|
public java.lang.String | getDoubleOnkeypress()
return doubleOnkeypress;
|
public java.lang.String | getDoubleOnkeyup()
return doubleOnkeyup;
|
public java.lang.String | getDoubleOnmousedown()
return doubleOnmousedown;
|
public java.lang.String | getDoubleOnmousemove()
return doubleOnmousemove;
|
public java.lang.String | getDoubleOnmouseout()
return doubleOnmouseout;
|
public java.lang.String | getDoubleOnmouseover()
return doubleOnmouseover;
|
public java.lang.String | getDoubleOnmouseup()
return doubleOnmouseup;
|
public java.lang.String | getDoubleOnselect()
return doubleOnselect;
|
public java.lang.String | getDoubleSize()
return doubleSize;
|
public java.lang.String | getDoubleValue()
return doubleValue;
|
public java.lang.String | getFormName()
return formName;
|
public void | setDoubleAccesskey(java.lang.String doubleAccesskey)
this.doubleAccesskey = doubleAccesskey;
|
public void | setDoubleCssClass(java.lang.String doubleCssClass)
this.doubleCssClass = doubleCssClass;
|
public void | setDoubleCssStyle(java.lang.String doubleCssStyle)
this.doubleCssStyle = doubleCssStyle;
|
public void | setDoubleDisabled(java.lang.String doubleDisabled)
this.doubleDisabled = doubleDisabled;
|
public void | setDoubleEmptyOption(java.lang.String doubleEmptyOption)
this.doubleEmptyOption = doubleEmptyOption;
|
public void | setDoubleHeaderKey(java.lang.String doubleHeaderKey)
this.doubleHeaderKey = doubleHeaderKey;
|
public void | setDoubleHeaderValue(java.lang.String doubleHeaderValue)
this.doubleHeaderValue = doubleHeaderValue;
|
public void | setDoubleId(java.lang.String doubleId)
this.doubleId = doubleId;
|
public void | setDoubleList(java.lang.String doubleList)
this.doubleList = doubleList;
|
public void | setDoubleListKey(java.lang.String doubleListKey)
this.doubleListKey = doubleListKey;
|
public void | setDoubleListValue(java.lang.String doubleListValue)
this.doubleListValue = doubleListValue;
|
public void | setDoubleMultiple(java.lang.String doubleMultiple)
this.doubleMultiple = doubleMultiple;
|
public void | setDoubleName(java.lang.String doubleName)
this.doubleName = doubleName;
|
public void | setDoubleOnblur(java.lang.String doubleOnblur)
this.doubleOnblur = doubleOnblur;
|
public void | setDoubleOnchange(java.lang.String doubleOnchange)
this.doubleOnchange = doubleOnchange;
|
public void | setDoubleOnclick(java.lang.String doubleOnclick)
this.doubleOnclick = doubleOnclick;
|
public void | setDoubleOndblclick(java.lang.String doubleOndblclick)
this.doubleOndblclick = doubleOndblclick;
|
public void | setDoubleOnfocus(java.lang.String doubleOnfocus)
this.doubleOnfocus = doubleOnfocus;
|
public void | setDoubleOnkeydown(java.lang.String doubleOnkeydown)
this.doubleOnkeydown = doubleOnkeydown;
|
public void | setDoubleOnkeypress(java.lang.String doubleOnkeypress)
this.doubleOnkeypress = doubleOnkeypress;
|
public void | setDoubleOnkeyup(java.lang.String doubleOnkeyup)
this.doubleOnkeyup = doubleOnkeyup;
|
public void | setDoubleOnmousedown(java.lang.String doubleOnmousedown)
this.doubleOnmousedown = doubleOnmousedown;
|
public void | setDoubleOnmousemove(java.lang.String doubleOnmousemove)
this.doubleOnmousemove = doubleOnmousemove;
|
public void | setDoubleOnmouseout(java.lang.String doubleOnmouseout)
this.doubleOnmouseout = doubleOnmouseout;
|
public void | setDoubleOnmouseover(java.lang.String doubleOnmouseover)
this.doubleOnmouseover = doubleOnmouseover;
|
public void | setDoubleOnmouseup(java.lang.String doubleOnmouseup)
this.doubleOnmouseup = doubleOnmouseup;
|
public void | setDoubleOnselect(java.lang.String doubleOnselect)
this.doubleOnselect = doubleOnselect;
|
public void | setDoubleSize(java.lang.String doubleSize)
this.doubleSize = doubleSize;
|
public void | setDoubleValue(java.lang.String doubleValue)
this.doubleValue = doubleValue;
|
public void | setEmptyOption(java.lang.String emptyOption)
this.emptyOption = emptyOption;
|
public void | setFormName(java.lang.String formName)
this.formName = formName;
|
public void | setHeaderKey(java.lang.String headerKey)
this.headerKey = headerKey;
|
public void | setHeaderValue(java.lang.String headerValue)
this.headerValue = headerValue;
|
public void | setMultiple(java.lang.String multiple)
// TODO: Passing a Collection may work too?
this.multiple = multiple;
|
public void | setSize(java.lang.String size)
this.size = size;
|