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 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
-
-
-
-
Method Detail
-
encodeBegin
public void encodeBegin(FacesContext facesContext, UIComponent component) throws IOException
- Overrides:
encodeBegin
in 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:
encodeEnd
in 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
-
-