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 SummaryConstructors Constructor Description ResetInputContextCallback(VisitContext visitContext)Constructs a new ResetInputContextCallback with the givenVisitContext.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinvokeContextCallback(FacesContext fc, UIComponent component)Invokes the context callback on the given component.
 
- 
- 
- 
Constructor Detail- 
ResetInputContextCallbackpublic ResetInputContextCallback(VisitContext visitContext) Constructs a new ResetInputContextCallback with the givenVisitContext.- Parameters:
- visitContext- the visit context to be used for visiting component trees
 
 
- 
 - 
Method Detail- 
invokeContextCallbackpublic void invokeContextCallback(FacesContext fc, UIComponent component) Invokes 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
 
 
- 
 
-