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)
CSS style class for changed state
controlClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style class for controls
controlHoverClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style class for hovered control
controlPressClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style class for controls 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","top"
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)
CSS style class for 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
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)
HTML: script expression; the element lost the focus
onchangefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; the element value was changed
onclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer button is clicked
ondblclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer button is double-clicked
oneditactivatedfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The attributes provide a possibility to assign JavaScript to be executed when edit state is activated
oneditactivationfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The attributes provide a possibility to assign JavaScript on edit state activation
onfocusfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; the element got the focus
oninputblurfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; the element lost the focus
oninputclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer button is clicked
oninputdblclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer button is double-clicked
oninputfocusfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; the element got the focus
oninputkeydownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a key is pressed down
oninputkeypressfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a key is pressed and released
oninputkeyupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a key is released
oninputmousedownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; a pointer button is pressed down
oninputmousemovefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer is moved within
oninputmouseoutfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer is moved away
oninputmouseoverfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer is moved onto
oninputmouseupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; a pointer button is released
onkeydownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a key is pressed down
onkeypressfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a key is pressed and released
onkeyupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a key is released
onmousedownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; a pointer button is pressed down
onmousemovefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer is moved within
onmouseoutfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer is moved away
onmouseoverfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: a script expression; a pointer is moved onto
onmouseupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; a pointer button is released
onselectfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
HTML: script expression; the onselect event occurs when you select some menu item
onviewactivatedfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The attributes provide a possibility to assign JavaScript to be executed when view state is activated
onviewactivationfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The attributes provide a possibility to assign JavaScript on view state activation
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 that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used
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 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
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
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)
Style class for view state
viewHoverClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style class for hovered text in 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.