Overview | Library | Tag | Help
| FRAMES NO FRAMES

## RichFaces ( Legacy URL )
Tag inplaceSelect

The <rich:inplaceSelect> is used for creation select based inputs: it shows the value as text in one state and enables editing the value, providing a list of options in another state.

Tag Information
Tag Class | org.richfaces.taglib.InplaceSelectTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
binding | false | false | `javax.el.ValueExpression` (must evaluate to `javax.faces.component.UIComponent`) | The attribute takes a value-binding expression for a component property of a backing bean
cancelControlIcon | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines custom cancel icon
changedClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style class for changed state
controlClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style class for controls
controlHoverClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style class for hovered control
controlPressClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style class for controls pressed
controlsHorizontalPosition | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The attribute positions the controls horizontally. Possible values are "right","center","left". Default value is "right".
controlsVerticalPosition | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The attribute positions the controls vertically. Possible values are "bottom","top"
converter | false | false | `javax.el.ValueExpression` (must evaluate to `javax.faces.convert.Converter`) | Id of Converter to be used or reference to a Converter
converterMessage | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | 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
defaultLabel | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The attribute is used to display text while value is undefined
editClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style class for edit state
editEvent | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The attribute provides an option to assign an JavaScript action that initiates the change of the state. Default value is "onclick".
id | false | false | `java.lang.String` | Every component may have a unique id that is automatically created if omitted
immediate | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | 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
layout | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines how the component is displayed in the layout. Possible values are "block", "inline". Default value is "inline".
listHeight | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The attribute defines the height of option list. Default value is "200px".
listWidth | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The attribute defines the width of option list. Default value is "200px".
maxSelectWidth | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Sets the maximum width of the select element. Default value is "200px".
minSelectWidth | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Sets the minimum width of the select element. Default value is "100px".
onblur | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; the element lost the focus
onchange | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; the element value was changed
onclick | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is clicked
ondblclick | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is double-clicked
oneditactivated | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The attributes provide a possibility to assign JavaScript to be executed when edit state is activated
oneditactivation | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The attributes provide a possibility to assign JavaScript on edit state activation
onfocus | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; the element got the focus
oninputblur | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; the element lost the focus
oninputclick | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is clicked
oninputdblclick | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is double-clicked
oninputfocus | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; the element got the focus
oninputkeydown | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a key is pressed down
oninputkeypress | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a key is pressed and released
oninputkeyup | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a key is released
oninputmousedown | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; a pointer button is pressed down
oninputmousemove | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer is moved within
oninputmouseout | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer is moved away
oninputmouseover | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer is moved onto
oninputmouseup | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; a pointer button is released
onkeydown | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a key is pressed down
onkeypress | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a key is pressed and released
onkeyup | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a key is released
onmousedown | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; a pointer button is pressed down
onmousemove | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer is moved within
onmouseout | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer is moved away
onmouseover | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer is moved onto
onmouseup | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; a pointer button is released
onselect | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; the onselect event occurs when you select some menu item
onviewactivated | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The attributes provide a possibility to assign JavaScript to be executed when view state is activated
onviewactivation | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The attributes provide a possibility to assign JavaScript on view state activation
openOnEdit | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | The attribute opens the list once edit activated. Default value is "true".
rendered | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "false", this component is not rendered
required | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "true", this component is checked for non-empty input
requiredMessage | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | 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
saveControlIcon | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines custom save icon
selectWidth | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Sets width of the select element
showControls | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | The attribute serves to display "save" and "cancel" controls. Default value is "false".
showValueInView | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If true show the SelectItem labels in the InplaceSelect's pull-down list but display the value in the field in view mode once an item is selected
styleClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Corresponds to the HTML class attribute
tabindex | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | The attribute serves to define the tabbing order
validator | false | false | `javax.el.MethodExpression` (signature must match `void validator(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)`) | 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
validatorMessage | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | 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
value | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | The current value of this component
valueChangeListener | false | false | `javax.el.MethodExpression` (signature must match `void valueChangeListener(javax.faces.event.ValueChangeEvent)`) | Listener for value changes
viewClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Style class for view state
viewHoverClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style class for hovered text in view state

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.