RichFaces
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 Classorg.richfaces.taglib.InplaceSelectTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The attribute takes a value-binding expression for a component property of a backing bean
cancelControlIconfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Defines custom cancel icon
changedClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the component in the changed state
controlClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the component controls
controlHoverClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the component control hovered
controlPressClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the component control pressed
controlsHorizontalPositionfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The attribute positions the controls horizontally. Possible values are "right","center","left". Default value is "right".
controlsVerticalPositionfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The attribute positions the controls vertically. Possible values are "bottom","center" and "top". Default value is "center"
converterfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.convert.Converter)
Id of Converter to be used or reference to a Converter
converterMessagefalsefalsejavax.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
defaultLabelfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The attribute is used to display text while value is undefined
editClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the component in the edit state
editEventfalsefalsejavax.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".
idfalsefalsejava.lang.StringEvery component may have a unique id that is automatically created if omitted
immediatefalsefalsejavax.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
labelfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A localized user presentable name for this component.
layoutfalsefalsejavax.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".
listHeightfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The attribute defines the height of option list. Default value is "200px".
listWidthfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The attribute defines the width of option list. Default value is "200px".
maxSelectWidthfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Sets the maximum width of the select element. Default value is "200px".
minSelectWidthfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Sets the minimum width of the select element. Default value is "100px".
onblurfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the component loses the focus
onchangefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the component value is changed
onclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the element is clicked
ondblclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the element is double-clicked
oneditactivatedfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the component edit state is activated
oneditactivationfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called before the component edit state is activated
onfocusfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the component gets the focus
oninputblurfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the component input field loses the focus
oninputclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the input field is clicked
oninputdblclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the input field is double-clicked
oninputfocusfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the component input field gets the focus
oninputkeydownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a key is pressed down in the input field
oninputkeypressfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a key is pressed and released in the input field
oninputkeyupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a key is released in the input field
oninputmousedownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a mouse button is pressed down in the input field
oninputmousemovefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved within the input field
oninputmouseoutfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved away from the input field
oninputmouseoverfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved onto the input field
oninputmouseupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a mouse button is released in the input field
onkeydownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a key is pressed down over the element
onkeypressfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a key is pressed over the element and released
onkeyupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a key is released
onmousedownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a mouse button is pressed down over the element
onmousemovefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved within the element
onmouseoutfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved away from the element
onmouseoverfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved onto the element
onmouseupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a mouse button is released
onselectfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when some text is selected in the input field
onviewactivatedfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the component view state is activated. onviewactivated fires request only if the value is changed
onviewactivationfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called before the component view state is activated
openOnEditfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
The attribute opens the list once edit activated. Default value is "true".
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
If "false", this component is not rendered
requiredfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
If "true", this component is checked for non-empty input
requiredMessagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A ValueExpression enabled attribute which defines text of validation message to show, if a required field is missing
saveControlIconfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Defines custom save icon
selectWidthfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Sets width of the select element
showControlsfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
The attribute serves to display "save" and "cancel" controls. Default value is "false".
showValueInViewfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
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"
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the component. Corresponds to the HTML "class" attribute.
tabindexfalsefalsejavax.el.ValueExpression
(must evaluate to int)
The attribute serves to define the tabbing order
validatorfalsefalsejavax.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
validatorMessagefalsefalsejavax.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
valuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The current value of this component
valueChangeListenerfalsefalsejavax.el.MethodExpression
(signature must match void valueChangeListener(javax.faces.event.ValueChangeEvent))
Listener for value changes
viewClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the component in the view state
viewHoverClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more space-separated CSS class names to the component hovered in the view state

Variables
No Variables Defined.


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.