|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlvViewHelper
The IlvViewHelper interface defines a component that is linked
to a view. This view is identified by an identifier (ID) that must be resolved
during the rendering phase. The state must contain the ID of the view
but not the view itself.
| Field Summary |
|---|
| Method Summary | |
|---|---|
IlvBasicView |
getView()
Returns the view component associated with this component. |
String |
getViewId()
Returns the ID of the view linked to this component. |
void |
restoreState(FacesContext context,
Object state)
Restores the state of this component from the state parameter. |
Object |
saveState(FacesContext context)
Returns the state of this component. |
void |
setView(IlvBasicView view)
Sets the view component associated with this component. |
void |
setViewId(String viewId)
Sets the ID of the view linked to this component. |
void |
updateModel(FacesContext context)
This method updates the referenced values by the local values of the component if these values were updated from the client. |
| Method Detail |
|---|
String getViewId()
void setViewId(String viewId)
viewId - The ID of the view.IlvBasicView getView()
void setView(IlvBasicView view)
view - The view component associated with this component.void updateModel(FacesContext context)
context - The current faces context.Object saveState(FacesContext context)
context - The current faces context
void restoreState(FacesContext context,
Object state)
context - The current faces context.state - The previously saved state of this component.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||