File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.java | 274 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyShuttleExtensionTag.java | 287 |
}
/**
* 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_EXPRESSION,
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_EXPRESSION)
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 = "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: 'auto'.
* 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 receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
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) {
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;
}
/**
* The component identifier for the input field component inside of the container.
* This value must be unique within the closest parent component that is a naming container.
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
public void setFieldId(String fieldId) {
this.fieldId = fieldId;
}
/**
* The component identifier for this component.
* This value must be unique within the closest parent component that is a naming container.
* For tx components the id will be set to the container (e. g. the panel).
* To set the id of the input field, you have to use the attribute "fieldId".
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
public void setId(String id) {
super.setId(id);
}
} |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java | 178 |
org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java | 188 |
converter = null;
renderedPartially = null;
fieldId = null;
menuCommandTag = null;
facetTag = null;
inTag = null;
}
/**
* Action to invoke when clicked.
* This must be a MethodBinding or a String representing the application action to invoke when
* this component is activated by the user.
* The MethodBinding must evaluate to a public method that takes no parameters,
* and returns a String (the logical outcome) which is passed to the
* NavigationHandler for this application.
* The String is directly passed to the Navigationhandler.
*/
@TagAttribute
@UIComponentTagAttribute(type = {}, expression = DynamicExpression.METHOD_EXPRESSION,
methodReturnType = "java.lang.Object")
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_EXPRESSION_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 = "boolean", defaultValue = "true")
public void setRendered(javax.el.ValueExpression rendered) {
this.rendered = rendered;
}
/**
* Flag indicating that this element is disabled.
*/
@TagAttribute()
@UIComponentTagAttribute(type = "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 = "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 = "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 | Line |
---|
org/apache/myfaces/tobago/internal/util/HtmlWriterUtils.java | 55 |
org/apache/myfaces/tobago/internal/util/JavascriptWriterUtils.java | 53 |
public JsonWriterUtils(final Writer out, final String characterEncoding) {
super(out, characterEncoding);
}
@Override
protected void writeEncodedValue(final char[] text, final int start,
final int length, final boolean isAttribute) throws IOException {
int localIndex = -1;
final int end = start + length;
for (int i = start; i < end; i++) {
char ch = text[i];
if (ch >= CHARS_TO_ESCAPE.length || CHARS_TO_ESCAPE[ch] != null) {
localIndex = i;
break;
}
}
final Writer out = getOut();
if (localIndex == -1) {
// no need to escape
out.write(text, start, length);
} else {
// write until localIndex and then encode the remainder
out.write(text, start, localIndex);
final ResponseWriterBuffer buffer = getBuffer();
for (int i = localIndex; i < end; i++) {
final char ch = text[i];
// Tilde or less...
if (ch < CHARS_TO_ESCAPE.length) {
if (isAttribute && ch == '&' && (i + 1 < end) && text[i + 1] == '{') {
// HTML 4.0, section B.7.1: ampersands followed by
// an open brace don't get escaped
buffer.addToBuffer('&');
} else if (CHARS_TO_ESCAPE[ch] != null) {
buffer.addToBuffer(CHARS_TO_ESCAPE[ch]);
} else {
buffer.addToBuffer(ch);
}
} else if (isUtf8()) {
buffer.addToBuffer(ch);
} else if (ch <= 0xff) {
// ISO-8859-1 entities: encode as needed
buffer.flushBuffer();
out.write('&');
char[] chars = ISO8859_1_ENTITIES[ch - 0xA0];
out.write(chars, 0, chars.length);
out.write(';');
} else {
buffer.flushBuffer();
// Double-byte characters to encode.
// PENDING: when outputting to an encoding that
// supports double-byte characters (UTF-8, for example),
// we should not be encoding
writeDecRef(ch);
}
}
buffer.flushBuffer();
}
}
} |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java | 268 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.java | 262 |
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;
}
/**
* 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_EXPRESSION,
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_EXPRESSION)
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 = "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: 'auto'.
* 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 receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
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 | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/TextareaExtensionTag.java | 313 |
org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.java | 327 |
}
/**
* Flag indicating that this component will prohibit changes by the user.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
public void setReadonly(javax.el.ValueExpression readonly) {
this.readonly = readonly;
}
/**
* Flag indicating that this element is disabled.
*/
@TagAttribute()
@UIComponentTagAttribute(type = "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 = "boolean", defaultValue = "false")
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: 'auto'.
* 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;
}
/**
* The component identifier for the input field component inside of the container.
* This value must be unique within the closest parent component that is a naming container.
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
public void setFieldId(String fieldId) {
this.fieldId = fieldId;
}
/**
* The component identifier for this component.
* This value must be unique within the closest parent component that is a naming container.
* For tx components the id will be set to the container (e. g. the panel).
* To set the id of the input field, you have to use the attribute "fieldId".
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
public void setId(String id) {
super.setId(id);
}
} |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/TextareaExtensionTag.java | 199 |
org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.java | 212 |
}
/**
* 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_EXPRESSION_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 receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
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 = "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_EXPRESSION)
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_EXPRESSION,
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.
* @deprecated This should be handled by e.g. a flow layout manager (since 1.5.0)
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false") |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java | 280 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyShuttleExtensionTag.java | 287 |
}
/**
* 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_EXPRESSION,
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_EXPRESSION)
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 = "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: 'auto'.
* 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 receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
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 | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneChoiceExtensionTag.java | 187 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java | 194 |
markup = null;
fieldId = 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 = "boolean", defaultValue = "false")
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_EXPRESSION_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_EXPRESSION,
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 = "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 = "boolean", defaultValue = "false")
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_EXPRESSION)
public void setConverter(javax.el.ValueExpression converter) {
this.converter = converter;
}
/**
* Flag indicating this component should rendered as an inline element.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false") |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java | 265 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyShuttleExtensionTag.java | 287 |
}
/*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_EXPRESSION,
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_EXPRESSION)
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 = "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: 'auto'.
* 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 receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
public void setFocus(javax.el.ValueExpression focus) {
this.focus = focus;
}
/**
* Range of items to render.
*/
@TagAttribute
@UIComponentTagAttribute() |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java | 74 |
org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java | 80 |
private javax.el.ValueExpression renderedPartially;
private String fieldId;
@Override
public int doStartTag() throws JspException {
menuCommandTag = new MenuCommandTag();
menuCommandTag.setPageContext(pageContext);
menuCommandTag.setParent(getParent());
if (id != null) {
menuCommandTag.setId(id);
}
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.setJspId(nextJspId());
menuCommandTag.doStartTag();
facetTag = new FacetTag();
facetTag.setPageContext(pageContext);
facetTag.setParent(menuCommandTag);
facetTag.setName(Facets.RADIO); |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyShuttleExtensionTag.java | 193 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java | 186 |
markup = null;
fieldId = 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 = "boolean", defaultValue = "false")
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_EXPRESSION_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 = "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 = "boolean", defaultValue = "false")
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;
}
/**
* 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;
}
/**
* 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 | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java | 131 |
org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java | 140 |
if (value != null) {
inTag.setValue(value);
}
if (fieldId != null) {
inTag.setId(fieldId);
}
inTag.setJspId(nextJspId());
inTag.doStartTag();
return super.doStartTag();
}
@Override
public int doEndTag() throws JspException {
if (renderedPartially == null) {
// Move attribute renderedPartially from selectOne to menuCommand component
UIComponent inComponent = inTag.getComponentInstance();
AbstractUICommandBase command = (AbstractUICommandBase) menuCommandTag.getComponentInstance();
javax.el.ValueExpression expression = inComponent.getValueExpression(Attributes.RENDERED_PARTIALLY);
if (expression != null) {
command.setValueExpression(Attributes.RENDERED_PARTIALLY, expression);
} else {
Object renderedPartially = inComponent.getAttributes().get(Attributes.RENDERED_PARTIALLY);
command.setRenderedPartially(StringUtils.split((String) renderedPartially, ", "));
}
}
inTag.doEndTag();
facetTag.doEndTag();
menuCommandTag.doEndTag();
return super.doEndTag();
}
public void release() {
super.release();
rendered = null;
value = null;
action = null;
actionListener = null;
onclick = null;
link = null;
disabled = null;
binding = null;
label = null;
immediate = null;
transition = null; |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java | 270 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java | 252 |
}
/**
* 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;
}
/**
* 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_EXPRESSION,
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_EXPRESSION)
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 = "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: 'auto'.
* 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 | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java | 194 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.java | 184 |
focus = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
fieldId = 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 = "boolean", defaultValue = "false")
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_EXPRESSION_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 = "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 = "boolean", defaultValue = "false")
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.
* @deprecated This should be handled by e.g. a flow layout manager (since 1.5.0)
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false") |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneChoiceExtensionTag.java | 292 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java | 296 |
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 = "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: 'auto'.
* 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 receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
public void setFocus(javax.el.ValueExpression focus) {
this.focus = focus;
}
/**
* Range of items to render.
*/
@TagAttribute
@UIComponentTagAttribute() |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.java | 182 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyShuttleExtensionTag.java | 188 |
selectManyShuttleTag = null;
labelTag = null;
focus = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
fieldId = 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 = "boolean", defaultValue = "false")
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_EXPRESSION_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 = "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 = "boolean", defaultValue = "false")
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;
}
/**
* Text value to display as label.
* If text contains an underscore the next character is used as accesskey.
*/
@TagAttribute
@UIComponentTagAttribute() |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java | 194 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyShuttleExtensionTag.java | 190 |
focus = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
fieldId = 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 = "boolean", defaultValue = "false")
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_EXPRESSION_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 = "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 = "boolean", defaultValue = "false")
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;
}
/**
* Text value to display as label.
* If text contains an underscore the next character is used as accesskey.
*/
@TagAttribute
@UIComponentTagAttribute() |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java | 265 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java | 262 |
}
/**
* 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_EXPRESSION,
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_EXPRESSION)
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 = "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: 'auto'.
* 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 | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/FileExtensionTag.java | 298 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyShuttleExtensionTag.java | 367 |
}
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
public void setTabIndex(javax.el.ValueExpression tabIndex) {
this.tabIndex = tabIndex;
}
/**
* Flag indicating this component should receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
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) {
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;
}
/**
* The component identifier for the input field component inside of the container.
* This value must be unique within the closest parent component that is a naming container.
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
public void setFieldId(String fieldId) {
this.fieldId = fieldId;
}
/**
* The component identifier for this component.
* This value must be unique within the closest parent component that is a naming container.
* For tx components the id will be set to the container (e. g. the panel).
* To set the id of the input field, you have to use the attribute "fieldId".
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
public void setId(String id) {
super.setId(id);
}
} |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java | 198 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyShuttleExtensionTag.java | 212 |
@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_EXPRESSION_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 = "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 = "boolean", defaultValue = "false")
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;
}
/**
* 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;
}
/**
* Text value to display as unselected label.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setUnselectedLabel(javax.el.ValueExpression unselectedLabel) { |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java | 292 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java | 308 |
}
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "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: 'auto'.
* 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 receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
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 | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneChoiceExtensionTag.java | 304 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java | 292 |
}
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "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: 'auto'.
* 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 receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
public void setFocus(javax.el.ValueExpression focus) {
this.focus = focus;
}
/**
* An expression that specifies the validator message
*/
@TagAttribute
@UIComponentTagAttribute() |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java | 364 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java | 348 |
}
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
public void setTabIndex(javax.el.ValueExpression tabIndex) {
this.tabIndex = tabIndex;
}
/**
* Flag indicating this component should receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
public void setFocus(javax.el.ValueExpression focus) {
this.focus = focus;
}
/**
* Range of items to render.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setRenderRange(javax.el.ValueExpression renderRange) {
this.renderRange = renderRange;
}
/**
* 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;
}
/**
* Indicate markup of this component.
* Possible value is 'none'. But this can be overridden in the theme.
*/
@TagAttribute |
File | Line |
---|
org/apache/myfaces/tobago/internal/context/ResourceManagerImpl.java | 399 |
org/apache/myfaces/tobago/internal/context/ResourceManagerImpl.java | 447 |
if (reverseOrder) {
matches.add(0, result);
} else {
matches.add(result);
}
if (LOG.isTraceEnabled()) {
LOG.trace("testing path: {} *", path); // match
}
return true;
} else if (!returnStrings) {
try {
path = path.substring(1).replace('/', '.');
Class clazz = Class.forName(path);
if (LOG.isTraceEnabled()) {
LOG.trace("testing path: " + path + " *"); // match
}
matches.add(clazz);
return true;
} catch (ClassNotFoundException e) {
// not found
if (LOG.isTraceEnabled()) {
LOG.trace("testing path: " + path); // no match
}
}
} else {
if (LOG.isTraceEnabled()) {
LOG.trace("testing path: " + path); // no match
}
}
return false;
}
private String makePath( |
File | Line |
---|
org/apache/myfaces/tobago/internal/component/AbstractUISheetLayout.java | 65 |
org/apache/myfaces/tobago/internal/component/AbstractUITabGroupLayout.java | 41 |
for (LayoutComponent component : getLayoutContainer().getComponents()) {
if (component instanceof LayoutContainer && component.isRendered()) {
((LayoutContainer) component).getLayoutManager().init();
}
}
}
public void fixRelativeInsideAuto(Orientation orientation, boolean auto) {
if (orientation == Orientation.HORIZONTAL) {
horizontalAuto = auto;
} else {
verticalAuto = auto;
}
for (LayoutComponent component : getLayoutContainer().getComponents()) {
if (component instanceof LayoutContainer && component.isRendered()) {
((LayoutContainer) component).getLayoutManager().fixRelativeInsideAuto(orientation, auto);
}
}
}
public void preProcessing(Orientation orientation) {
// process auto tokens
IntervalList intervals = new IntervalList();
for (LayoutComponent component : getLayoutContainer().getComponents()) {
if (component instanceof LayoutContainer && component.isRendered()) { |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java | 347 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java | 372 |
}
/**
* 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;
}
/**
* 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;
}
/**
* The component identifier for the input field component inside of the container.
* This value must be unique within the closest parent component that is a naming container.
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
public void setFieldId(String fieldId) {
this.fieldId = fieldId;
}
/**
* The component identifier for this component.
* This value must be unique within the closest parent component that is a naming container.
* For tx components the id will be set to the container (e. g. the panel).
* To set the id of the input field, you have to use the attribute "fieldId".
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
public void setId(String id) {
super.setId(id);
}
} |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/DateExtensionTag.java | 360 |
org/apache/myfaces/tobago/internal/taglib/extension/InExtensionTag.java | 390 |
}
/**
* Flag indicating that this component will prohibit changes by the user.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
public void setReadonly(ValueExpression readonly) {
this.readonly = readonly;
}
/**
* Flag indicating that this element is disabled.
*/
@TagAttribute()
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
public void setDisabled(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 = "boolean", defaultValue = "false")
public void setRequired(ValueExpression required) {
this.required = required;
}
/**
* Text value to display as tooltip.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setTip(ValueExpression tip) {
this.tip = tip;
}
/**
* Displays a short text in the input field, that describes the meaning of this field.
* This is part of HTML 5, the theme should emulate the behaviour, when the browser doesn't support it.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setPlaceholder(ValueExpression placeholder) {
this.placeholder = placeholder;
}
/**
* The width for the label component. Default: 'auto'.
* This value is used in the gridLayouts columns attribute.
* See gridLayout tag for valid values.
*/
@TagAttribute
@UIComponentTagAttribute()
public void setLabelWidth(ValueExpression labelWidth) {
this.labelWidth = labelWidth;
}
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer") |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java | 198 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java | 216 |
@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.
*/
@TagAttribute
@UIComponentTagAttribute(
type = {},
expression = DynamicExpression.METHOD_EXPRESSION_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 = "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 = "boolean", defaultValue = "false")
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 = "boolean", defaultValue = "false") |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java | 67 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java | 64 |
@Override
public int doStartTag() throws JspException {
labelTag = new LabelExtensionTag();
labelTag.setPageContext(pageContext);
labelTag.setRows("*");
if (id != null) {
labelTag.setId(id);
}
if (label != null) {
labelTag.setValue(label);
}
if (tip != null) {
labelTag.setTip(tip);
}
if (rendered != null) {
labelTag.setRendered(rendered);
}
if (labelWidth != null) {
labelTag.setColumns(createStringValueExpression(labelWidth.getExpressionString() + ";*"));
}
if (markup != null) {
labelTag.setMarkup(markup);
}
labelTag.setParent(getParent());
labelTag.setJspId(nextJspId());
labelTag.doStartTag(); |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/InExtensionTag.java | 88 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java | 67 |
@Override
public int doStartTag() throws JspException {
labelTag = new LabelExtensionTag();
labelTag.setPageContext(pageContext);
if (id != null) {
labelTag.setId(id);
}
if (label != null) {
labelTag.setValue(label);
}
if (tip != null) {
labelTag.setTip(tip);
}
if (rendered != null) {
labelTag.setRendered(rendered);
}
if (labelWidth != null) {
labelTag.setColumns(createStringValueExpression(labelWidth.getExpressionString() + ";*"));
}
if (markup != null) {
labelTag.setMarkup(markup);
}
labelTag.setParent(getParent());
labelTag.setJspId(nextJspId());
labelTag.doStartTag(); |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/FileExtensionTag.java | 298 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java | 332 |
}
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
public void setTabIndex(javax.el.ValueExpression tabIndex) {
this.tabIndex = tabIndex;
}
/**
* Flag indicating this component should receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
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) {
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;
}
/**
* Indicate markup of this component.
* Possible value is 'none'. But this can be overridden in the theme.
*/
@TagAttribute |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java | 38 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.java | 38 |
public class SelectManyListboxExtensionTag extends TobagoExtensionBodyTagSupport {
private javax.el.ValueExpression required;
private javax.el.ValueExpression value;
private javax.el.MethodExpression valueChangeListener;
private javax.el.ValueExpression disabled;
private javax.el.ValueExpression readonly;
private javax.el.ValueExpression onchange;
private javax.el.ValueExpression inline;
private javax.el.ValueExpression label;
private javax.el.ValueExpression rendered;
private javax.el.ValueExpression binding;
private javax.el.ValueExpression tip;
private javax.el.ValueExpression converter;
private javax.el.MethodExpression validator;
private javax.el.ValueExpression labelWidth;
private javax.el.ValueExpression markup;
private javax.el.ValueExpression tabIndex;
private javax.el.ValueExpression focus;
private javax.el.ValueExpression validatorMessage; |
File | Line |
---|
org/apache/myfaces/tobago/compat/FacesUtilsEL.java | 59 |
org/apache/myfaces/tobago/util/ComponentUtils.java | 996 |
FacesContext context, UIComponent component, String clientId, javax.faces.component.ContextCallback callback) {
String thisClientId = component.getClientId(context);
if (clientId.equals(thisClientId)) {
callback.invokeContextCallback(context, component);
return true;
} else if (component instanceof NamingContainer) {
// This component is a naming container. If the client id shows it's inside this naming container,
// then process further.
// Otherwise we know the client id we're looking for is not in this naming container,
// so for improved performance short circuit and return false.
if (clientId.startsWith(thisClientId)
&& (clientId.charAt(thisClientId.length()) == UINamingContainer.getSeparatorChar(context))) {
if (invokeOnComponentFacetsAndChildren(context, component, clientId, callback)) {
return true;
}
}
} else {
if (invokeOnComponentFacetsAndChildren(context, component, clientId, callback)) {
return true;
}
}
return false;
}
private static boolean invokeOnComponentFacetsAndChildren(
FacesContext context, UIComponent component, String clientId, javax.faces.component.ContextCallback callback) { |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneChoiceExtensionTag.java | 369 |
org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.java | 382 |
}
/**
* 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;
}
/**
* The component identifier for the input field component inside of the container.
* This value must be unique within the closest parent component that is a naming container.
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
public void setFieldId(String fieldId) {
this.fieldId = fieldId;
}
/**
* The component identifier for this component.
* This value must be unique within the closest parent component that is a naming container.
* For tx components the id will be set to the container (e. g. the panel).
* To set the id of the input field, you have to use the attribute "fieldId".
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
public void setId(String id) {
super.setId(id);
}
} |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneChoiceExtensionTag.java | 39 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java | 40 |
public class SelectOneRadioExtensionTag extends TobagoExtensionBodyTagSupport {
private javax.el.ValueExpression required;
private javax.el.ValueExpression value;
private javax.el.MethodExpression valueChangeListener;
private javax.el.ValueExpression disabled;
private javax.el.ValueExpression readonly;
private javax.el.ValueExpression onchange;
private javax.el.ValueExpression inline;
private javax.el.ValueExpression label;
private javax.el.ValueExpression rendered;
private javax.el.ValueExpression binding;
private javax.el.ValueExpression tip;
private javax.el.MethodExpression validator;
private javax.el.ValueExpression converter;
private javax.el.ValueExpression labelWidth;
private javax.el.ValueExpression tabIndex;
private javax.el.ValueExpression focus;
private javax.el.ValueExpression renderRange; |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/FileExtensionTag.java | 313 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java | 371 |
}
/**
* 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;
}
/**
* The component identifier for the input field component inside of the container.
* This value must be unique within the closest parent component that is a naming container.
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
public void setFieldId(String fieldId) {
this.fieldId = fieldId;
}
/**
* The component identifier for this component.
* This value must be unique within the closest parent component that is a naming container.
* For tx components the id will be set to the container (e. g. the panel).
* To set the id of the input field, you have to use the attribute "fieldId".
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
public void setId(String id) {
super.setId(id);
}
} |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java | 182 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java | 190 |
renderRange = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
markup = null;
fieldId = 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 = "boolean", defaultValue = "false")
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_EXPRESSION_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 |
File | Line |
---|
org/apache/myfaces/tobago/internal/util/HtmlWriterUtils.java | 25 |
org/apache/myfaces/tobago/internal/util/JsonWriterUtils.java | 26 |
public final class JsonWriterUtils extends WriterUtils {
private static final char[][] CHARS_TO_ESCAPE;
static {
// init lookup table
CHARS_TO_ESCAPE = new char[0xA0][];
for (int i = 0; i < 0x20; i++) {
CHARS_TO_ESCAPE[i] = EMPTY; // Control characters
}
CHARS_TO_ESCAPE['\t'] = "	".toCharArray(); // Horizontal tabulator
CHARS_TO_ESCAPE['\n'] = " ".toCharArray(); // Line feed
CHARS_TO_ESCAPE['\r'] = " ".toCharArray(); // Carriage return
CHARS_TO_ESCAPE['"'] = """.toCharArray();
CHARS_TO_ESCAPE['&'] = "&".toCharArray();
CHARS_TO_ESCAPE['<'] = "<".toCharArray();
CHARS_TO_ESCAPE['>'] = ">".toCharArray();
CHARS_TO_ESCAPE['\\'] = "\\\\".toCharArray(); |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/InExtensionTag.java | 92 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.java | 70 |
labelTag.setRows("*");
if (id != null) {
labelTag.setId(id);
}
if (label != null) {
labelTag.setValue(label);
}
if (tip != null) {
labelTag.setTip(tip);
}
if (rendered != null) {
labelTag.setRendered(rendered);
}
if (labelWidth != null) {
labelTag.setColumns(createStringValueExpression(labelWidth.getExpressionString() + ";*"));
}
if (markup != null) {
labelTag.setMarkup(markup);
}
labelTag.setParent(getParent());
labelTag.setJspId(nextJspId());
labelTag.doStartTag(); |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java | 194 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneChoiceExtensionTag.java | 184 |
markup = null;
validatorMessage = null;
converterMessage = null;
requiredMessage = null;
fieldId = 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 = "boolean", defaultValue = "false")
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_EXPRESSION_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 |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java | 295 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java | 308 |
}
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "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: 'auto'.
* 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 | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/DateExtensionTag.java | 290 |
org/apache/myfaces/tobago/internal/taglib/extension/InExtensionTag.java | 275 |
}
/**
* Flag indicating this component should receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
public void setFocus(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(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 = "boolean", defaultValue = "true")
public void setRendered(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_EXPRESSION)
public void setConverter(ValueExpression converter) {
this.converter = converter;
}
/**
* Clientside script function to add to this component's onchange handler.
*/
@TagAttribute
@UIComponentTagAttribute() |
File | Line |
---|
org/apache/myfaces/tobago/internal/component/AbstractUIPage.java | 270 |
org/apache/myfaces/tobago/internal/component/AbstractUIPanel.java | 57 |
super.encodeEnd(facesContext);
}
public void onComponentPopulated(FacesContext facesContext, UIComponent parent) {
if (getLayoutManager() == null) {
setLayoutManager(CreateComponentUtils.createAndInitLayout(
facesContext, ComponentTypes.GRID_LAYOUT, RendererTypes.GRID_LAYOUT, parent));
}
}
public List<LayoutComponent> getComponents() {
return LayoutUtils.findLayoutChildren(this);
}
public LayoutManager getLayoutManager() {
return (LayoutManager) getFacet(Facets.LAYOUT);
}
public void setLayoutManager(LayoutManager layoutManager) {
getFacets().put(Facets.LAYOUT, (AbstractUILayoutBase) layoutManager);
}
public boolean isLayoutChildren() {
return isRendered();
} |
File | Line |
---|
org/apache/myfaces/tobago/event/ValueExpressionSheetStateChangeListener.java | 50 |
org/apache/myfaces/tobago/event/ValueExpressionTabChangeListener.java | 50 |
LOG.error("Ignoring TabChangeEvent. No TabChangeListener found.");
}
}
public Object saveState(FacesContext context) {
Object[] state = new Object[2];
state[0] = UIComponentBase.saveAttachedState(context, valueExpression);
state[1] = type;
return state;
}
public void restoreState(FacesContext context, Object state) {
Object[] values = (Object[]) state;
valueExpression = (ValueExpression) UIComponentBase.restoreAttachedState(context, values[0]);
type = (String) values[1];
}
public boolean isTransient() {
return false;
}
public void setTransient(boolean newTransientValue) {
// ignore
}
private TabChangeListener getTabChangeListener() { |
File | Line |
---|
org/apache/myfaces/tobago/facelets/FlowLayoutRule.java | 41 |
org/apache/myfaces/tobago/facelets/GridLayoutRule.java | 46 |
return new CellspacingMapper(attribute);
}
if (Attributes.MARGIN_LEFT.equals(name)) {
return new MarginLeftMapper(attribute);
}
if (Attributes.MARGIN_TOP.equals(name)) {
return new MarginTopMapper(attribute);
}
if (Attributes.MARGIN_RIGHT.equals(name)) {
return new MarginRightMapper(attribute);
}
if (Attributes.MARGIN_BOTTOM.equals(name)) {
return new MarginBottomMapper(attribute);
}
if (Attributes.MARGIN.equals(name)) {
return new MarginMapper(attribute);
}
}
}
return null;
}
static final class ColumnSpacingMapper extends Metadata { |
File | Line |
---|
org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java | 197 |
org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java | 194 |
markup = null;
fieldId = 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 = "boolean", defaultValue = "false")
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_EXPRESSION_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 |
File | Line |
---|
org/apache/myfaces/tobago/internal/webapp/DebugResponseWriterWrapper.java | 129 |
org/apache/myfaces/tobago/internal/webapp/TobagoResponseWriterWrapper.java | 107 |
responseWriter.endDocument();
}
public void writeURIAttribute(String name, Object value, String property) throws IOException {
responseWriter.writeURIAttribute(name, value, property);
}
public void writeText(char[] text, int off, int len) throws IOException {
responseWriter.writeText(text, off, len);
}
public void write(char[] chars, int i, int i1) throws IOException {
responseWriter.write(chars, i, i1);
}
public void close() throws IOException {
responseWriter.close();
} |