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 voidafterFormElementsEnd(FacesContext facesContext, UIComponent component) Called after the state and any elements are added to the form tag in the encodeEnd methodprotected voidafterFormElementsStart(FacesContext facesContext, UIComponent component) Called after the state and any elements are added to the form tag in the encodeBegin methodprotected voidbeforeFormElementsEnd(FacesContext facesContext, UIComponent component) Called before the state and any elements are added to the form tag in the encodeEnd methodprotected voidbeforeFormElementsStart(FacesContext facesContext, UIComponent component) Called before the state and any elements are added to the form tag in the encodeBegin methodvoiddecode(FacesContext facesContext, UIComponent component) voidencodeBegin(FacesContext facesContext, UIComponent component) voidencodeEnd(FacesContext facesContext, UIComponent component) protected StringgetAcceptCharset(FacesContext facesContext, UIForm form) protected StringgetActionUrl(FacesContext facesContext, UIForm form) protected StringgetMethod(FacesContext facesContext, UIForm form) static voidrenderScrollHiddenInputIfNecessary(UIComponent form, FacesContext facesContext, ResponseWriter writer) protected voidrenderViewStateAndHiddenFields(FacesContext facesContext, UIComponent component) Methods inherited from class org.apache.myfaces.renderkit.html.base.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderIdMethods inherited from class jakarta.faces.render.Renderer
convertClientId, encodeChildren, getConvertedValue, getRendersChildren
-
Constructor Details
-
HtmlFormRendererBase
public HtmlFormRendererBase()
-
-
Method Details
-
encodeBegin
- Overrides:
encodeBeginin classRenderer- Throws:
IOException
-
getActionUrl
-
getMethod
-
getAcceptCharset
-
encodeEnd
- Overrides:
encodeEndin 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
-