org.ajax4jsf.component
Interface IterationStateHolder


public interface IterationStateHolder

In the original UIData component, only state for a EditableValueHolder component saved for an iteration. In the Richfaces, we also save state for a components implemented this interface.

Author:
asmirnov

Method Summary
 java.lang.Object getIterationState()
          Get component state for a current iteration.
 void setIterationState(java.lang.Object state)
          Set component state for the next iteration.
 

Method Detail

getIterationState

java.lang.Object getIterationState()
Get component state for a current iteration.

Returns:
request-scope component state. Details are subject for a component implementation

setIterationState

void setIterationState(java.lang.Object state)
Set component state for the next iteration. State can be either previously saved iteration state or null value. In the second case component should reset its state to the initial.

Parameters:
state - request-scope component state or null. Details are subject for a component implementation


Copyright © 2010. All Rights Reserved.