| |
|
| org.apache.struts.faces.component.FormComponent
FormComponent | public class FormComponent extends UIForm (Code) | | FormComponent is a specialized subclass of
javax.faces.component.UIForm that supports automatic
creation of form beans in request or session scope.
version: $Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $ |
Field Summary | |
protected static Log | log |
log | protected static Log log(Code) | | The Log instance for this class.
|
createActionForm | public void createActionForm(FacesContext context)(Code) | | Create an appropriate form bean in the appropriate scope, if one
does not already exist.
Parameters: context - FacesContext for the current request exception: IllegalArgumentException - if no ActionConfig for thespecified action attribute can be located exception: IllegalArgumentException - if no FormBeanConfig for thespecified form bean can be located exception: IllegalArgumentException - if no ModuleConfig can belocated for this application module |
getAction | public String getAction()(Code) | | Return the Struts action path to which this form should be submitted.
|
getEnctype | public String getEnctype()(Code) | | Return the encoding type for this form submit.
|
getFamily | public String getFamily()(Code) | | Return the component family to which this component belongs.
|
getFocus | public String getFocus()(Code) | | Return the focus element name.
|
getFocusIndex | public String getFocusIndex()(Code) | | Return the focus element index.
|
getOnreset | public String getOnreset()(Code) | | Return the JavaScript to execute on form reset.
|
getOnsubmit | public String getOnsubmit()(Code) | | Return the JavaScript to execute on form submit.
|
getStyle | public String getStyle()(Code) | | Return the CSS style(s) to be rendered for this component.
|
getStyleClass | public String getStyleClass()(Code) | | Return the CSS style class(es) to be rendered for this component.
|
getTarget | public String getTarget()(Code) | | Return the target frame for the response to this form submit.
|
lookupModuleConfig | public ModuleConfig lookupModuleConfig(FacesContext context)(Code) | | Return the ModuleConfig for the application module
this form is being processed for.
Parameters: context - The FacesContext for the current request exception: IllegalArgumentException - if no ModuleConfig can be found |
processDecodes | public void processDecodes(FacesContext context)(Code) | | Create an instance of the form bean (if necessary) before
delegating to the standard decoding process.
Parameters: context - FacesContext for the request we are processing |
restoreState | public void restoreState(FacesContext context, Object state)(Code) | | Restore our state from the specified object.
Parameters: context - FacesContext for the current request Parameters: state - Object containing our saved state |
saveState | public Object saveState(FacesContext context)(Code) | | Create and return an object representing our state to be saved.
Parameters: context - FacesContext for the current request |
setAction | public void setAction(String action)(Code) | | Set the Struts action to which this form should be submitted.
Parameters: action - The new action path |
setEnctype | public void setEnctype(String enctype)(Code) | | Set the encoding type for this form submit.
Parameters: enctype - The new enctype path |
setFocus | public void setFocus(String focus)(Code) | | Set the focus element name.
Parameters: focus - The new focus path |
setFocusIndex | public void setFocusIndex(String focusIndex)(Code) | | Set the focus element index.
Parameters: focusIndex - The new focusIndex path |
setOnreset | public void setOnreset(String onreset)(Code) | | Set the JavaScript to execute on form reset.
Parameters: onreset - The new onreset path |
setOnsubmit | public void setOnsubmit(String onsubmit)(Code) | | Set the JavaScript to execute on form submit.
Parameters: onsubmit - The new onsubmit path |
setStyle | public void setStyle(String style)(Code) | | Set the CSS style(s) to be rendered for this component.
Parameters: style - The new CSS style(s) |
setStyleClass | public void setStyleClass(String styleClass)(Code) | | Set the CSS style class(es) to be rendered for this component.
Parameters: styleClass - The new CSS style class(es) |
setTarget | public void setTarget(String target)(Code) | | Set the target frame for the response to this form submit.
Parameters: target - The new CSS target(s) |
|
|
|