|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IComponentGenerator
Interface definition for objects that dynamically generate components.
Method Summary | |
---|---|
javax.faces.component.UIComponent |
generate(javax.faces.context.FacesContext context,
java.lang.String id)
Dynamically generates a component in a default state |
javax.faces.component.UIComponent |
generateAndAdd(javax.faces.context.FacesContext context,
UIPropertySheet propertySheet,
PropertySheetItem item)
Dynamically generates a component for the given property sheet item. |
Method Detail |
---|
javax.faces.component.UIComponent generate(javax.faces.context.FacesContext context, java.lang.String id)
context
- FacesContextid
- Optional id for the newly created component, if null
is passed a unique id is generated
javax.faces.component.UIComponent generateAndAdd(javax.faces.context.FacesContext context, UIPropertySheet propertySheet, PropertySheetItem item)
context
- FacesContextpropertySheet
- The property sheet componentitem
- The wrappper component representing the item to generate,
either a property, association or child association
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |