| java.lang.Object org.ofbiz.content.widget.html.HtmlFormWrapper
HtmlFormWrapper | public class HtmlFormWrapper (Code) | | Widget Library - HTML Form Wrapper class - makes it easy to do the setup and render of a form
author: David E. Jones version: $Revision: 1.4 $ since: 2.2 |
HtmlFormWrapper | protected HtmlFormWrapper()(Code) | | |
getIsError | public boolean getIsError()(Code) | | |
getUseRequestParameters | public boolean getUseRequestParameters()(Code) | | |
setFormOverrideName | public void setFormOverrideName(String formName)(Code) | | |
setIsError | public void setIsError(boolean isError)(Code) | | Tells the form library whether this is a response to an error or not.
Defaults on initialization according to the presense of an errorMessage
in the request or if an isError parameter was passed to the page with
the value "true". If true then the prefilled values will come from the
parameters Map instead of the value Map.
|
setUseRequestParameters | public void setUseRequestParameters(boolean useRequestParameters)(Code) | | The "useRequestParameters" value in the form context tells the form library
to use the request parameters to fill in values instead of the value map.
This is generally used when it is an empty form to pre-set inital values.
This is automatically set to false for list and multi forms. For related
functionality see the setIsError method.
Parameters: useRequestParameters - |
|
|