CPD Results
The following document contains the results of PMD's CPD 3.9.
Duplications
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/example/demo/model/solar/SolarObject.java | Example Demo | 242 |
| org/apache/myfaces/tobago/example/test/TestBean.java | Example Test | 420 |
{"Erinome", "XXV", "Jupiter", "23168", "0", null, null, "Sheppard", "2000"},
{"Pan", "XVIII", "Saturn", "134", "0.58", "0.00", "0.00", "Showalter", "1990"},
{"Atlas", "XV", "Saturn", "138", "0.60", "0.00", "0.00", "Terrile", "1980"},
{"Prometheus", "XVI", "Saturn", "139", "0.61", "0.00", "0.00", "Collins", "1980"},
{"Pandora", "XVII", "Saturn", "142", "0.63", "0.00", "0.00", "Collins", "1980"},
{"Epimetheus", "XI", "Saturn", "151", "0.69", "0.34", "0.01", "Walker", "1980"},
{"Janus", "X", "Saturn", "151", "0.69", "0.14", "0.01", "Dollfus", "1966"},
{"Mimas", "I", "Saturn", "186", "0.94", "1.53", "0.02", "Herschel", "1789"},
{"Enceladus", "II", "Saturn", "238", "1.37", "0.02", "0.00", "Herschel", "1789"},
{"Tethys", "III", "Saturn", "295", "1.89", "1.09", "0.00", "Cassini", "1684"},
{"Telesto", "XIII", "Saturn", "295", "1.89", "0.00", "0.00", "Smith", "1980"},
{"Calypso", "XIV", "Saturn", "295", "1.89", "0.00", "0.00", "Pascu", "1980"},
{"Dione", "IV", "Saturn", "377", "2.74", "0.02", "0.00", "Cassini", "1684"},
{"Helene", "XII", "Saturn", "377", "2.74", "0.20", "0.01", "Laques", "1980"},
{"Rhea", "V", "Saturn", "527", "4.52", "0.35", "0.00", "Cassini", "1672"},
{"Titan", "VI", "Saturn", "1222", "15.95", "0.33", "0.03", "Huygens", "1655"},
{"Hyperion", "VII", "Saturn", "1481", "21.28", "0.43", "0.10", "Bond", "1848"},
{"Iapetus", "VIII", "Saturn", "3561", "79.33", "14.72", "0.03", "Cassini", "1671"},
{"Phoebe", "IX", "Saturn", "12952", "-550.48", "175.30", "0.16", "Pickering", "1898"},
{"Cordelia", "VI", "Uranus", "50", "0.34", "0.14", "0.00", "Voyager 2", "1986"},
{"Ophelia", "VII", "Uranus", "54", "0.38", "0.09", "0.00", "Voyager 2", "1986"},
{"Bianca", "VIII", "Uranus", "59", "0.43", "0.16", "0.00", "Voyager 2", "1986"},
{"Cressida", "IX", "Uranus", "62", "0.46", "0.04", "0.00", "Voyager 2", "1986"},
{"Desdemona", "X", "Uranus", "63", "0.47", "0.16", "0.00", "Voyager 2", "1986"},
{"Juliet", "XI", "Uranus", "64", "0.49", "0.06", "0.00", "Voyager 2", "1986"},
{"Portia", "XII", "Uranus", "66", "0.51", "0.09", "0.00", "Voyager 2", "1986"},
{"Rosalind", "XIII", "Uranus", "70", "0.56", "0.28", "0.00", "Voyager 2", "1986"},
{"Belinda", "XIV", "Uranus", "75", "0.62", "0.03", "0.00", "Voyager 2", "1986"},
{"1986U10", "", "Uranus", "76", "0.64", null, null, "Karkoschka", "1999"},
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/DateExtensionTag.java | Tobago Taglib Extension | 114 |
| org/apache/myfaces/tobago/taglib/extension12/DateExtensionTag.java | Tobago Taglib Extension | 94 |
labelTag.setColumns(createStringValueExpression("fixed;*;fixed"));
}
if (tip != null) {
labelTag.setTip(tip);
}
if (rendered != null) {
labelTag.setRendered(rendered);
}
labelTag.setParent(getParent());
labelTag.doStartTag();
dateTag = new DateTag();
dateTag.setPageContext(pageContext);
if (value != null) {
dateTag.setValue(value);
}
if (valueChangeListener != null) {
dateTag.setValueChangeListener(valueChangeListener);
}
if (binding != null) {
dateTag.setBinding(binding);
}
if (converter != null) {
dateTag.setConverter(converter);
}
if (validator != null) {
dateTag.setValidator(validator);
}
if (disabled != null) {
dateTag.setDisabled(disabled);
}
if (onchange != null) {
dateTag.setOnchange(onchange);
}
if (focus != null) {
dateTag.setFocus(focus);
}
if (id != null) {
dateTag.setId(id);
}
if (inline != null) {
dateTag.setInline(inline);
}
if (readonly != null) {
dateTag.setReadonly(readonly);
}
if (required != null) {
dateTag.setRequired(required);
}
if (markup != null) {
dateTag.setMarkup(markup);
}
if (tabIndex != null) {
dateTag.setTabIndex(tabIndex);
}
if (validatorMessage != null) {
dateTag.setValidatorMessage(validatorMessage);
}
if (converterMessage != null) {
dateTag.setConverterMessage(converterMessage);
}
if (requiredMessage != null) {
dateTag.setRequiredMessage(requiredMessage);
}
dateTag.setParent(labelTag);
dateTag.doStartTag();
return super.doStartTag();
}
@Override
public int doEndTag() throws JspException {
dateTag.doEndTag();
FormTag formTag = new FormTag();
formTag.setPageContext(pageContext);
formTag.setParent(labelTag);
formTag.doStartTag();
DatePickerTag datePicker = new DatePickerTag();
datePicker.setPageContext(pageContext);
datePicker.setFor("@auto");
if (tabIndex != null) {
datePicker.setTabIndex(tabIndex);
}
datePicker.setParent(formTag);
datePicker.doStartTag();
datePicker.doEndTag();
formTag.doEndTag();
labelTag.doEndTag();
return super.doEndTag();
}
@Override
public void release() {
super.release();
binding = null;
converter = null;
validator = null;
disabled = null;
labelWidth = null;
focus = null;
label = null;
inline = null;
readonly = null;
rendered = null;
required = null;
tip = null;
value = null;
valueChangeListener = null;
onchange = null;
markup = null;
tabIndex = null;
labelTag = null;
dateTag = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/SelectOneChoiceExtensionTag.java | Tobago Taglib Extension | 168 |
| org/apache/myfaces/tobago/taglib/extension12/SelectOneRadioExtensionTag.java | Tobago Taglib Extension | 171 |
renderRange = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
/**
* Flag indicating that a value is required.
* If the value is an empty string a
* ValidationError occurs and a Error Message is rendered.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setRequired(javax.el.ValueExpression required) {
this.required = required;
}
/**
* The current value of this component.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Object")
public void setValue(javax.el.ValueExpression value) {
this.value = value;
}
/**
* MethodBinding representing a value change listener method
* that will be notified when a new value has been set for this input component.
* The expression must evaluate to a public method that takes a ValueChangeEvent
* parameter, with a return type of void.
*
* @param valueChangeListener
*/
@TagAttribute
@UIComponentTagAttribute(
type = {},
expression = DynamicExpression.METHOD_BINDING_REQUIRED,
methodSignature = "javax.faces.event.ValueChangeEvent")
public void setValueChangeListener(javax.el.MethodExpression valueChangeListener) {
this.valueChangeListener = valueChangeListener;
}
/**
* A method binding EL expression,
* accepting FacesContext, UIComponent,
* and Object parameters, and returning void, that validates
* the component's local value.
*/
@TagAttribute
@UIComponentTagAttribute(type = {},
expression = DynamicExpression.METHOD_BINDING,
methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
public void setValidator(javax.el.MethodExpression validator) {
this.validator = validator;
}
/**
* Flag indicating that this element is disabled.
*/
@TagAttribute()
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "false")
public void setDisabled(javax.el.ValueExpression disabled) {
this.disabled = disabled;
}
/**
* Flag indicating that this component will prohibit changes by the user.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setReadonly(javax.el.ValueExpression readonly) {
this.readonly = readonly;
}
/**
* Clientside script function to add to this component's onchange handler.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setOnchange(javax.el.ValueExpression onchange) {
this.onchange = onchange;
}
/**
* An expression that specifies the Converter for this component.
* If the value binding expression is a String,
* the String is used as an ID to look up a Converter.
* If the value binding expression is a Converter,
* uses that instance as the converter.
* The value can either be a static value (ID case only)
* or an EL expression.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.convert.Converter",
expression = DynamicExpression.VALUE_BINDING)
public void setConverter(javax.el.ValueExpression converter) {
this.converter = converter;
}
/**
* Flag indicating this component should rendered as an inline element.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setInline(javax.el.ValueExpression inline) {
this.inline = inline;
}
/**
* Text value to display as label.
* If text contains an underscore the next character is used as accesskey.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabel(javax.el.ValueExpression label) {
this.label = label;
}
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "true")
public void setRendered(javax.el.ValueExpression rendered) {
this.rendered = rendered;
}
/**
* The value binding expression linking this
* component to a property in a backing bean.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
public void setBinding(javax.el.ValueExpression binding) {
this.binding = binding;
}
/**
* Text value to display as tooltip.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setTip(javax.el.ValueExpression tip) {
this.tip = tip;
}
/**
* The width for the label component. Default: 'fixed'.
* This value is used in the gridLayouts columns attribute.
* See gridLayout tag for valid values.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabelWidth(javax.el.ValueExpression labelWidth) {
this.labelWidth = labelWidth;
}
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
public void setTabIndex(javax.el.ValueExpression tabIndex) {
this.tabIndex = tabIndex;
}
/**
* Flag indicating this component should recieve the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setFocus(javax.el.ValueExpression focus) {
this.focus = focus;
}
/**
* Range of items to render.
*/
@TagAttribute
@UIComponentTagAttribute()
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/SelectManyListboxExtensionTag.java | Tobago Taglib Extension | 107 |
| org/apache/myfaces/tobago/taglib/extension12/SelectManyListboxExtensionTag.java | Tobago Taglib Extension | 83 |
labelTag.setColumns(createStringValueExpression(labelWidth.getExpressionString() + ";*"));
}
/* TODO accessKey
if (labelWithAccessKey != null) {
label.setLabelWithAccessKey(labelWithAccessKey);
}
if (accessKey !=null) {
label.setAccessKey(accessKey);
} */
labelTag.setParent(getParent());
labelTag.doStartTag();
selectManyListboxTag = new SelectManyListboxTag();
selectManyListboxTag.setPageContext(pageContext);
if (value != null) {
selectManyListboxTag.setValue(value);
}
if (valueChangeListener != null) {
selectManyListboxTag.setValueChangeListener(valueChangeListener);
}
if (binding != null) {
selectManyListboxTag.setBinding(binding);
}
if (onchange != null) {
selectManyListboxTag.setOnchange(onchange);
}
if (validator != null) {
selectManyListboxTag.setValidator(validator);
}
if (converter != null) {
selectManyListboxTag.setConverter(converter);
}
if (disabled != null) {
selectManyListboxTag.setDisabled(disabled);
}
if (inline != null) {
selectManyListboxTag.setInline(inline);
}
if (focus != null) {
selectManyListboxTag.setFocus(focus);
}
if (id != null) {
selectManyListboxTag.setId(id);
}
if (height != null) {
selectManyListboxTag.setHeight(height);
}
if (readonly != null) {
selectManyListboxTag.setReadonly(readonly);
}
if (required != null) {
selectManyListboxTag.setRequired(required);
}
if (markup != null) {
selectManyListboxTag.setMarkup(markup);
}
if (tabIndex != null) {
selectManyListboxTag.setTabIndex(tabIndex);
}
if (validatorMessage != null) {
selectManyListboxTag.setValidatorMessage(validatorMessage);
}
if (converterMessage != null) {
selectManyListboxTag.setConverterMessage(converterMessage);
}
if (requiredMessage != null) {
selectManyListboxTag.setRequiredMessage(requiredMessage);
}
selectManyListboxTag.setParent(labelTag);
selectManyListboxTag.doStartTag();
return super.doStartTag();
}
@Override
public int doEndTag() throws JspException {
selectManyListboxTag.doEndTag();
labelTag.doEndTag();
return super.doEndTag();
}
@Override
public void release() {
super.release();
binding = null;
onchange = null;
disabled = null;
inline = null;
label = null;
labelWidth = null;
height = null;
readonly = null;
rendered = null;
converter = null;
validator = null;
required = null;
tip = null;
value = null;
valueChangeListener = null;
markup = null;
tabIndex = null;
selectManyListboxTag = null;
labelTag = null;
focus = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/SelectManyCheckboxExtensionTag.java | Tobago Taglib Extension | 102 |
| org/apache/myfaces/tobago/taglib/extension12/SelectManyCheckboxExtensionTag.java | Tobago Taglib Extension | 77 |
labelTag.setColumns(createStringValueExpression(labelWidth.getExpressionString() + ";*"));
}
/* TODO accessKey
if (labelWithAccessKey != null) {
label.setLabelWithAccessKey(labelWithAccessKey);
}
if (accessKey !=null) {
label.setAccessKey(accessKey);
} */
labelTag.setParent(getParent());
labelTag.doStartTag();
selectManyCheckboxTag = new SelectManyCheckboxTag();
selectManyCheckboxTag.setPageContext(pageContext);
if (value != null) {
selectManyCheckboxTag.setValue(value);
}
if (valueChangeListener != null) {
selectManyCheckboxTag.setValueChangeListener(valueChangeListener);
}
if (binding != null) {
selectManyCheckboxTag.setBinding(binding);
}
if (onchange != null) {
selectManyCheckboxTag.setOnchange(onchange);
}
if (validator != null) {
selectManyCheckboxTag.setValidator(validator);
}
if (converter != null) {
selectManyCheckboxTag.setConverter(converter);
}
if (disabled != null) {
selectManyCheckboxTag.setDisabled(disabled);
}
if (inline != null) {
selectManyCheckboxTag.setInline(inline);
}
if (focus != null) {
selectManyCheckboxTag.setFocus(focus);
}
if (id != null) {
selectManyCheckboxTag.setId(id);
}
/*if (height != null) {
selectManyCheckboxTag.setHeight(height);
}*/
if (readonly != null) {
selectManyCheckboxTag.setReadonly(readonly);
}
if (required != null) {
selectManyCheckboxTag.setRequired(required);
}
if (markup != null) {
selectManyCheckboxTag.setMarkup(markup);
}
if (renderRange != null) {
selectManyCheckboxTag.setRenderRange(renderRange);
}
if (tabIndex != null) {
selectManyCheckboxTag.setTabIndex(tabIndex);
}
if (validatorMessage != null) {
selectManyCheckboxTag.setValidatorMessage(validatorMessage);
}
if (converterMessage != null) {
selectManyCheckboxTag.setConverterMessage(converterMessage);
}
if (requiredMessage != null) {
selectManyCheckboxTag.setRequiredMessage(requiredMessage);
}
selectManyCheckboxTag.setParent(labelTag);
selectManyCheckboxTag.doStartTag();
return super.doStartTag();
}
@Override
public int doEndTag() throws JspException {
selectManyCheckboxTag.doEndTag();
labelTag.doEndTag();
return super.doEndTag();
}
@Override
public void release() {
super.release();
binding = null;
onchange = null;
disabled = null;
inline = null;
label = null;
labelWidth = null;
//height = null;
readonly = null;
rendered = null;
converter = null;
validator = null;
required = null;
tip = null;
value = null;
valueChangeListener = null;
markup = null;
tabIndex = null;
selectManyCheckboxTag = null;
labelTag = null;
focus = null;
renderRange = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/InExtensionTag.java | Tobago Taglib Extension | 113 |
| org/apache/myfaces/tobago/taglib/extension12/InExtensionTag.java | Tobago Taglib Extension | 91 |
labelTag.setColumns(createStringValueExpression(labelWidth.getExpressionString() + ";*"));
}
labelTag.setParent(getParent());
labelTag.doStartTag();
inTag = new InTag();
inTag.setPageContext(pageContext);
if (value != null) {
inTag.setValue(value);
}
if (valueChangeListener != null) {
inTag.setValueChangeListener(valueChangeListener);
}
if (binding != null) {
inTag.setBinding(binding);
}
if (converter != null) {
inTag.setConverter(converter);
}
if (validator != null) {
inTag.setValidator(validator);
}
if (onchange != null) {
inTag.setOnchange(onchange);
}
if (suggestMethod != null) {
inTag.setSuggestMethod(suggestMethod);
}
if (disabled != null) {
inTag.setDisabled(disabled);
}
if (focus != null) {
inTag.setFocus(focus);
}
if (id != null) {
inTag.setId(id);
}
if (password != null) {
inTag.setPassword(password);
}
if (readonly != null) {
inTag.setReadonly(readonly);
}
if (required != null) {
inTag.setRequired(required);
}
if (markup != null) {
inTag.setMarkup(markup);
}
if (tabIndex != null) {
inTag.setTabIndex(tabIndex);
}
if (validatorMessage != null) {
inTag.setValidatorMessage(validatorMessage);
}
if (converterMessage != null) {
inTag.setConverterMessage(converterMessage);
}
if (requiredMessage != null) {
inTag.setRequiredMessage(requiredMessage);
}
inTag.setParent(labelTag);
inTag.doStartTag();
return super.doStartTag();
}
@Override
public int doEndTag() throws JspException {
inTag.doEndTag();
labelTag.doEndTag();
return super.doEndTag();
}
@Override
public void release() {
super.release();
binding = null;
converter = null;
validator = null;
disabled = null;
labelWidth = null;
focus = null;
label = null;
password = null;
readonly = null;
rendered = null;
required = null;
tip = null;
value = null;
valueChangeListener = null;
onchange = null;
suggestMethod = null;
markup = null;
tabIndex = null;
inTag = null;
labelTag = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/example/demo/model/solar/SolarObject.java | Example Demo | 270 |
| org/apache/myfaces/tobago/example/test/TestBean.java | Example Test | 448 |
{"1986U10", "", "Uranus", "76", "0.64", null, null, "Karkoschka", "1999"},
{"Puck", "XV", "Uranus", "86", "0.76", "0.31", "0.00", "Voyager 2", "1985"},
{"Miranda", "V", "Uranus", "130", "1.41", "4.22", "0.00", "Kuiper", "1948"},
{"Ariel", "I", "Uranus", "191", "2.52", "0.00", "0.00", "Lassell", "1851"},
{"Umbriel", "II", "Uranus", "266", "4.14", "0.00", "0.00", "Lassell", "1851"},
{"Titania", "III", "Uranus", "436", "8.71", "0.00", "0.00", "Herschel", "1787"},
{"Oberon", "IV", "Uranus", "583", "13.46", "0.00", "0.00", "Herschel", "1787"},
{"Caliban", "XVI", "Uranus", "7169", "-580", "140.", "0.08", "Gladman", "1997"},
{"Stephano", "XX", "Uranus", "7948", "-674", "143.", "0.24", "Gladman", "1999"},
{"Sycorax", "XVII", "Uranus", "12213", "-1289", "153.", "0.51", "Nicholson", "1997"},
{"Prospero", "XVIII", "Uranus", "16568", "-2019", "152.", "0.44", "Holman", "1999"},
{"Setebos", "XIX", "Uranus", "17681", "-2239", "158.", "0.57", "Kavelaars", "1999"},
{"Naiad", "III", "Neptune", "48", "0.29", "0.00", "0.00", "Voyager 2", "1989"},
{"Thalassa", "IV", "Neptune", "50", "0.31", "4.50", "0.00", "Voyager 2", "1989"},
{"Despina", "V", "Neptune", "53", "0.33", "0.00", "0.00", "Voyager 2", "1989"},
{"Galatea", "VI", "Neptune", "62", "0.43", "0.00", "0.00", "Voyager 2", "1989"},
{"Larissa", "VII", "Neptune", "74", "0.55", "0.00", "0.00", "Reitsema", "1989"},
{"Proteus", "VIII", "Neptune", "118", "1.12", "0.00", "0.00", "Voyager 2", "1989"},
{"Triton", "I", "Neptune", "355", "-5.88", "157.00", "0.00", "Lassell", "1846"},
{"Nereid", "II", "Neptune", "5513", "360.13", "29.00", "0.75", "Kuiper", "1949"},
{"Charon", "I", "Pluto", "20", "6.39", "98.80", "0.00", "Christy", "1978"}
};
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/SelectOneRadioExtensionTag.java | Tobago Taglib Extension | 100 |
| org/apache/myfaces/tobago/taglib/extension12/SelectOneRadioExtensionTag.java | Tobago Taglib Extension | 78 |
labelTag.setColumns(createStringValueExpression(labelWidth.getExpressionString() + ";*"));
}
labelTag.setParent(getParent());
labelTag.doStartTag();
selectOneRadioTag = new SelectOneRadioTag();
selectOneRadioTag.setPageContext(pageContext);
if (value != null) {
selectOneRadioTag.setValue(value);
}
if (valueChangeListener != null) {
selectOneRadioTag.setValueChangeListener(valueChangeListener);
}
if (validator != null) {
selectOneRadioTag.setValidator(validator);
}
if (converter != null) {
selectOneRadioTag.setConverter(converter);
}
if (binding != null) {
selectOneRadioTag.setBinding(binding);
}
if (onchange != null) {
selectOneRadioTag.setOnchange(onchange);
}
if (disabled != null) {
selectOneRadioTag.setDisabled(disabled);
}
if (inline != null) {
selectOneRadioTag.setInline(inline);
}
if (focus != null) {
selectOneRadioTag.setFocus(focus);
}
if (id != null) {
selectOneRadioTag.setId(id);
}
if (readonly != null) {
selectOneRadioTag.setReadonly(readonly);
}
if (required != null) {
selectOneRadioTag.setRequired(required);
}
if (tabIndex != null) {
selectOneRadioTag.setTabIndex(tabIndex);
}
if (renderRange != null) {
selectOneRadioTag.setRenderRange(renderRange);
}
if (validatorMessage != null) {
selectOneRadioTag.setValidatorMessage(validatorMessage);
}
if (converterMessage != null) {
selectOneRadioTag.setConverterMessage(converterMessage);
}
if (requiredMessage != null) {
selectOneRadioTag.setRequiredMessage(requiredMessage);
}
selectOneRadioTag.setParent(labelTag);
selectOneRadioTag.doStartTag();
return super.doStartTag();
}
@Override
public int doEndTag() throws JspException {
selectOneRadioTag.doEndTag();
labelTag.doEndTag();
return super.doEndTag();
}
@Override
public void release() {
super.release();
binding = null;
onchange = null;
disabled = null;
inline = null;
label = null;
labelWidth = null;
converter = null;
validator = null;
readonly = null;
rendered = null;
required = null;
tip = null;
value = null;
valueChangeListener = null;
tabIndex = null;
selectOneRadioTag = null;
labelTag = null;
focus = null;
renderRange = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/SelectOneChoiceExtensionTag.java | Tobago Taglib Extension | 100 |
| org/apache/myfaces/tobago/taglib/extension12/SelectOneChoiceExtensionTag.java | Tobago Taglib Extension | 76 |
labelTag.setColumns(createStringValueExpression(labelWidth.getExpressionString() + ";*"));
}
labelTag.setParent(getParent());
labelTag.doStartTag();
selectOneChoiceTag = new SelectOneChoiceTag();
selectOneChoiceTag.setPageContext(pageContext);
if (value != null) {
selectOneChoiceTag.setValue(value);
}
if (valueChangeListener != null) {
selectOneChoiceTag.setValueChangeListener(valueChangeListener);
}
if (validator != null) {
selectOneChoiceTag.setValidator(validator);
}
if (converter != null) {
selectOneChoiceTag.setConverter(converter);
}
if (binding != null) {
selectOneChoiceTag.setBinding(binding);
}
if (onchange != null) {
selectOneChoiceTag.setOnchange(onchange);
}
if (disabled != null) {
selectOneChoiceTag.setDisabled(disabled);
}
if (markup != null) {
selectOneChoiceTag.setMarkup(markup);
}
if (inline != null) {
selectOneChoiceTag.setInline(inline);
}
if (focus != null) {
selectOneChoiceTag.setFocus(focus);
}
if (id != null) {
selectOneChoiceTag.setId(id);
}
if (readonly != null) {
selectOneChoiceTag.setReadonly(readonly);
}
if (required != null) {
selectOneChoiceTag.setRequired(required);
}
if (tabIndex != null) {
selectOneChoiceTag.setTabIndex(tabIndex);
}
if (validatorMessage != null) {
selectOneChoiceTag.setValidatorMessage(validatorMessage);
}
if (converterMessage != null) {
selectOneChoiceTag.setConverterMessage(converterMessage);
}
if (requiredMessage != null) {
selectOneChoiceTag.setRequiredMessage(requiredMessage);
}
selectOneChoiceTag.setParent(labelTag);
selectOneChoiceTag.doStartTag();
return super.doStartTag();
}
@Override
public int doEndTag() throws JspException {
selectOneChoiceTag.doEndTag();
labelTag.doEndTag();
return super.doEndTag();
}
@Override
public void release() {
super.release();
binding = null;
onchange = null;
disabled = null;
inline = null;
label = null;
labelWidth = null;
converter = null;
validator = null;
readonly = null;
rendered = null;
required = null;
tip = null;
value = null;
valueChangeListener = null;
tabIndex = null;
selectOneChoiceTag = null;
labelTag = null;
focus = null;
markup = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/TextAreaExtensionTag.java | Tobago Taglib Extension | 110 |
| org/apache/myfaces/tobago/taglib/extension12/TextAreaExtensionTag.java | Tobago Taglib Extension | 90 |
labelTag.setColumns(createStringValueExpression(labelWidth.getExpressionString() + ";*"));
}
labelTag.setParent(getParent());
labelTag.doStartTag();
textAreaTag = new TextareaTag();
textAreaTag.setPageContext(pageContext);
if (value != null) {
textAreaTag.setValue(value);
}
if (valueChangeListener != null) {
textAreaTag.setValueChangeListener(valueChangeListener);
}
if (binding != null) {
textAreaTag.setBinding(binding);
}
if (converter != null) {
textAreaTag.setConverter(converter);
}
if (validator != null) {
textAreaTag.setValidator(validator);
}
if (onchange != null) {
textAreaTag.setOnchange(onchange);
}
if (disabled != null) {
textAreaTag.setDisabled(disabled);
}
if (focus != null) {
textAreaTag.setFocus(focus);
}
if (id != null) {
textAreaTag.setId(id);
}
if (readonly != null) {
textAreaTag.setReadonly(readonly);
}
if (required != null) {
textAreaTag.setRequired(required);
}
if (markup != null) {
textAreaTag.setMarkup(markup);
}
if (tabIndex != null) {
textAreaTag.setTabIndex(tabIndex);
}
if (validatorMessage != null) {
textAreaTag.setValidatorMessage(validatorMessage);
}
if (converterMessage != null) {
textAreaTag.setConverterMessage(converterMessage);
}
if (requiredMessage != null) {
textAreaTag.setRequiredMessage(requiredMessage);
}
textAreaTag.setParent(labelTag);
textAreaTag.doStartTag();
return super.doStartTag();
}
@Override
public int doEndTag() throws JspException {
textAreaTag.doEndTag();
labelTag.doEndTag();
return super.doEndTag();
}
@Override
public void release() {
super.release();
binding = null;
converter = null;
validator = null;
disabled = null;
labelWidth = null;
focus = null;
label = null;
readonly = null;
rendered = null;
required = null;
tip = null;
value = null;
onchange = null;
markup = null;
valueChangeListener = null;
tabIndex = null;
textAreaTag = null;
labelTag = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/SelectOneListboxExtensionTag.java | Tobago Taglib Extension | 97 |
| org/apache/myfaces/tobago/taglib/extension12/SelectOneListboxExtensionTag.java | Tobago Taglib Extension | 75 |
labelTag.setColumns(createStringValueExpression(labelWidth.getExpressionString() + ";*"));
}
labelTag.setParent(getParent());
labelTag.doStartTag();
selectOneListboxTag = new SelectOneListboxTag();
selectOneListboxTag.setPageContext(pageContext);
if (value != null) {
selectOneListboxTag.setValue(value);
}
if (valueChangeListener != null) {
selectOneListboxTag.setValueChangeListener(valueChangeListener);
}
if (binding != null) {
selectOneListboxTag.setBinding(binding);
}
if (onchange != null) {
selectOneListboxTag.setOnchange(onchange);
}
if (validator != null) {
selectOneListboxTag.setValidator(validator);
}
if (converter != null) {
selectOneListboxTag.setConverter(converter);
}
if (disabled != null) {
selectOneListboxTag.setDisabled(disabled);
}
/*if (inline != null) {
selectOneListboxTag.setInline(inline);
}*/
if (focus != null) {
selectOneListboxTag.setFocus(focus);
}
if (id != null) {
selectOneListboxTag.setId(id);
}
if (height != null) {
selectOneListboxTag.setHeight(height);
}
if (readonly != null) {
selectOneListboxTag.setReadonly(readonly);
}
if (required != null) {
selectOneListboxTag.setRequired(required);
}
if (tabIndex != null) {
selectOneListboxTag.setTabIndex(tabIndex);
}
if (validatorMessage != null) {
selectOneListboxTag.setValidatorMessage(validatorMessage);
}
if (converterMessage != null) {
selectOneListboxTag.setConverterMessage(converterMessage);
}
if (requiredMessage != null) {
selectOneListboxTag.setRequiredMessage(requiredMessage);
}
selectOneListboxTag.setParent(labelTag);
selectOneListboxTag.doStartTag();
return super.doStartTag();
}
@Override
public int doEndTag() throws JspException {
selectOneListboxTag.doEndTag();
labelTag.doEndTag();
return super.doEndTag();
}
@Override
public void release() {
super.release();
binding = null;
onchange = null;
disabled = null;
//inline = null;
labelWidth = null;
label = null;
height = null;
readonly = null;
rendered = null;
converter = null;
validator = null;
required = null;
tip = null;
value = null;
valueChangeListener = null;
tabIndex = null;
selectOneListboxTag = null;
labelTag = null;
focus = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/SelectBooleanCheckboxExtensionTag.java | Tobago Taglib Extension | 97 |
| org/apache/myfaces/tobago/taglib/extension12/SelectBooleanCheckboxExtensionTag.java | Tobago Taglib Extension | 78 |
labelTag.setColumns(createStringValueExpression(labelWidth.getExpressionString() + ";*"));
}
/* TODO accessKey
if (labelWithAccessKey != null) {
label.setLabelWithAccessKey(labelWithAccessKey);
}
if (accessKey !=null) {
label.setAccessKey(accessKey);
} */
labelTag.setParent(getParent());
labelTag.doStartTag();
selectBooleanCheckboxTag = new SelectBooleanCheckboxTag();
selectBooleanCheckboxTag.setPageContext(pageContext);
if (value != null) {
selectBooleanCheckboxTag.setValue(value);
}
if (valueChangeListener != null) {
selectBooleanCheckboxTag.setValueChangeListener(valueChangeListener);
}
if (binding != null) {
selectBooleanCheckboxTag.setBinding(binding);
}
if (onchange != null) {
selectBooleanCheckboxTag.setOnchange(onchange);
}
if (validator != null) {
selectBooleanCheckboxTag.setValidator(validator);
}
if (converter != null) {
selectBooleanCheckboxTag.setConverter(converter);
}
if (disabled != null) {
selectBooleanCheckboxTag.setDisabled(disabled);
}
if (id != null) {
selectBooleanCheckboxTag.setId(id);
}
if (readonly != null) {
selectBooleanCheckboxTag.setReadonly(readonly);
}
if (focus != null) {
selectBooleanCheckboxTag.setFocus(focus);
}
if (required != null) {
selectBooleanCheckboxTag.setRequired(required);
}
// TODO item Label
//if (itemLabel != null) {
// selectOneRadioTag.setLabel(itemLabel);
//}
if (markup != null) {
selectBooleanCheckboxTag.setMarkup(markup);
}
if (tabIndex != null) {
selectBooleanCheckboxTag.setTabIndex(tabIndex);
}
if (validatorMessage != null) {
selectBooleanCheckboxTag.setValidatorMessage(validatorMessage);
}
if (converterMessage != null) {
selectBooleanCheckboxTag.setConverterMessage(converterMessage);
}
if (requiredMessage != null) {
selectBooleanCheckboxTag.setRequiredMessage(requiredMessage);
}
selectBooleanCheckboxTag.setParent(labelTag);
selectBooleanCheckboxTag.doStartTag();
return super.doStartTag();
}
@Override
public int doEndTag() throws JspException {
selectBooleanCheckboxTag.doEndTag();
labelTag.doEndTag();
return super.doEndTag();
}
@Override
public void release() {
super.release();
binding = null;
onchange = null;
disabled = null;
label = null;
labelWidth = null;
readonly = null;
rendered = null;
converter = null;
validator = null;
tip = null;
value = null;
valueChangeListener = null;
markup = null;
tabIndex = null;
focus = null;
required = null;
selectBooleanCheckboxTag = null;
labelTag = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/TimeExtensionTag.java | Tobago Taglib Extension | 108 |
| org/apache/myfaces/tobago/taglib/extension12/TimeExtensionTag.java | Tobago Taglib Extension | 88 |
labelTag.setColumns(createStringValueExpression(labelWidth.getExpressionString() + ";*"));
}
labelTag.setParent(getParent());
labelTag.doStartTag();
timeTag = new TimeTag();
timeTag.setPageContext(pageContext);
if (value != null) {
timeTag.setValue(value);
}
if (valueChangeListener != null) {
timeTag.setValueChangeListener(valueChangeListener);
}
if (binding != null) {
timeTag.setBinding(binding);
}
/*if (converter != null) {
timeTag.setConverter(converter);
}*/
if (validator != null) {
timeTag.setValidator(validator);
}
if (onchange != null) {
timeTag.setOnchange(onchange);
}
if (disabled != null) {
timeTag.setDisabled(disabled);
}
if (focus != null) {
timeTag.setFocus(focus);
}
if (id != null) {
timeTag.setId(id);
}
if (inline != null) {
timeTag.setInline(inline);
}
if (readonly != null) {
timeTag.setReadonly(readonly);
}
if (required != null) {
timeTag.setRequired(required);
}
if (tabIndex != null) {
timeTag.setTabIndex(tabIndex);
}
if (validatorMessage != null) {
timeTag.setValidatorMessage(validatorMessage);
}
if (converterMessage != null) {
timeTag.setConverterMessage(converterMessage);
}
if (requiredMessage != null) {
timeTag.setRequiredMessage(requiredMessage);
}
timeTag.setParent(labelTag);
timeTag.doStartTag();
return super.doStartTag();
}
@Override
public int doEndTag() throws JspException {
timeTag.doEndTag();
labelTag.doEndTag();
return super.doEndTag();
}
@Override
public void release() {
super.release();
binding = null;
converter = null;
validator = null;
disabled = null;
labelWidth = null;
focus = null;
label = null;
inline = null;
readonly = null;
rendered = null;
required = null;
tip = null;
value = null;
onchange = null;
valueChangeListener = null;
tabIndex = null;
timeTag = null;
labelTag = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/MenuRadioExtensionTag.java | Tobago Taglib Extension | 65 |
| org/apache/myfaces/tobago/taglib/extension12/MenuRadioExtensionTag.java | Tobago Taglib Extension | 61 |
private javax.el.ValueExpression renderedPartially;
@Override
public int doStartTag() throws JspException {
menuCommandTag = new MenuItemTag();
menuCommandTag.setPageContext(pageContext);
menuCommandTag.setParent(getParent());
if (rendered != null) {
menuCommandTag.setRendered(rendered);
}
if (action != null) {
menuCommandTag.setAction(action);
}
if (actionListener != null) {
menuCommandTag.setActionListener(actionListener);
}
if (onclick != null) {
menuCommandTag.setOnclick(onclick);
}
if (link != null) {
menuCommandTag.setLink(link);
}
if (disabled != null) {
menuCommandTag.setDisabled(disabled);
}
if (binding != null) {
menuCommandTag.setBinding(binding);
}
if (label != null) {
menuCommandTag.setLabel(label);
}
if (immediate != null) {
menuCommandTag.setImmediate(immediate);
}
if (transition != null) {
menuCommandTag.setTransition(transition);
}
if (renderedPartially != null) {
menuCommandTag.setRenderedPartially(renderedPartially);
}
menuCommandTag.doStartTag();
facetTag = new FacetTag();
facetTag.setPageContext(pageContext);
facetTag.setParent(menuCommandTag);
facetTag.setName(org.apache.myfaces.tobago.TobagoConstants.FACET_ITEMS);
facetTag.doStartTag();
selectOneRadio = new SelectOneRadioTag();
selectOneRadio.setPageContext(pageContext);
selectOneRadio.setParent(facetTag);
if (converter != null) {
selectOneRadio.setConverter(converter);
}
if (value != null) {
selectOneRadio.setValue(value);
}
selectOneRadio.doStartTag();
return super.doStartTag();
}
@Override
public int doEndTag() throws JspException {
selectOneRadio.doEndTag();
facetTag.doEndTag();
menuCommandTag.doEndTag();
return super.doEndTag();
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/MenuCheckboxExtensionTag.java | Tobago Taglib Extension | 139 |
| org/apache/myfaces/tobago/taglib/extension12/MenuRadioExtensionTag.java | Tobago Taglib Extension | 146 |
public void setAction(javax.el.MethodExpression action) {
this.action = action;
}
/**
* MethodBinding representing an action listener method that will be
* notified when this component is activated by the user.
* The expression must evaluate to a public method that takes an ActionEvent
* parameter, with a return type of void.
*/
@TagAttribute
@UIComponentTagAttribute(type = {}, expression = DynamicExpression.METHOD_BINDING_REQUIRED,
methodSignature = "javax.faces.event.ActionEvent")
public void setActionListener(javax.el.MethodExpression actionListener) {
this.actionListener = actionListener;
}
/**
* Script to be invoked when clicked
*
* @param onclick
*/
@TagAttribute
@UIComponentTagAttribute()
public void setOnclick(javax.el.ValueExpression onclick) {
this.onclick = onclick;
}
/**
* Link to an arbitrary URL
*
* @param link
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLink(javax.el.ValueExpression link) {
this.link = link;
}
/**
* The value binding expression linking this
* component to a property in a backing bean.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
public void setBinding(javax.el.ValueExpression binding) throws JspException {
this.binding = binding;
}
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "true")
public void setRendered(javax.el.ValueExpression rendered) {
this.rendered = rendered;
}
/**
* Flag indicating that this element is disabled.
*/
@TagAttribute()
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "false")
public void setDisabled(javax.el.ValueExpression disabled) {
this.disabled = disabled;
}
/**
* The current value of this component.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Object")
public void setValue(javax.el.ValueExpression value) {
this.value = value;
}
/**
* Text value to display as label.
* If text contains an underscore the next character is used as accesskey.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabel(javax.el.ValueExpression label) {
this.label = label;
}
/**
* Flag indicating that, if this component is activated by the user,
* notifications should be delivered to interested listeners and actions
* immediately (that is, during Apply Request Values phase) rather than
* waiting until Invoke Application phase.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "false")
public void setImmediate(javax.el.ValueExpression immediate) {
this.immediate = immediate;
}
/**
* Specify, if the command calls an JSF-Action.
* Useful to switch off the Double-Submit-Check and Waiting-Behavior.
*
* @param transition Indicates the transition.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "true")
public void setTransition(javax.el.ValueExpression transition) {
this.transition = transition;
}
/**
* An expression that specifies the Converter for this component.
* If the value binding expression is a String,
* the String is used as an ID to look up a Converter.
* If the value binding expression is a Converter,
* uses that instance as the converter.
* The value can either be a static value (ID case only)
* or an EL expression.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.convert.Converter",
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/MenuCheckboxExtensionTag.java | Tobago Taglib Extension | 62 |
| org/apache/myfaces/tobago/taglib/extension12/MenuCheckboxExtensionTag.java | Tobago Taglib Extension | 60 |
private javax.el.ValueExpression renderedPartially;
@Override
public int doStartTag() throws JspException {
menuCommandTag = new MenuItemTag();
menuCommandTag.setPageContext(pageContext);
menuCommandTag.setParent(getParent()); // ???
if (rendered != null) {
menuCommandTag.setRendered(rendered);
}
if (action != null) {
menuCommandTag.setAction(action);
}
if (actionListener != null) {
menuCommandTag.setActionListener(actionListener);
}
if (onclick != null) {
menuCommandTag.setOnclick(onclick);
}
if (link != null) {
menuCommandTag.setLink(link);
}
if (disabled != null) {
menuCommandTag.setDisabled(disabled);
}
if (binding != null) {
menuCommandTag.setBinding(binding);
}
if (label != null) {
menuCommandTag.setLabel(label);
}
if (immediate != null) {
menuCommandTag.setImmediate(immediate);
}
if (transition != null) {
menuCommandTag.setTransition(transition);
}
if (renderedPartially != null) {
menuCommandTag.setRenderedPartially(renderedPartially);
}
menuCommandTag.doStartTag();
facetTag = new FacetTag();
facetTag.setPageContext(pageContext);
facetTag.setParent(menuCommandTag);
facetTag.setName(org.apache.myfaces.tobago.TobagoConstants.FACET_ITEMS);
facetTag.doStartTag();
selectBooleanCheckbox = new SelectBooleanCheckboxTag();
selectBooleanCheckbox.setPageContext(pageContext);
if (value != null) {
selectBooleanCheckbox.setValue(value);
}
selectBooleanCheckbox.setParent(facetTag);
selectBooleanCheckbox.doStartTag();
return super.doStartTag();
}
@Override
public int doEndTag() throws JspException {
selectBooleanCheckbox.doEndTag();
facetTag.doEndTag();
menuCommandTag.doEndTag();
return super.doEndTag();
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/SelectBooleanCheckboxExtensionTag.java | Tobago Taglib Extension | 239 |
| org/apache/myfaces/tobago/taglib/extension12/SelectManyCheckboxExtensionTag.java | Tobago Taglib Extension | 261 |
}
/**
* Text value to display as label.
* If text contains an underscore the next character is used as accesskey.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabel(javax.el.ValueExpression label) {
this.label = label;
}
/*public void setHeight(String height) {
this.height = height;
} */
/**
* A method binding EL expression,
* accepting FacesContext, UIComponent,
* and Object parameters, and returning void, that validates
* the component's local value.
*/
@TagAttribute
@UIComponentTagAttribute(type = {},
expression = DynamicExpression.METHOD_BINDING,
methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
public void setValidator(javax.el.MethodExpression validator) {
this.validator = validator;
}
/**
* An expression that specifies the Converter for this component.
* If the value binding expression is a String,
* the String is used as an ID to look up a Converter.
* If the value binding expression is a Converter,
* uses that instance as the converter.
* The value can either be a static value (ID case only)
* or an EL expression.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.convert.Converter",
expression = DynamicExpression.VALUE_BINDING)
public void setConverter(javax.el.ValueExpression converter) {
this.converter = converter;
}
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "true")
public void setRendered(javax.el.ValueExpression rendered) {
this.rendered = rendered;
}
/**
* The value binding expression linking this
* component to a property in a backing bean.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
public void setBinding(javax.el.ValueExpression binding) {
this.binding = binding;
}
/**
* Text value to display as tooltip.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setTip(javax.el.ValueExpression tip) {
this.tip = tip;
}
/**
* The width for the label component. Default: 'fixed'.
* This value is used in the gridLayouts columns attribute.
* See gridLayout tag for valid values.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabelWidth(javax.el.ValueExpression labelWidth) {
this.labelWidth = labelWidth;
}
/**
* Indicate markup of this component.
* Possible value is 'none'. But this can be overridden in the theme.
*/
@TagAttribute
@UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")
public void setMarkup(javax.el.ValueExpression markup) {
this.markup = markup;
}
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
public void setTabIndex(javax.el.ValueExpression tabIndex) {
this.tabIndex = tabIndex;
}
/**
* Flag indicating this component should recieve the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setFocus(javax.el.ValueExpression focus) {
this.focus = focus;
}
/**
* Range of items to render.
*/
@TagAttribute
@UIComponentTagAttribute()
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/TextAreaExtensionTag.java | Tobago Taglib Extension | 177 |
| org/apache/myfaces/tobago/taglib/extension12/TimeExtensionTag.java | Tobago Taglib Extension | 175 |
timeTag = null;
labelTag = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
/**
* The current value of this component.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Object")
public void setValue(javax.el.ValueExpression value) {
this.value = value;
}
/**
* MethodBinding representing a value change listener method
* that will be notified when a new value has been set for this input component.
* The expression must evaluate to a public method that takes a ValueChangeEvent
* parameter, with a return type of void.
*
* @param valueChangeListener
*/
@TagAttribute
@UIComponentTagAttribute(
type = {},
expression = DynamicExpression.METHOD_BINDING_REQUIRED,
methodSignature = "javax.faces.event.ValueChangeEvent")
public void setValueChangeListener(javax.el.MethodExpression valueChangeListener) {
this.valueChangeListener = valueChangeListener;
}
/**
* Text value to display as label.
* If text contains an underscore the next character is used as accesskey.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabel(javax.el.ValueExpression label) {
this.label = label;
}
/**
* Flag indicating this component should recieve the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setFocus(javax.el.ValueExpression focus) {
this.focus = focus;
}
/**
* The value binding expression linking this
* component to a property in a backing bean.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
public void setBinding(javax.el.ValueExpression binding) {
this.binding = binding;
}
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "true")
public void setRendered(javax.el.ValueExpression rendered) {
this.rendered = rendered;
}
/**
* An expression that specifies the Converter for this component.
* If the value binding expression is a String,
* the String is used as an ID to look up a Converter.
* If the value binding expression is a Converter,
* uses that instance as the converter.
* The value can either be a static value (ID case only)
* or an EL expression.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.convert.Converter",
expression = DynamicExpression.VALUE_BINDING)
public void setConverter(javax.el.ValueExpression converter) {
this.converter = converter;
}
/**
* A method binding EL expression,
* accepting FacesContext, UIComponent,
* and Object parameters, and returning void, that validates
* the component's local value.
*/
@TagAttribute
@UIComponentTagAttribute(type = {},
expression = DynamicExpression.METHOD_BINDING,
methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
public void setValidator(javax.el.MethodExpression validator) {
this.validator = validator;
}
/**
* Clientside script function to add to this component's onchange handler.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setOnchange(javax.el.ValueExpression onchange) {
this.onchange = onchange;
}
/**
* Flag indicating this component should rendered as an inline element.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/SelectManyCheckboxExtensionTag.java | Tobago Taglib Extension | 271 |
| org/apache/myfaces/tobago/taglib/extension12/SelectManyListboxExtensionTag.java | Tobago Taglib Extension | 277 |
}
/**
* A method binding EL expression,
* accepting FacesContext, UIComponent,
* and Object parameters, and returning void, that validates
* the component's local value.
*/
@TagAttribute
@UIComponentTagAttribute(type = {},
expression = DynamicExpression.METHOD_BINDING,
methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
public void setValidator(javax.el.MethodExpression validator) {
this.validator = validator;
}
/**
* An expression that specifies the Converter for this component.
* If the value binding expression is a String,
* the String is used as an ID to look up a Converter.
* If the value binding expression is a Converter,
* uses that instance as the converter.
* The value can either be a static value (ID case only)
* or an EL expression.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.convert.Converter",
expression = DynamicExpression.VALUE_BINDING)
public void setConverter(javax.el.ValueExpression converter) {
this.converter = converter;
}
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "true")
public void setRendered(javax.el.ValueExpression rendered) {
this.rendered = rendered;
}
/**
* The value binding expression linking this
* component to a property in a backing bean.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
public void setBinding(javax.el.ValueExpression binding) {
this.binding = binding;
}
/**
* Text value to display as tooltip.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setTip(javax.el.ValueExpression tip) {
this.tip = tip;
}
/**
* The width for the label component. Default: 'fixed'.
* This value is used in the gridLayouts columns attribute.
* See gridLayout tag for valid values.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabelWidth(javax.el.ValueExpression labelWidth) {
this.labelWidth = labelWidth;
}
/**
* Indicate markup of this component.
* Possible value is 'none'. But this can be overridden in the theme.
*/
@TagAttribute
@UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")
public void setMarkup(javax.el.ValueExpression markup) {
this.markup = markup;
}
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
public void setTabIndex(javax.el.ValueExpression tabIndex) {
this.tabIndex = tabIndex;
}
/**
* Flag indicating this component should recieve the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setFocus(javax.el.ValueExpression focus) {
this.focus = focus;
}
/**
* An expression that specifies the validator message
*/
@TagAttribute
@UIComponentTagAttribute()
public void setValidatorMessage(javax.el.ValueExpression validatorMessage) {
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/SelectBooleanCheckboxExtensionTag.java | Tobago Taglib Extension | 249 |
| org/apache/myfaces/tobago/taglib/extension12/SelectManyListboxExtensionTag.java | Tobago Taglib Extension | 277 |
}
/**
* A method binding EL expression,
* accepting FacesContext, UIComponent,
* and Object parameters, and returning void, that validates
* the component's local value.
*/
@TagAttribute
@UIComponentTagAttribute(type = {},
expression = DynamicExpression.METHOD_BINDING,
methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
public void setValidator(javax.el.MethodExpression validator) {
this.validator = validator;
}
/**
* An expression that specifies the Converter for this component.
* If the value binding expression is a String,
* the String is used as an ID to look up a Converter.
* If the value binding expression is a Converter,
* uses that instance as the converter.
* The value can either be a static value (ID case only)
* or an EL expression.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.convert.Converter",
expression = DynamicExpression.VALUE_BINDING)
public void setConverter(javax.el.ValueExpression converter) {
this.converter = converter;
}
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "true")
public void setRendered(javax.el.ValueExpression rendered) {
this.rendered = rendered;
}
/**
* The value binding expression linking this
* component to a property in a backing bean.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
public void setBinding(javax.el.ValueExpression binding) {
this.binding = binding;
}
/**
* Text value to display as tooltip.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setTip(javax.el.ValueExpression tip) {
this.tip = tip;
}
/**
* The width for the label component. Default: 'fixed'.
* This value is used in the gridLayouts columns attribute.
* See gridLayout tag for valid values.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabelWidth(javax.el.ValueExpression labelWidth) {
this.labelWidth = labelWidth;
}
/**
* Indicate markup of this component.
* Possible value is 'none'. But this can be overridden in the theme.
*/
@TagAttribute
@UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")
public void setMarkup(javax.el.ValueExpression markup) {
this.markup = markup;
}
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
public void setTabIndex(javax.el.ValueExpression tabIndex) {
this.tabIndex = tabIndex;
}
/**
* Flag indicating this component should recieve the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setFocus(javax.el.ValueExpression focus) {
this.focus = focus;
}
/**
* An expression that specifies the validator message
*/
@TagAttribute
@UIComponentTagAttribute()
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/SelectManyCheckboxExtensionTag.java | Tobago Taglib Extension | 184 |
| org/apache/myfaces/tobago/taglib/extension12/SelectManyListboxExtensionTag.java | Tobago Taglib Extension | 186 |
focus = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
/**
* Flag indicating that a value is required.
* If the value is an empty string a
* ValidationError occurs and a Error Message is rendered.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setRequired(javax.el.ValueExpression required) {
this.required = required;
}
/**
* The current value of this component.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Object")
public void setValue(javax.el.ValueExpression value) {
this.value = value;
}
/**
* MethodBinding representing a value change listener method
* that will be notified when a new value has been set for this input component.
* The expression must evaluate to a public method that takes a ValueChangeEvent
* parameter, with a return type of void.
*
* @param valueChangeListener
*/
@TagAttribute
@UIComponentTagAttribute(
type = {},
expression = DynamicExpression.METHOD_BINDING_REQUIRED,
methodSignature = "javax.faces.event.ValueChangeEvent")
public void setValueChangeListener(javax.el.MethodExpression valueChangeListener) {
this.valueChangeListener = valueChangeListener;
}
/**
* Flag indicating that this element is disabled.
*/
@TagAttribute()
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "false")
public void setDisabled(javax.el.ValueExpression disabled) {
this.disabled = disabled;
}
/**
* Flag indicating that this component will prohibit changes by the user.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setReadonly(javax.el.ValueExpression readonly) {
this.readonly = readonly;
}
/**
* Clientside script function to add to this component's onchange handler.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setOnchange(javax.el.ValueExpression onchange) {
this.onchange = onchange;
}
/**
* Flag indicating this component should rendered as an inline element.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setInline(javax.el.ValueExpression inline) {
this.inline = inline;
}
/**
* Text value to display as label.
* If text contains an underscore the next character is used as accesskey.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabel(javax.el.ValueExpression label) {
this.label = label;
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/SelectOneChoiceExtensionTag.java | Tobago Taglib Extension | 193 |
| org/apache/myfaces/tobago/taglib/extension/SelectOneRadioExtensionTag.java | Tobago Taglib Extension | 193 |
renderRange = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
public void setRequired(String required) {
this.required = required;
}
public void setValue(String value) {
this.value = value;
}
public void setValueChangeListener(String valueChangeListener) {
this.valueChangeListener = valueChangeListener;
}
public void setValidator(String validator) {
this.validator = validator;
}
public void setDisabled(String disabled) {
this.disabled = disabled;
}
public void setReadonly(String readonly) {
this.readonly = readonly;
}
public void setOnchange(String onchange) {
this.onchange = onchange;
}
public void setConverter(String converter) {
this.converter = converter;
}
public void setInline(String inline) {
this.inline = inline;
}
public void setLabel(String label) {
this.label = label;
}
public void setRendered(String rendered) {
this.rendered = rendered;
}
public void setBinding(String binding) {
this.binding = binding;
}
public void setTip(String tip) {
this.tip = tip;
}
public void setLabelWidth(String labelWidth) {
this.labelWidth = labelWidth;
}
public void setTabIndex(String tabIndex) {
this.tabIndex = tabIndex;
}
public void setFocus(String focus) {
this.focus = focus;
}
public void setRenderRange(String renderRange) {
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/InExtensionTag.java | Tobago Taglib Extension | 326 |
| org/apache/myfaces/tobago/taglib/extension12/TimeExtensionTag.java | Tobago Taglib Extension | 293 |
}
/**
* Flag indicating that this component will prohibit changes by the user.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setReadonly(javax.el.ValueExpression readonly) {
this.readonly = readonly;
}
/**
* Flag indicating that this element is disabled.
*/
@TagAttribute()
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "false")
public void setDisabled(javax.el.ValueExpression disabled) {
this.disabled = disabled;
}
/**
* Flag indicating that a value is required.
* If the value is an empty string a
* ValidationError occurs and a Error Message is rendered.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setRequired(javax.el.ValueExpression required) {
this.required = required;
}
/**
* Text value to display as tooltip.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setTip(javax.el.ValueExpression tip) {
this.tip = tip;
}
/**
* The width for the label component. Default: 'fixed'.
* This value is used in the gridLayouts columns attribute.
* See gridLayout tag for valid values.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabelWidth(javax.el.ValueExpression labelWidth) {
this.labelWidth = labelWidth;
}
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
public void setTabIndex(javax.el.ValueExpression tabIndex) {
this.tabIndex = tabIndex;
}
/**
* An expression that specifies the validator message
*/
@TagAttribute
@UIComponentTagAttribute()
public void setValidatorMessage(javax.el.ValueExpression validatorMessage) {
this.validatorMessage = validatorMessage;
}
/**
* An expression that specifies the converter message
*/
@TagAttribute
@UIComponentTagAttribute()
public void setConverterMessage(javax.el.ValueExpression converterMessage) {
this.converterMessage = converterMessage;
}
/**
* An expression that specifies the required message
*/
@TagAttribute
@UIComponentTagAttribute()
public void setRequiredMessage(javax.el.ValueExpression requiredMessage) {
this.requiredMessage = requiredMessage;
}
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/MenuCheckboxExtensionTag.java | Tobago Taglib Extension | 60 |
| org/apache/myfaces/tobago/taglib/extension12/MenuRadioExtensionTag.java | Tobago Taglib Extension | 61 |
private javax.el.ValueExpression renderedPartially;
@Override
public int doStartTag() throws JspException {
menuCommandTag = new MenuItemTag();
menuCommandTag.setPageContext(pageContext);
menuCommandTag.setParent(getParent());
if (rendered != null) {
menuCommandTag.setRendered(rendered);
}
if (action != null) {
menuCommandTag.setAction(action);
}
if (actionListener != null) {
menuCommandTag.setActionListener(actionListener);
}
if (onclick != null) {
menuCommandTag.setOnclick(onclick);
}
if (link != null) {
menuCommandTag.setLink(link);
}
if (disabled != null) {
menuCommandTag.setDisabled(disabled);
}
if (binding != null) {
menuCommandTag.setBinding(binding);
}
if (label != null) {
menuCommandTag.setLabel(label);
}
if (immediate != null) {
menuCommandTag.setImmediate(immediate);
}
if (transition != null) {
menuCommandTag.setTransition(transition);
}
if (renderedPartially != null) {
menuCommandTag.setRenderedPartially(renderedPartially);
}
menuCommandTag.doStartTag();
facetTag = new FacetTag();
facetTag.setPageContext(pageContext);
facetTag.setParent(menuCommandTag);
facetTag.setName(org.apache.myfaces.tobago.TobagoConstants.FACET_ITEMS);
facetTag.doStartTag();
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/SelectManyListboxExtensionTag.java | Tobago Taglib Extension | 263 |
| org/apache/myfaces/tobago/taglib/extension12/SelectOneListboxExtensionTag.java | Tobago Taglib Extension | 234 |
}
/* public void setInline(String inline) {
this.inline = inline;
}*/
/**
* Text value to display as label.
* If text contains an underscore the next character is used as accesskey.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabel(javax.el.ValueExpression label) {
this.label = label;
}
public void setHeight(javax.el.ValueExpression height) {
this.height = height;
}
/**
* A method binding EL expression,
* accepting FacesContext, UIComponent,
* and Object parameters, and returning void, that validates
* the component's local value.
*/
@TagAttribute
@UIComponentTagAttribute(type = {},
expression = DynamicExpression.METHOD_BINDING,
methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
public void setValidator(javax.el.MethodExpression validator) {
this.validator = validator;
}
/**
* An expression that specifies the Converter for this component.
* If the value binding expression is a String,
* the String is used as an ID to look up a Converter.
* If the value binding expression is a Converter,
* uses that instance as the converter.
* The value can either be a static value (ID case only)
* or an EL expression.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.convert.Converter",
expression = DynamicExpression.VALUE_BINDING)
public void setConverter(javax.el.ValueExpression converter) {
this.converter = converter;
}
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "true")
public void setRendered(javax.el.ValueExpression rendered) {
this.rendered = rendered;
}
/**
* The value binding expression linking this
* component to a property in a backing bean.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
public void setBinding(javax.el.ValueExpression binding) {
this.binding = binding;
}
/**
* Text value to display as tooltip.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setTip(javax.el.ValueExpression tip) {
this.tip = tip;
}
/**
* The width for the label component. Default: 'fixed'.
* This value is used in the gridLayouts columns attribute.
* See gridLayout tag for valid values.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabelWidth(javax.el.ValueExpression labelWidth) {
this.labelWidth = labelWidth;
}
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/MenuCheckboxExtensionTag.java | Tobago Taglib Extension | 62 |
| org/apache/myfaces/tobago/taglib/extension/MenuRadioExtensionTag.java | Tobago Taglib Extension | 65 |
private String renderedPartially;
@Override
public int doStartTag() throws JspException {
menuCommandTag = new MenuItemTag();
menuCommandTag.setPageContext(pageContext);
menuCommandTag.setParent(getParent());
if (rendered != null) {
menuCommandTag.setRendered(rendered);
}
if (action != null) {
menuCommandTag.setAction(action);
}
if (actionListener != null) {
menuCommandTag.setActionListener(actionListener);
}
if (onclick != null) {
menuCommandTag.setOnclick(onclick);
}
if (link != null) {
menuCommandTag.setLink(link);
}
if (disabled != null) {
menuCommandTag.setDisabled(disabled);
}
if (binding != null) {
menuCommandTag.setBinding(binding);
}
if (label != null) {
menuCommandTag.setLabel(label);
}
if (immediate != null) {
menuCommandTag.setImmediate(immediate);
}
if (transition != null) {
menuCommandTag.setTransition(transition);
}
if (renderedPartially != null) {
menuCommandTag.setRenderedPartially(renderedPartially);
}
menuCommandTag.doStartTag();
facetTag = new FacetTag();
facetTag.setPageContext(pageContext);
facetTag.setParent(menuCommandTag);
facetTag.setName(org.apache.myfaces.tobago.TobagoConstants.FACET_ITEMS);
facetTag.doStartTag();
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/MenuCheckboxExtensionTag.java | Tobago Taglib Extension | 62 |
| org/apache/myfaces/tobago/taglib/extension12/MenuRadioExtensionTag.java | Tobago Taglib Extension | 61 |
private javax.el.ValueExpression renderedPartially;
@Override
public int doStartTag() throws JspException {
menuCommandTag = new MenuItemTag();
menuCommandTag.setPageContext(pageContext);
menuCommandTag.setParent(getParent());
if (rendered != null) {
menuCommandTag.setRendered(rendered);
}
if (action != null) {
menuCommandTag.setAction(action);
}
if (actionListener != null) {
menuCommandTag.setActionListener(actionListener);
}
if (onclick != null) {
menuCommandTag.setOnclick(onclick);
}
if (link != null) {
menuCommandTag.setLink(link);
}
if (disabled != null) {
menuCommandTag.setDisabled(disabled);
}
if (binding != null) {
menuCommandTag.setBinding(binding);
}
if (label != null) {
menuCommandTag.setLabel(label);
}
if (immediate != null) {
menuCommandTag.setImmediate(immediate);
}
if (transition != null) {
menuCommandTag.setTransition(transition);
}
if (renderedPartially != null) {
menuCommandTag.setRenderedPartially(renderedPartially);
}
menuCommandTag.doStartTag();
facetTag = new FacetTag();
facetTag.setPageContext(pageContext);
facetTag.setParent(menuCommandTag);
facetTag.setName(org.apache.myfaces.tobago.TobagoConstants.FACET_ITEMS);
facetTag.doStartTag();
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/InExtensionTag.java | Tobago Taglib Extension | 202 |
| org/apache/myfaces/tobago/taglib/extension12/TextAreaExtensionTag.java | Tobago Taglib Extension | 182 |
}
/**
* The current value of this component.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Object")
public void setValue(javax.el.ValueExpression value) {
this.value = value;
}
/**
* MethodBinding representing a value change listener method
* that will be notified when a new value has been set for this input component.
* The expression must evaluate to a public method that takes a ValueChangeEvent
* parameter, with a return type of void.
*
* @param valueChangeListener
*/
@TagAttribute
@UIComponentTagAttribute(
type = {},
expression = DynamicExpression.METHOD_BINDING_REQUIRED,
methodSignature = "javax.faces.event.ValueChangeEvent")
public void setValueChangeListener(javax.el.MethodExpression valueChangeListener) {
this.valueChangeListener = valueChangeListener;
}
/**
* Text value to display as label.
* If text contains an underscore the next character is used as accesskey.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabel(javax.el.ValueExpression label) {
this.label = label;
}
/**
* Flag indicating this component should recieve the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setFocus(javax.el.ValueExpression focus) {
this.focus = focus;
}
/**
* The value binding expression linking this
* component to a property in a backing bean.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
public void setBinding(javax.el.ValueExpression binding) {
this.binding = binding;
}
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "true")
public void setRendered(javax.el.ValueExpression rendered) {
this.rendered = rendered;
}
/**
* An expression that specifies the Converter for this component.
* If the value binding expression is a String,
* the String is used as an ID to look up a Converter.
* If the value binding expression is a Converter,
* uses that instance as the converter.
* The value can either be a static value (ID case only)
* or an EL expression.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.convert.Converter",
expression = DynamicExpression.VALUE_BINDING)
public void setConverter(javax.el.ValueExpression converter) {
this.converter = converter;
}
/**
* A method binding EL expression,
* accepting FacesContext, UIComponent,
* and Object parameters, and returning void, that validates
* the component's local value.
*/
@TagAttribute
@UIComponentTagAttribute(type = {},
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/example/demo/model/solar/SolarObject.java | Example Demo | 213 |
| org/apache/myfaces/tobago/example/test/TestBean.java | Example Test | 391 |
{"Moon", "I", "Earth", "384", "27.32", "5.14", "0.05", "-", null},
{"Phobos", "I", "Mars", "9", "0.32", "1.00", "0.02", "Hall", "1877"},
{"Deimos", "II", "Mars", "23", "1.26", "1.80", "0.00", "Hall", "1877"},
{"Metis", "XVI", "Jupiter", "128", "0.29", "0.00", "0.00", "Synnott", "1979"},
{"Adrastea", "XV", "Jupiter", "129", "0.30", "0.00", "0.00", "Jewitt", "1979"},
{"Amalthea", "V", "Jupiter", "181", "0.50", "0.40", "0.00", "Barnard", "1892"},
{"Thebe", "XIV", "Jupiter", "222", "0.67", "0.80", "0.02", "Synnott", "1979"},
{"Io", "I", "Jupiter", "422", "1.77", "0.04", "0.00", "Galileo", "1610"},
{"Europa", "II", "Jupiter", "671", "3.55", "0.47", "0.01", "Galileo", "1610"},
{"Ganymede", "III", "Jupiter", "1070", "7.15", "0.19", "0.00", "Galileo", "1610"},
{"Callisto", "IV", "Jupiter", "1883", "16.69", "0.28", "0.01", "Galileo", "1610"},
{"Themisto", "XVIII", "Jupiter", "7507", "0", null, null, "Sheppard", "2000"},
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/component/AbstractUIData.java | Tobago Core | 362 |
| org/apache/myfaces/tobago/component/UIPanelBase.java | Tobago Core | 49 |
}
public void processDecodes(FacesContext context) {
if (context instanceof TobagoFacesContext && ((TobagoFacesContext) context).isAjax()) {
final String ajaxId = ((TobagoFacesContext) context).getAjaxComponentId();
UIComponent reload = getFacet(FACET_RELOAD);
if (ajaxId != null && ajaxId.equals(getClientId(context)) && reload != null && reload.isRendered()
&& ajaxId.equals(ComponentUtil.findPage(context, this).getActionId())) {
Boolean immediate = (Boolean) reload.getAttributes().get(ATTR_IMMEDIATE);
if (immediate != null && immediate) {
Boolean update = (Boolean) reload.getAttributes().get(ATTR_UPDATE);
if (update != null && !update) {
if (context.getExternalContext().getResponse() instanceof HttpServletResponse) {
((HttpServletResponse) context.getExternalContext().getResponse())
.setStatus(HttpServletResponse.SC_NOT_MODIFIED);
}
context.responseComplete();
return;
}
}
}
}
super.processDecodes(context);
}
public void encodeAjax(FacesContext facesContext) throws IOException {
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/renderkit/html/scarborough/msie/tag/MessageRenderer.java | Theme Scarborough | 91 |
| org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/MessageRenderer.java | Theme Scarborough | 86 |
writer.startElement(HtmlConstants.SPAN, component);
writer.writeClassAttribute("tobago-validation-message");
writer.writeStyleAttribute();
while (iterator.hasNext()) {
FacesMessage message = (FacesMessage) iterator.next();
// MessageFormat detail = new MessageFormat(formatString, tobagoContext.getLocale());
String summary = message.getSummary();
String detail = message.getDetail();
writer.startElement(HtmlConstants.LABEL, null);
writer.writeAttribute(HtmlAttributes.FOR, clientId, false);
writer.writeAttribute(HtmlAttributes.TITLE, detail, true);
boolean writeEmptyText = true;
if (summary != null && showSummary) {
writer.writeText(summary);
writeEmptyText = false;
if (detail != null && showDetail) {
writer.writeText(" ");
}
}
if (detail != null && showDetail) {
writer.writeText(detail);
writeEmptyText = false;
}
if (writeEmptyText) {
writer.writeText("");
}
writer.endElement(HtmlConstants.LABEL);
writer.startElement(HtmlConstants.BR, null);
writer.endElement(HtmlConstants.BR);
}
writer.endElement(HtmlConstants.SPAN);
}
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/SelectManyCheckboxExtensionTag.java | Tobago Taglib Extension | 184 |
| org/apache/myfaces/tobago/taglib/extension12/SelectOneListboxExtensionTag.java | Tobago Taglib Extension | 167 |
focus = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
}
/**
* Flag indicating that a value is required.
* If the value is an empty string a
* ValidationError occurs and a Error Message is rendered.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setRequired(javax.el.ValueExpression required) {
this.required = required;
}
/**
* The current value of this component.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Object")
public void setValue(javax.el.ValueExpression value) {
this.value = value;
}
/**
* MethodBinding representing a value change listener method
* that will be notified when a new value has been set for this input component.
* The expression must evaluate to a public method that takes a ValueChangeEvent
* parameter, with a return type of void.
*
* @param valueChangeListener
*/
@TagAttribute
@UIComponentTagAttribute(
type = {},
expression = DynamicExpression.METHOD_BINDING_REQUIRED,
methodSignature = "javax.faces.event.ValueChangeEvent")
public void setValueChangeListener(javax.el.MethodExpression valueChangeListener) {
this.valueChangeListener = valueChangeListener;
}
/**
* Flag indicating that this element is disabled.
*/
@TagAttribute()
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "false")
public void setDisabled(javax.el.ValueExpression disabled) {
this.disabled = disabled;
}
/**
* Flag indicating that this component will prohibit changes by the user.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setReadonly(javax.el.ValueExpression readonly) {
this.readonly = readonly;
}
/**
* Clientside script function to add to this component's onchange handler.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setOnchange(javax.el.ValueExpression onchange) {
this.onchange = onchange;
}
/* public void setInline(String inline) {
this.inline = inline;
}*/
/**
* Text value to display as label.
* If text contains an underscore the next character is used as accesskey.
*/
@TagAttribute
@UIComponentTagAttribute()
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/SelectBooleanCheckboxExtensionTag.java | Tobago Taglib Extension | 249 |
| org/apache/myfaces/tobago/taglib/extension12/SelectOneListboxExtensionTag.java | Tobago Taglib Extension | 252 |
}
/**
* A method binding EL expression,
* accepting FacesContext, UIComponent,
* and Object parameters, and returning void, that validates
* the component's local value.
*/
@TagAttribute
@UIComponentTagAttribute(type = {},
expression = DynamicExpression.METHOD_BINDING,
methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
public void setValidator(javax.el.MethodExpression validator) {
this.validator = validator;
}
/**
* An expression that specifies the Converter for this component.
* If the value binding expression is a String,
* the String is used as an ID to look up a Converter.
* If the value binding expression is a Converter,
* uses that instance as the converter.
* The value can either be a static value (ID case only)
* or an EL expression.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.convert.Converter",
expression = DynamicExpression.VALUE_BINDING)
public void setConverter(javax.el.ValueExpression converter) {
this.converter = converter;
}
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "true")
public void setRendered(javax.el.ValueExpression rendered) {
this.rendered = rendered;
}
/**
* The value binding expression linking this
* component to a property in a backing bean.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
public void setBinding(javax.el.ValueExpression binding) {
this.binding = binding;
}
/**
* Text value to display as tooltip.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setTip(javax.el.ValueExpression tip) {
this.tip = tip;
}
/**
* The width for the label component. Default: 'fixed'.
* This value is used in the gridLayouts columns attribute.
* See gridLayout tag for valid values.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabelWidth(javax.el.ValueExpression labelWidth) {
this.labelWidth = labelWidth;
}
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension/MenuCheckboxExtensionTag.java | Tobago Taglib Extension | 123 |
| org/apache/myfaces/tobago/taglib/extension/MenuRadioExtensionTag.java | Tobago Taglib Extension | 131 |
selectOneRadio.doEndTag();
facetTag.doEndTag();
menuCommandTag.doEndTag();
return super.doEndTag();
}
public void setAction(String action) {
this.action = action;
}
public void setActionListener(String actionListener) {
this.actionListener = actionListener;
}
public void setOnclick(String onclick) {
this.onclick = onclick;
}
public void setLink(String navigate) {
this.link = navigate;
}
public void setBinding(String binding) throws JspException {
this.binding = binding;
}
public void setRendered(String rendered) {
this.rendered = rendered;
}
public void setDisabled(String disabled) {
this.disabled = disabled;
}
public void setValue(String value) {
this.value = value;
}
public void setLabel(String label) {
this.label = label;
}
public void setImmediate(String immediate) {
this.immediate = immediate;
}
public void setTransition(String transition) {
this.transition = transition;
}
public void setConverter(String converter) {
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/example/demo/model/solar/SolarObject.java | Example Demo | 224 |
| org/apache/myfaces/tobago/example/test/TestBean.java | Example Test | 402 |
{"Themisto", "XVIII", "Jupiter", "7507", "0", null, null, "Sheppard", "2000"},
{"Leda", "XIII", "Jupiter", "11094", "238.72", "27.00", "0.15", "Kowal", "1974"},
{"Himalia", "VI", "Jupiter", "11480", "250.57", "28.00", "0.16", "Perrine", "1904"},
{"Lysithea", "X", "Jupiter", "11720", "259.22", "29.00", "0.11", "Nicholson", "1938"},
{"Elara", "VII", "Jupiter", "11737", "259.65", "28.00", "0.21", "Perrine", "1905"},
{"Ananke", "XII", "Jupiter", "21200", "-631", "147.00", "0.17", "Nicholson", "1951"},
{"Carme", "XI", "Jupiter", "22600", "-692", "163.00", "0.21", "Nicholson", "1938"},
{"Pasiphae", "VIII", "Jupiter", "23500", "-735", "147.00", "0.38", "Melotte", "1908"},
{"Sinope", "IX", "Jupiter", "23700", "-758", "153.00", "0.28", "Nicholson", "1914"},
{"Iocaste", "XXIV", "Jupiter", "20216", "0", null, null, "Sheppard", "2000"},
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/SelectOneListboxExtensionTag.java | Tobago Taglib Extension | 282 |
| org/apache/myfaces/tobago/taglib/extension12/SelectOneRadioExtensionTag.java | Tobago Taglib Extension | 287 |
}
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "true")
public void setRendered(javax.el.ValueExpression rendered) {
this.rendered = rendered;
}
/**
* The value binding expression linking this
* component to a property in a backing bean.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
public void setBinding(javax.el.ValueExpression binding) {
this.binding = binding;
}
/**
* Text value to display as tooltip.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setTip(javax.el.ValueExpression tip) {
this.tip = tip;
}
/**
* The width for the label component. Default: 'fixed'.
* This value is used in the gridLayouts columns attribute.
* See gridLayout tag for valid values.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabelWidth(javax.el.ValueExpression labelWidth) {
this.labelWidth = labelWidth;
}
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
public void setTabIndex(javax.el.ValueExpression tabIndex) {
this.tabIndex = tabIndex;
}
/**
* Flag indicating this component should recieve the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setFocus(javax.el.ValueExpression focus) {
this.focus = focus;
}
/**
* Range of items to render.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setRenderRange(javax.el.ValueExpression renderRange) {
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/DateExtensionTag.java | Tobago Taglib Extension | 319 |
| org/apache/myfaces/tobago/taglib/extension12/TimeExtensionTag.java | Tobago Taglib Extension | 284 |
}
/**
* Flag indicating this component should rendered as an inline element.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setInline(javax.el.ValueExpression inline) {
this.inline = inline;
}
/**
* Flag indicating that this component will prohibit changes by the user.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setReadonly(javax.el.ValueExpression readonly) {
this.readonly = readonly;
}
/**
* Flag indicating that this element is disabled.
*/
@TagAttribute()
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "false")
public void setDisabled(javax.el.ValueExpression disabled) {
this.disabled = disabled;
}
/**
* Flag indicating that a value is required.
* If the value is an empty string a
* ValidationError occurs and a Error Message is rendered.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setRequired(javax.el.ValueExpression required) {
this.required = required;
}
/**
* Text value to display as tooltip.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setTip(javax.el.ValueExpression tip) {
this.tip = tip;
}
/**
* The width for the label component. Default: 'fixed'.
* This value is used in the gridLayouts columns attribute.
* See gridLayout tag for valid values.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabelWidth(javax.el.ValueExpression labelWidth) {
this.labelWidth = labelWidth;
}
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
| ||
| File | Project | Line |
|---|---|---|
| org/apache/myfaces/tobago/taglib/extension12/DateExtensionTag.java | Tobago Taglib Extension | 260 |
| org/apache/myfaces/tobago/taglib/extension12/TextAreaExtensionTag.java | Tobago Taglib Extension | 218 |
}
/**
* Flag indicating this component should recieve the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
public void setFocus(javax.el.ValueExpression focus) {
this.focus = focus;
}
/**
* The value binding expression linking this
* component to a property in a backing bean.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
public void setBinding(javax.el.ValueExpression binding) {
this.binding = binding;
}
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "true")
public void setRendered(javax.el.ValueExpression rendered) {
this.rendered = rendered;
}
/**
* An expression that specifies the Converter for this component.
* If the value binding expression is a String,
* the String is used as an ID to look up a Converter.
* If the value binding expression is a Converter,
* uses that instance as the converter.
* The value can either be a static value (ID case only)
* or an EL expression.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.convert.Converter",
expression = DynamicExpression.VALUE_BINDING)
public void setConverter(javax.el.ValueExpression conv | ||