Class ResetValuesUtils.ResetInputContextCallback
java.lang.Object
org.apache.myfaces.core.api.shared.ResetValuesUtils.ResetInputContextCallback
- All Implemented Interfaces:
- ContextCallback
- Enclosing class:
- ResetValuesUtils
public static class ResetValuesUtils.ResetInputContextCallback
extends Object
implements ContextCallback
- 
Constructor SummaryConstructorsConstructorDescriptionResetInputContextCallback(VisitContext visitContext) Constructs a new ResetInputContextCallback with the givenVisitContext.
- 
Method SummaryModifier and TypeMethodDescriptionvoidinvokeContextCallback(FacesContext fc, UIComponent component) Invokes the context callback on the given component.
- 
Constructor Details- 
ResetInputContextCallbackConstructs a new ResetInputContextCallback with the givenVisitContext.- Parameters:
- visitContext- the visit context to be used for visiting component trees
 
 
- 
- 
Method Details- 
invokeContextCallbackInvokes the context callback on the given component. If the component is an instance ofEditableValueHolder, its value is reset. Otherwise, the component's tree is visited using theResetValuesUtils.ResetInputVisitCallbackinstance.- Specified by:
- invokeContextCallbackin interface- ContextCallback
- Parameters:
- fc- the current- FacesContext
- component- the component on which to invoke the context callback
 
 
-