/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.richfaces.taglib;
import java.lang.String ;
import javax.faces.convert.Converter ;
import java.lang.Object ;
import org.ajax4jsf.webapp.taglib.HtmlComponentTagBase ;
import javax.faces.el.MethodBinding ;
import javax.faces.component.UIComponent ;
import javax.el.ELException;
import javax.faces.FacesException;
import javax.faces.component.UIComponent;
import javax.el.MethodExpression;
import javax.faces.el.MethodBinding;
import javax.faces.el.ValueBinding;
import javax.el.ValueExpression;
import org.richfaces.webapp.taglib.MethodBindingMethodExpressionAdaptor;
import org.richfaces.webapp.taglib.ValueBindingValueExpressionAdaptor;
import org.richfaces.component.html.HtmlInplaceSelect;
public class InplaceSelectTag extends org.ajax4jsf.webapp.taglib.HtmlComponentTagBase {
// Fields
/*
* cancelControlIcon
* Defines custom cancel icon
*/
private ValueExpression _cancelControlIcon;
/**
* Defines custom cancel icon
* Setter for cancelControlIcon
* @param cancelControlIcon - new value
*/
public void setCancelControlIcon( ValueExpression __cancelControlIcon ){
this._cancelControlIcon = __cancelControlIcon;
}
/*
* changedClass
* CSS style class for changed state
*/
private ValueExpression _changedClass;
/**
* CSS style class for changed state
* Setter for changedClass
* @param changedClass - new value
*/
public void setChangedClass( ValueExpression __changedClass ){
this._changedClass = __changedClass;
}
/*
* controlClass
* CSS style class for controls
*/
private ValueExpression _controlClass;
/**
* CSS style class for controls
* Setter for controlClass
* @param controlClass - new value
*/
public void setControlClass( ValueExpression __controlClass ){
this._controlClass = __controlClass;
}
/*
* controlHoverClass
* CSS style class for hovered
control
*/
private ValueExpression _controlHoverClass;
/**
* CSS style class for hovered
control
* Setter for controlHoverClass
* @param controlHoverClass - new value
*/
public void setControlHoverClass( ValueExpression __controlHoverClass ){
this._controlHoverClass = __controlHoverClass;
}
/*
* controlPressClass
* CSS style class for controls
pressed
*/
private ValueExpression _controlPressClass;
/**
* CSS style class for controls
pressed
* Setter for controlPressClass
* @param controlPressClass - new value
*/
public void setControlPressClass( ValueExpression __controlPressClass ){
this._controlPressClass = __controlPressClass;
}
/*
* controlsHorizontalPosition
* The attribute positions the controls
horizontally. Possible values are
"right","center","left".
Default value is "right".
*/
private ValueExpression _controlsHorizontalPosition;
/**
* The attribute positions the controls
horizontally. Possible values are
"right","center","left".
Default value is "right".
* Setter for controlsHorizontalPosition
* @param controlsHorizontalPosition - new value
*/
public void setControlsHorizontalPosition( ValueExpression __controlsHorizontalPosition ){
this._controlsHorizontalPosition = __controlsHorizontalPosition;
}
/*
* controlsVerticalPosition
* The attribute positions the controls
vertically. Possible values are
"bottom","center" and "top". Default value is "center"
*/
private ValueExpression _controlsVerticalPosition;
/**
* The attribute positions the controls
vertically. Possible values are
"bottom","center" and "top". Default value is "center"
* Setter for controlsVerticalPosition
* @param controlsVerticalPosition - new value
*/
public void setControlsVerticalPosition( ValueExpression __controlsVerticalPosition ){
this._controlsVerticalPosition = __controlsVerticalPosition;
}
/*
* converter
* Id of Converter to be used or reference to a Converter
*/
private ValueExpression _converter;
/**
* Id of Converter to be used or reference to a Converter
* Setter for converter
* @param converter - new value
*/
public void setConverter( ValueExpression __converter ){
this._converter = __converter;
}
/*
* converterMessage
* A ValueExpression enabled attribute that, if present,
will be used as the text of the converter message,
replacing any message that comes from the converter
*/
private ValueExpression _converterMessage;
/**
* A ValueExpression enabled attribute that, if present,
will be used as the text of the converter message,
replacing any message that comes from the converter
* Setter for converterMessage
* @param converterMessage - new value
*/
public void setConverterMessage( ValueExpression __converterMessage ){
this._converterMessage = __converterMessage;
}
/*
* defaultLabel
* The attribute is used to display text while
value is undefined
*/
private ValueExpression _defaultLabel;
/**
* The attribute is used to display text while
value is undefined
* Setter for defaultLabel
* @param defaultLabel - new value
*/
public void setDefaultLabel( ValueExpression __defaultLabel ){
this._defaultLabel = __defaultLabel;
}
/*
* editClass
* CSS style class for edit state
*/
private ValueExpression _editClass;
/**
* CSS style class for edit state
* Setter for editClass
* @param editClass - new value
*/
public void setEditClass( ValueExpression __editClass ){
this._editClass = __editClass;
}
/*
* editEvent
* The attribute provides an option to assign an
JavaScript action that initiates the change of the
state. Default value is
"onclick".
*/
private ValueExpression _editEvent;
/**
* The attribute provides an option to assign an
JavaScript action that initiates the change of the
state. Default value is
"onclick".
* Setter for editEvent
* @param editEvent - new value
*/
public void setEditEvent( ValueExpression __editEvent ){
this._editEvent = __editEvent;
}
/*
* immediate
* A flag indicating that this component value must be converted
and validated immediately (that is, during Apply Request Values
phase), rather than waiting until a Process Validations phase
*/
private ValueExpression _immediate;
/**
* A flag indicating that this component value must be converted
and validated immediately (that is, during Apply Request Values
phase), rather than waiting until a Process Validations phase
* Setter for immediate
* @param immediate - new value
*/
public void setImmediate( ValueExpression __immediate ){
this._immediate = __immediate;
}
/*
* label
* A localized user presentable name for this component.
*/
private ValueExpression _label;
/**
* A localized user presentable name for this component.
* Setter for label
* @param label - new value
*/
public void setLabel( ValueExpression __label ){
this._label = __label;
}
/*
* layout
* Defines how the component is displayed in the
layout. Possible values are
"block",
"inline". Default value is
"inline".
*/
private ValueExpression _layout;
/**
* Defines how the component is displayed in the
layout. Possible values are
"block",
"inline". Default value is
"inline".
* Setter for layout
* @param layout - new value
*/
public void setLayout( ValueExpression __layout ){
this._layout = __layout;
}
/*
* listHeight
* The attribute defines the height of option
list. Default value is "200px".
*/
private ValueExpression _listHeight;
/**
* The attribute defines the height of option
list. Default value is "200px".
* Setter for listHeight
* @param listHeight - new value
*/
public void setListHeight( ValueExpression __listHeight ){
this._listHeight = __listHeight;
}
/*
* listWidth
* The attribute defines the width of option list.
Default value is "200px".
*/
private ValueExpression _listWidth;
/**
* The attribute defines the width of option list.
Default value is "200px".
* Setter for listWidth
* @param listWidth - new value
*/
public void setListWidth( ValueExpression __listWidth ){
this._listWidth = __listWidth;
}
/*
* maxSelectWidth
* Sets the maximum width of the select element.
Default value is "200px".
*/
private ValueExpression _maxSelectWidth;
/**
* Sets the maximum width of the select element.
Default value is "200px".
* Setter for maxSelectWidth
* @param maxSelectWidth - new value
*/
public void setMaxSelectWidth( ValueExpression __maxSelectWidth ){
this._maxSelectWidth = __maxSelectWidth;
}
/*
* minSelectWidth
* Sets the minimum width of the select element.
Default value is "100px".
*/
private ValueExpression _minSelectWidth;
/**
* Sets the minimum width of the select element.
Default value is "100px".
* Setter for minSelectWidth
* @param minSelectWidth - new value
*/
public void setMinSelectWidth( ValueExpression __minSelectWidth ){
this._minSelectWidth = __minSelectWidth;
}
/*
* onblur
* HTML: script expression; the element lost the
focus
*/
private ValueExpression _onblur;
/**
* HTML: script expression; the element lost the
focus
* Setter for onblur
* @param onblur - new value
*/
public void setOnblur( ValueExpression __onblur ){
this._onblur = __onblur;
}
/*
* onchange
* HTML: script expression; the element value was
changed
*/
private ValueExpression _onchange;
/**
* HTML: script expression; the element value was
changed
* Setter for onchange
* @param onchange - new value
*/
public void setOnchange( ValueExpression __onchange ){
this._onchange = __onchange;
}
/*
* oneditactivated
* HTML: script expression; edit state is
activated
*/
private ValueExpression _oneditactivated;
/**
* HTML: script expression; edit state is
activated
* Setter for oneditactivated
* @param oneditactivated - new value
*/
public void setOneditactivated( ValueExpression __oneditactivated ){
this._oneditactivated = __oneditactivated;
}
/*
* oneditactivation
* The attributes provide a possibility to assign
JavaScript on edit state activation
*/
private ValueExpression _oneditactivation;
/**
* The attributes provide a possibility to assign
JavaScript on edit state activation
* Setter for oneditactivation
* @param oneditactivation - new value
*/
public void setOneditactivation( ValueExpression __oneditactivation ){
this._oneditactivation = __oneditactivation;
}
/*
* onfocus
* HTML: script expression; the element got the
focus
*/
private ValueExpression _onfocus;
/**
* HTML: script expression; the element got the
focus
* Setter for onfocus
* @param onfocus - new value
*/
public void setOnfocus( ValueExpression __onfocus ){
this._onfocus = __onfocus;
}
/*
* oninputblur
* HTML: script expression; the element lost the
focus
*/
private ValueExpression _oninputblur;
/**
* HTML: script expression; the element lost the
focus
* Setter for oninputblur
* @param oninputblur - new value
*/
public void setOninputblur( ValueExpression __oninputblur ){
this._oninputblur = __oninputblur;
}
/*
* oninputclick
* HTML: a script expression; a pointer button is
clicked
*/
private ValueExpression _oninputclick;
/**
* HTML: a script expression; a pointer button is
clicked
* Setter for oninputclick
* @param oninputclick - new value
*/
public void setOninputclick( ValueExpression __oninputclick ){
this._oninputclick = __oninputclick;
}
/*
* oninputdblclick
* HTML: a script expression; a pointer button is
double-clicked
*/
private ValueExpression _oninputdblclick;
/**
* HTML: a script expression; a pointer button is
double-clicked
* Setter for oninputdblclick
* @param oninputdblclick - new value
*/
public void setOninputdblclick( ValueExpression __oninputdblclick ){
this._oninputdblclick = __oninputdblclick;
}
/*
* oninputfocus
* HTML: script expression; the element got the
focus
*/
private ValueExpression _oninputfocus;
/**
* HTML: script expression; the element got the
focus
* Setter for oninputfocus
* @param oninputfocus - new value
*/
public void setOninputfocus( ValueExpression __oninputfocus ){
this._oninputfocus = __oninputfocus;
}
/*
* oninputkeydown
* HTML: a script expression; a key is pressed
down
*/
private ValueExpression _oninputkeydown;
/**
* HTML: a script expression; a key is pressed
down
* Setter for oninputkeydown
* @param oninputkeydown - new value
*/
public void setOninputkeydown( ValueExpression __oninputkeydown ){
this._oninputkeydown = __oninputkeydown;
}
/*
* oninputkeypress
* HTML: a script expression; a key is pressed and
released
*/
private ValueExpression _oninputkeypress;
/**
* HTML: a script expression; a key is pressed and
released
* Setter for oninputkeypress
* @param oninputkeypress - new value
*/
public void setOninputkeypress( ValueExpression __oninputkeypress ){
this._oninputkeypress = __oninputkeypress;
}
/*
* oninputkeyup
* HTML: a script expression; a key is
released
*/
private ValueExpression _oninputkeyup;
/**
* HTML: a script expression; a key is
released
* Setter for oninputkeyup
* @param oninputkeyup - new value
*/
public void setOninputkeyup( ValueExpression __oninputkeyup ){
this._oninputkeyup = __oninputkeyup;
}
/*
* oninputmousedown
* HTML: script expression; a pointer button is
pressed down
*/
private ValueExpression _oninputmousedown;
/**
* HTML: script expression; a pointer button is
pressed down
* Setter for oninputmousedown
* @param oninputmousedown - new value
*/
public void setOninputmousedown( ValueExpression __oninputmousedown ){
this._oninputmousedown = __oninputmousedown;
}
/*
* oninputmousemove
* HTML: a script expression; a pointer is moved
within
*/
private ValueExpression _oninputmousemove;
/**
* HTML: a script expression; a pointer is moved
within
* Setter for oninputmousemove
* @param oninputmousemove - new value
*/
public void setOninputmousemove( ValueExpression __oninputmousemove ){
this._oninputmousemove = __oninputmousemove;
}
/*
* oninputmouseout
* HTML: a script expression; a pointer is moved
away
*/
private ValueExpression _oninputmouseout;
/**
* HTML: a script expression; a pointer is moved
away
* Setter for oninputmouseout
* @param oninputmouseout - new value
*/
public void setOninputmouseout( ValueExpression __oninputmouseout ){
this._oninputmouseout = __oninputmouseout;
}
/*
* oninputmouseover
* HTML: a script expression; a pointer is moved
onto
*/
private ValueExpression _oninputmouseover;
/**
* HTML: a script expression; a pointer is moved
onto
* Setter for oninputmouseover
* @param oninputmouseover - new value
*/
public void setOninputmouseover( ValueExpression __oninputmouseover ){
this._oninputmouseover = __oninputmouseover;
}
/*
* oninputmouseup
* HTML: script expression; a pointer button is
released
*/
private ValueExpression _oninputmouseup;
/**
* HTML: script expression; a pointer button is
released
* Setter for oninputmouseup
* @param oninputmouseup - new value
*/
public void setOninputmouseup( ValueExpression __oninputmouseup ){
this._oninputmouseup = __oninputmouseup;
}
/*
* onselect
* HTML: script expression; the onselect event
occurs when you select some menu
item
*/
private ValueExpression _onselect;
/**
* HTML: script expression; the onselect event
occurs when you select some menu
item
* Setter for onselect
* @param onselect - new value
*/
public void setOnselect( ValueExpression __onselect ){
this._onselect = __onselect;
}
/*
* onviewactivated
* HTML: script expression; view state is
activated
*/
private ValueExpression _onviewactivated;
/**
* HTML: script expression; view state is
activated
* Setter for onviewactivated
* @param onviewactivated - new value
*/
public void setOnviewactivated( ValueExpression __onviewactivated ){
this._onviewactivated = __onviewactivated;
}
/*
* onviewactivation
* The attributes provide a possibility to assign
JavaScript on view state activation
*/
private ValueExpression _onviewactivation;
/**
* The attributes provide a possibility to assign
JavaScript on view state activation
* Setter for onviewactivation
* @param onviewactivation - new value
*/
public void setOnviewactivation( ValueExpression __onviewactivation ){
this._onviewactivation = __onviewactivation;
}
/*
* openOnEdit
* The attribute opens the list once edit
activated. Default value is
"true".
*/
private ValueExpression _openOnEdit;
/**
* The attribute opens the list once edit
activated. Default value is
"true".
* Setter for openOnEdit
* @param openOnEdit - new value
*/
public void setOpenOnEdit( ValueExpression __openOnEdit ){
this._openOnEdit = __openOnEdit;
}
/*
* required
* If "true", this component is checked for non-empty input
*/
private ValueExpression _required;
/**
* If "true", this component is checked for non-empty input
* Setter for required
* @param required - new value
*/
public void setRequired( ValueExpression __required ){
this._required = __required;
}
/*
* requiredMessage
* A ValueExpression enabled attribute that, if present,
will be used as the text of the validation message for
the "required" facility, if the "required" facility is
used
*/
private ValueExpression _requiredMessage;
/**
* A ValueExpression enabled attribute that, if present,
will be used as the text of the validation message for
the "required" facility, if the "required" facility is
used
* Setter for requiredMessage
* @param requiredMessage - new value
*/
public void setRequiredMessage( ValueExpression __requiredMessage ){
this._requiredMessage = __requiredMessage;
}
/*
* saveControlIcon
* Defines custom save icon
*/
private ValueExpression _saveControlIcon;
/**
* Defines custom save icon
* Setter for saveControlIcon
* @param saveControlIcon - new value
*/
public void setSaveControlIcon( ValueExpression __saveControlIcon ){
this._saveControlIcon = __saveControlIcon;
}
/*
* selectWidth
* Sets width of the select element
*/
private ValueExpression _selectWidth;
/**
* Sets width of the select element
* Setter for selectWidth
* @param selectWidth - new value
*/
public void setSelectWidth( ValueExpression __selectWidth ){
this._selectWidth = __selectWidth;
}
/*
* showControls
* The attribute serves to display
"save" and
"cancel" controls. Default value
is "false".
*/
private ValueExpression _showControls;
/**
* The attribute serves to display
"save" and
"cancel" controls. Default value
is "false".
* Setter for showControls
* @param showControls - new value
*/
public void setShowControls( ValueExpression __showControls ){
this._showControls = __showControls;
}
/*
* showValueInView
* If "true", shows the SelectItem labels in the InplaceSelect pull-down list, but displays the value in the field in view mode once an item is selected.
Default value is "false"
*/
private ValueExpression _showValueInView;
/**
* If "true", shows the SelectItem labels in the InplaceSelect pull-down list, but displays the value in the field in view mode once an item is selected.
Default value is "false"
* Setter for showValueInView
* @param showValueInView - new value
*/
public void setShowValueInView( ValueExpression __showValueInView ){
this._showValueInView = __showValueInView;
}
/*
* tabindex
* The attribute serves to define the tabbing
order
*/
private ValueExpression _tabindex;
/**
* The attribute serves to define the tabbing
order
* Setter for tabindex
* @param tabindex - new value
*/
public void setTabindex( ValueExpression __tabindex ){
this._tabindex = __tabindex;
}
/*
* validator
* MethodBinding pointing at a method that is called during
Process Validations phase of the request processing lifecycle,
to validate the current value of this component
*/
private MethodExpression _validator;
/**
* MethodBinding pointing at a method that is called during
Process Validations phase of the request processing lifecycle,
to validate the current value of this component
* Setter for validator
* @param validator - new value
*/
public void setValidator( MethodExpression __validator ){
this._validator = __validator;
}
/*
* validatorMessage
* A ValueExpression enabled attribute that, if present,
will be used as the text of the validator message,
replacing any message that comes from the validator
*/
private ValueExpression _validatorMessage;
/**
* A ValueExpression enabled attribute that, if present,
will be used as the text of the validator message,
replacing any message that comes from the validator
* Setter for validatorMessage
* @param validatorMessage - new value
*/
public void setValidatorMessage( ValueExpression __validatorMessage ){
this._validatorMessage = __validatorMessage;
}
/*
* value
* The current value of this component
*/
private ValueExpression _value;
/**
* The current value of this component
* Setter for value
* @param value - new value
*/
public void setValue( ValueExpression __value ){
this._value = __value;
}
/*
* valueChangeListener
* Listener for value changes
*/
private MethodExpression _valueChangeListener;
/**
* Listener for value changes
* Setter for valueChangeListener
* @param valueChangeListener - new value
*/
public void setValueChangeListener( MethodExpression __valueChangeListener ){
this._valueChangeListener = __valueChangeListener;
}
/*
* viewClass
* Style class for view state
*/
private ValueExpression _viewClass;
/**
* Style class for view state
* Setter for viewClass
* @param viewClass - new value
*/
public void setViewClass( ValueExpression __viewClass ){
this._viewClass = __viewClass;
}
/*
* viewHoverClass
* CSS style class for hovered text in view
state
*/
private ValueExpression _viewHoverClass;
/**
* CSS style class for hovered text in view
state
* Setter for viewHoverClass
* @param viewHoverClass - new value
*/
public void setViewHoverClass( ValueExpression __viewHoverClass ){
this._viewHoverClass = __viewHoverClass;
}
public void release()
{
// TODO Auto-generated method stub
super.release();
this._cancelControlIcon = null;
this._changedClass = null;
this._controlClass = null;
this._controlHoverClass = null;
this._controlPressClass = null;
this._controlsHorizontalPosition = null;
this._controlsVerticalPosition = null;
this._converter = null;
this._converterMessage = null;
this._defaultLabel = null;
this._editClass = null;
this._editEvent = null;
this._immediate = null;
this._label = null;
this._layout = null;
this._listHeight = null;
this._listWidth = null;
this._maxSelectWidth = null;
this._minSelectWidth = null;
this._onblur = null;
this._onchange = null;
this._oneditactivated = null;
this._oneditactivation = null;
this._onfocus = null;
this._oninputblur = null;
this._oninputclick = null;
this._oninputdblclick = null;
this._oninputfocus = null;
this._oninputkeydown = null;
this._oninputkeypress = null;
this._oninputkeyup = null;
this._oninputmousedown = null;
this._oninputmousemove = null;
this._oninputmouseout = null;
this._oninputmouseover = null;
this._oninputmouseup = null;
this._onselect = null;
this._onviewactivated = null;
this._onviewactivation = null;
this._openOnEdit = null;
this._required = null;
this._requiredMessage = null;
this._saveControlIcon = null;
this._selectWidth = null;
this._showControls = null;
this._showValueInView = null;
this._tabindex = null;
this._validator = null;
this._validatorMessage = null;
this._value = null;
this._valueChangeListener = null;
this._viewClass = null;
this._viewHoverClass = null;
}
/* (non-Javadoc)
* @see org.ajax4jsf.components.taglib.html.HtmlCommandButtonTagBase#setProperties(javax.faces.component.UIComponent)
*/
protected void setProperties(UIComponent component)
{
// TODO Auto-generated method stub
super.setProperties(component);
HtmlInplaceSelect comp = (HtmlInplaceSelect) component;
if (this._cancelControlIcon != null) {
if (this._cancelControlIcon.isLiteralText()) {
try {
java.lang.String __cancelControlIcon = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._cancelControlIcon.getExpressionString(),
java.lang.String.class);
comp.setCancelControlIcon(__cancelControlIcon);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("cancelControlIcon", this._cancelControlIcon);
}
}
if (this._changedClass != null) {
if (this._changedClass.isLiteralText()) {
try {
java.lang.String __changedClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._changedClass.getExpressionString(),
java.lang.String.class);
comp.setChangedClass(__changedClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("changedClass", this._changedClass);
}
}
if (this._controlClass != null) {
if (this._controlClass.isLiteralText()) {
try {
java.lang.String __controlClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._controlClass.getExpressionString(),
java.lang.String.class);
comp.setControlClass(__controlClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("controlClass", this._controlClass);
}
}
if (this._controlHoverClass != null) {
if (this._controlHoverClass.isLiteralText()) {
try {
java.lang.String __controlHoverClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._controlHoverClass.getExpressionString(),
java.lang.String.class);
comp.setControlHoverClass(__controlHoverClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("controlHoverClass", this._controlHoverClass);
}
}
if (this._controlPressClass != null) {
if (this._controlPressClass.isLiteralText()) {
try {
java.lang.String __controlPressClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._controlPressClass.getExpressionString(),
java.lang.String.class);
comp.setControlPressClass(__controlPressClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("controlPressClass", this._controlPressClass);
}
}
if (this._controlsHorizontalPosition != null) {
if (this._controlsHorizontalPosition.isLiteralText()) {
try {
java.lang.String __controlsHorizontalPosition = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._controlsHorizontalPosition.getExpressionString(),
java.lang.String.class);
comp.setControlsHorizontalPosition(__controlsHorizontalPosition);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("controlsHorizontalPosition", this._controlsHorizontalPosition);
}
}
if (this._controlsVerticalPosition != null) {
if (this._controlsVerticalPosition.isLiteralText()) {
try {
java.lang.String __controlsVerticalPosition = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._controlsVerticalPosition.getExpressionString(),
java.lang.String.class);
comp.setControlsVerticalPosition(__controlsVerticalPosition);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("controlsVerticalPosition", this._controlsVerticalPosition);
}
}
setConverterProperty(comp, this._converter);
if (this._converterMessage != null) {
if (this._converterMessage.isLiteralText()) {
try {
java.lang.String __converterMessage = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._converterMessage.getExpressionString(),
java.lang.String.class);
comp.setConverterMessage(__converterMessage);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("converterMessage", this._converterMessage);
}
}
if (this._defaultLabel != null) {
if (this._defaultLabel.isLiteralText()) {
try {
java.lang.String __defaultLabel = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._defaultLabel.getExpressionString(),
java.lang.String.class);
comp.setDefaultLabel(__defaultLabel);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("defaultLabel", this._defaultLabel);
}
}
if (this._editClass != null) {
if (this._editClass.isLiteralText()) {
try {
java.lang.String __editClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._editClass.getExpressionString(),
java.lang.String.class);
comp.setEditClass(__editClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("editClass", this._editClass);
}
}
if (this._editEvent != null) {
if (this._editEvent.isLiteralText()) {
try {
java.lang.String __editEvent = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._editEvent.getExpressionString(),
java.lang.String.class);
comp.setEditEvent(__editEvent);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("editEvent", this._editEvent);
}
}
if (this._immediate != null) {
if (this._immediate.isLiteralText()) {
try {
Boolean __immediate = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._immediate.getExpressionString(),
Boolean.class);
comp.setImmediate(__immediate.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("immediate", this._immediate);
}
}
if (this._label != null) {
if (this._label.isLiteralText()) {
try {
java.lang.String __label = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._label.getExpressionString(),
java.lang.String.class);
comp.setLabel(__label);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("label", this._label);
}
}
if (this._layout != null) {
if (this._layout.isLiteralText()) {
try {
java.lang.String __layout = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._layout.getExpressionString(),
java.lang.String.class);
comp.setLayout(__layout);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("layout", this._layout);
}
}
if (this._listHeight != null) {
if (this._listHeight.isLiteralText()) {
try {
java.lang.String __listHeight = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._listHeight.getExpressionString(),
java.lang.String.class);
comp.setListHeight(__listHeight);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("listHeight", this._listHeight);
}
}
if (this._listWidth != null) {
if (this._listWidth.isLiteralText()) {
try {
java.lang.String __listWidth = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._listWidth.getExpressionString(),
java.lang.String.class);
comp.setListWidth(__listWidth);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("listWidth", this._listWidth);
}
}
if (this._maxSelectWidth != null) {
if (this._maxSelectWidth.isLiteralText()) {
try {
java.lang.String __maxSelectWidth = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._maxSelectWidth.getExpressionString(),
java.lang.String.class);
comp.setMaxSelectWidth(__maxSelectWidth);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("maxSelectWidth", this._maxSelectWidth);
}
}
if (this._minSelectWidth != null) {
if (this._minSelectWidth.isLiteralText()) {
try {
java.lang.String __minSelectWidth = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._minSelectWidth.getExpressionString(),
java.lang.String.class);
comp.setMinSelectWidth(__minSelectWidth);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("minSelectWidth", this._minSelectWidth);
}
}
if (this._onblur != null) {
if (this._onblur.isLiteralText()) {
try {
java.lang.String __onblur = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onblur.getExpressionString(),
java.lang.String.class);
comp.setOnblur(__onblur);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onblur", this._onblur);
}
}
if (this._onchange != null) {
if (this._onchange.isLiteralText()) {
try {
java.lang.String __onchange = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onchange.getExpressionString(),
java.lang.String.class);
comp.setOnchange(__onchange);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onchange", this._onchange);
}
}
if (this._oneditactivated != null) {
if (this._oneditactivated.isLiteralText()) {
try {
java.lang.String __oneditactivated = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oneditactivated.getExpressionString(),
java.lang.String.class);
comp.setOneditactivated(__oneditactivated);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oneditactivated", this._oneditactivated);
}
}
if (this._oneditactivation != null) {
if (this._oneditactivation.isLiteralText()) {
try {
java.lang.String __oneditactivation = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oneditactivation.getExpressionString(),
java.lang.String.class);
comp.setOneditactivation(__oneditactivation);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oneditactivation", this._oneditactivation);
}
}
if (this._onfocus != null) {
if (this._onfocus.isLiteralText()) {
try {
java.lang.String __onfocus = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onfocus.getExpressionString(),
java.lang.String.class);
comp.setOnfocus(__onfocus);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onfocus", this._onfocus);
}
}
if (this._oninputblur != null) {
if (this._oninputblur.isLiteralText()) {
try {
java.lang.String __oninputblur = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oninputblur.getExpressionString(),
java.lang.String.class);
comp.setOninputblur(__oninputblur);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oninputblur", this._oninputblur);
}
}
if (this._oninputclick != null) {
if (this._oninputclick.isLiteralText()) {
try {
java.lang.String __oninputclick = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oninputclick.getExpressionString(),
java.lang.String.class);
comp.setOninputclick(__oninputclick);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oninputclick", this._oninputclick);
}
}
if (this._oninputdblclick != null) {
if (this._oninputdblclick.isLiteralText()) {
try {
java.lang.String __oninputdblclick = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oninputdblclick.getExpressionString(),
java.lang.String.class);
comp.setOninputdblclick(__oninputdblclick);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oninputdblclick", this._oninputdblclick);
}
}
if (this._oninputfocus != null) {
if (this._oninputfocus.isLiteralText()) {
try {
java.lang.String __oninputfocus = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oninputfocus.getExpressionString(),
java.lang.String.class);
comp.setOninputfocus(__oninputfocus);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oninputfocus", this._oninputfocus);
}
}
if (this._oninputkeydown != null) {
if (this._oninputkeydown.isLiteralText()) {
try {
java.lang.String __oninputkeydown = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oninputkeydown.getExpressionString(),
java.lang.String.class);
comp.setOninputkeydown(__oninputkeydown);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oninputkeydown", this._oninputkeydown);
}
}
if (this._oninputkeypress != null) {
if (this._oninputkeypress.isLiteralText()) {
try {
java.lang.String __oninputkeypress = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oninputkeypress.getExpressionString(),
java.lang.String.class);
comp.setOninputkeypress(__oninputkeypress);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oninputkeypress", this._oninputkeypress);
}
}
if (this._oninputkeyup != null) {
if (this._oninputkeyup.isLiteralText()) {
try {
java.lang.String __oninputkeyup = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oninputkeyup.getExpressionString(),
java.lang.String.class);
comp.setOninputkeyup(__oninputkeyup);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oninputkeyup", this._oninputkeyup);
}
}
if (this._oninputmousedown != null) {
if (this._oninputmousedown.isLiteralText()) {
try {
java.lang.String __oninputmousedown = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oninputmousedown.getExpressionString(),
java.lang.String.class);
comp.setOninputmousedown(__oninputmousedown);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oninputmousedown", this._oninputmousedown);
}
}
if (this._oninputmousemove != null) {
if (this._oninputmousemove.isLiteralText()) {
try {
java.lang.String __oninputmousemove = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oninputmousemove.getExpressionString(),
java.lang.String.class);
comp.setOninputmousemove(__oninputmousemove);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oninputmousemove", this._oninputmousemove);
}
}
if (this._oninputmouseout != null) {
if (this._oninputmouseout.isLiteralText()) {
try {
java.lang.String __oninputmouseout = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oninputmouseout.getExpressionString(),
java.lang.String.class);
comp.setOninputmouseout(__oninputmouseout);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oninputmouseout", this._oninputmouseout);
}
}
if (this._oninputmouseover != null) {
if (this._oninputmouseover.isLiteralText()) {
try {
java.lang.String __oninputmouseover = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oninputmouseover.getExpressionString(),
java.lang.String.class);
comp.setOninputmouseover(__oninputmouseover);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oninputmouseover", this._oninputmouseover);
}
}
if (this._oninputmouseup != null) {
if (this._oninputmouseup.isLiteralText()) {
try {
java.lang.String __oninputmouseup = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._oninputmouseup.getExpressionString(),
java.lang.String.class);
comp.setOninputmouseup(__oninputmouseup);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("oninputmouseup", this._oninputmouseup);
}
}
if (this._onselect != null) {
if (this._onselect.isLiteralText()) {
try {
java.lang.String __onselect = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onselect.getExpressionString(),
java.lang.String.class);
comp.setOnselect(__onselect);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onselect", this._onselect);
}
}
if (this._onviewactivated != null) {
if (this._onviewactivated.isLiteralText()) {
try {
java.lang.String __onviewactivated = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onviewactivated.getExpressionString(),
java.lang.String.class);
comp.setOnviewactivated(__onviewactivated);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onviewactivated", this._onviewactivated);
}
}
if (this._onviewactivation != null) {
if (this._onviewactivation.isLiteralText()) {
try {
java.lang.String __onviewactivation = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._onviewactivation.getExpressionString(),
java.lang.String.class);
comp.setOnviewactivation(__onviewactivation);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("onviewactivation", this._onviewactivation);
}
}
if (this._openOnEdit != null) {
if (this._openOnEdit.isLiteralText()) {
try {
Boolean __openOnEdit = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._openOnEdit.getExpressionString(),
Boolean.class);
comp.setOpenOnEdit(__openOnEdit.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("openOnEdit", this._openOnEdit);
}
}
if (this._required != null) {
if (this._required.isLiteralText()) {
try {
Boolean __required = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._required.getExpressionString(),
Boolean.class);
comp.setRequired(__required.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("required", this._required);
}
}
if (this._requiredMessage != null) {
if (this._requiredMessage.isLiteralText()) {
try {
java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._requiredMessage.getExpressionString(),
java.lang.String.class);
comp.setRequiredMessage(__requiredMessage);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("requiredMessage", this._requiredMessage);
}
}
if (this._saveControlIcon != null) {
if (this._saveControlIcon.isLiteralText()) {
try {
java.lang.String __saveControlIcon = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._saveControlIcon.getExpressionString(),
java.lang.String.class);
comp.setSaveControlIcon(__saveControlIcon);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("saveControlIcon", this._saveControlIcon);
}
}
if (this._selectWidth != null) {
if (this._selectWidth.isLiteralText()) {
try {
java.lang.String __selectWidth = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._selectWidth.getExpressionString(),
java.lang.String.class);
comp.setSelectWidth(__selectWidth);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("selectWidth", this._selectWidth);
}
}
if (this._showControls != null) {
if (this._showControls.isLiteralText()) {
try {
Boolean __showControls = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._showControls.getExpressionString(),
Boolean.class);
comp.setShowControls(__showControls.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("showControls", this._showControls);
}
}
if (this._showValueInView != null) {
if (this._showValueInView.isLiteralText()) {
try {
Boolean __showValueInView = (Boolean) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._showValueInView.getExpressionString(),
Boolean.class);
comp.setShowValueInView(__showValueInView.booleanValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("showValueInView", this._showValueInView);
}
}
if (this._tabindex != null) {
if (this._tabindex.isLiteralText()) {
try {
Integer __tabindex = (Integer) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._tabindex.getExpressionString(),
Integer.class);
comp.setTabindex(__tabindex.intValue());
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("tabindex", this._tabindex);
}
}
setValidatorProperty(comp, this._validator);
if (this._validatorMessage != null) {
if (this._validatorMessage.isLiteralText()) {
try {
java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._validatorMessage.getExpressionString(),
java.lang.String.class);
comp.setValidatorMessage(__validatorMessage);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("validatorMessage", this._validatorMessage);
}
}
if (this._value != null) {
if (this._value.isLiteralText()) {
try {
java.lang.Object __value = (java.lang.Object) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._value.getExpressionString(),
java.lang.Object.class);
comp.setValue(__value);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("value", this._value);
}
}
setValueChangeListenerProperty(comp, this._valueChangeListener);
if (this._viewClass != null) {
if (this._viewClass.isLiteralText()) {
try {
java.lang.String __viewClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._viewClass.getExpressionString(),
java.lang.String.class);
comp.setViewClass(__viewClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("viewClass", this._viewClass);
}
}
if (this._viewHoverClass != null) {
if (this._viewHoverClass.isLiteralText()) {
try {
java.lang.String __viewHoverClass = (java.lang.String) getFacesContext().
getApplication().
getExpressionFactory().
coerceToType(this._viewHoverClass.getExpressionString(),
java.lang.String.class);
comp.setViewHoverClass(__viewHoverClass);
} catch (ELException e) {
throw new FacesException(e);
}
} else {
component.setValueExpression("viewHoverClass", this._viewHoverClass);
}
}
}
/* (non-Javadoc)
* @see javax.faces.webapp.UIComponentTag#getComponentType()
*/
public String getComponentType() {
// TODO Auto-generated method stub
return "org.richfaces.InplaceSelect";
}
/* (non-Javadoc)
* @see javax.faces.webapp.UIComponentTag#getRendererType()
*/
public String getRendererType() {
return "org.richfaces.renderkit.InplaceSelectRenderer";
}
}