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
public class HtmlFormRendererBase extends HtmlRenderer
-
-
Field Summary
-
Fields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
-
Constructor Summary
Constructors Constructor Description HtmlFormRendererBase()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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, shouldRenderId
-
Methods inherited from class jakarta.faces.render.Renderer
convertClientId, encodeChildren, getConvertedValue, getRendersChildren
-
-
-
-
Method Detail
-
encodeBegin
public void encodeBegin(FacesContext facesContext, UIComponent component) throws IOException
- Overrides:
encodeBeginin classRenderer- Throws:
IOException
-
getActionUrl
protected String getActionUrl(FacesContext facesContext, UIForm form)
-
getMethod
protected String getMethod(FacesContext facesContext, UIForm form)
-
getAcceptCharset
protected String getAcceptCharset(FacesContext facesContext, UIForm form)
-
encodeEnd
public void encodeEnd(FacesContext facesContext, UIComponent component) throws IOException
- Overrides:
encodeEndin classRenderer- Throws:
IOException
-
renderViewStateAndHiddenFields
protected void renderViewStateAndHiddenFields(FacesContext facesContext, UIComponent component) throws IOException
- Throws:
IOException
-
decode
public void decode(FacesContext facesContext, UIComponent component)
-
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
-
-