Class HtmlFormRendererBase
java.lang.Object
jakarta.faces.render.Renderer
org.apache.myfaces.renderkit.html.base.HtmlRenderer
org.apache.myfaces.renderkit.html.base.HtmlFormRendererBase
- Direct Known Subclasses:
HtmlFormRenderer
-
Field Summary
Fields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
afterFormElementsEnd
(FacesContext facesContext, UIComponent component) Called after the state and any elements are added to the form tag in the encodeEnd methodprotected void
afterFormElementsStart
(FacesContext facesContext, UIComponent component) Called after the state and any elements are added to the form tag in the encodeBegin methodprotected void
beforeFormElementsEnd
(FacesContext facesContext, UIComponent component) Called before the state and any elements are added to the form tag in the encodeEnd methodprotected void
beforeFormElementsStart
(FacesContext facesContext, UIComponent component) Called before the state and any elements are added to the form tag in the encodeBegin methodvoid
decode
(FacesContext facesContext, UIComponent component) void
encodeBegin
(FacesContext facesContext, UIComponent component) void
encodeEnd
(FacesContext facesContext, UIComponent component) protected String
getAcceptCharset
(FacesContext facesContext, UIForm form) protected String
getActionUrl
(FacesContext facesContext, UIForm form) protected String
getMethod
(FacesContext facesContext, UIForm form) static void
renderScrollHiddenInputIfNecessary
(UIComponent form, FacesContext facesContext, ResponseWriter writer) protected void
renderViewStateAndHiddenFields
(FacesContext facesContext, UIComponent component) Methods inherited from class org.apache.myfaces.renderkit.html.base.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId
Methods inherited from class jakarta.faces.render.Renderer
convertClientId, encodeChildren, getConvertedValue, getRendersChildren
-
Constructor Details
-
HtmlFormRendererBase
public HtmlFormRendererBase()
-
-
Method Details
-
encodeBegin
- Overrides:
encodeBegin
in classRenderer
- Throws:
IOException
-
getActionUrl
-
getMethod
-
getAcceptCharset
-
encodeEnd
- Overrides:
encodeEnd
in classRenderer
- Throws:
IOException
-
renderViewStateAndHiddenFields
protected void renderViewStateAndHiddenFields(FacesContext facesContext, UIComponent component) throws IOException - Throws:
IOException
-
decode
-
renderScrollHiddenInputIfNecessary
public static void renderScrollHiddenInputIfNecessary(UIComponent form, FacesContext facesContext, ResponseWriter writer) throws IOException - Throws:
IOException
-
beforeFormElementsStart
protected void beforeFormElementsStart(FacesContext facesContext, UIComponent component) throws IOException Called before the state and any elements are added to the form tag in the encodeBegin method- Throws:
IOException
-
afterFormElementsStart
protected void afterFormElementsStart(FacesContext facesContext, UIComponent component) throws IOException Called after the state and any elements are added to the form tag in the encodeBegin method- Throws:
IOException
-
beforeFormElementsEnd
protected void beforeFormElementsEnd(FacesContext facesContext, UIComponent component) throws IOException Called before the state and any elements are added to the form tag in the encodeEnd method- Throws:
IOException
-
afterFormElementsEnd
protected void afterFormElementsEnd(FacesContext facesContext, UIComponent component) throws IOException Called after the state and any elements are added to the form tag in the encodeEnd method- Throws:
IOException
-