@Name(value="jsfResetActions") @Scope(value=EVENT) public class JSFResetActionsBean extends Object
Resets are done using the following rule:
ResettableComponent
interface, its
method ResettableComponent.resetCachedModel()
is calledEditableValueHolder
, its submitted
value is reset, and its local value is reset only if it holds a value
binding for the "value" attributeValueHolder
, its its local value is
reset only if it holds a value binding for the "value" attribute.Constructor and Description |
---|
JSFResetActionsBean() |
Modifier and Type | Method and Description |
---|---|
void |
resetComponent(UIComponent component)
Resets the given component.
|
void |
resetComponentResursive(UIComponent parent)
Resets the given component and its children recursively.
|
void |
resetComponents(ActionEvent event)
Looks up the parent naming container for the component source of the
action event, and reset components recursively within this container.
|
public void resetComponents(ActionEvent event)
public void resetComponent(UIComponent component)
Does not reset the component children.
public void resetComponentResursive(UIComponent parent)
Copyright © 2013 Nuxeo SA. All Rights Reserved.