|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.render.Renderer
com.sun.rave.web.ui.renderer.AbstractRenderer
com.sun.rave.web.ui.renderer.FormRenderer
public class FormRenderer
Renderer for a Form
component.
Field Summary |
---|
Fields inherited from class com.sun.rave.web.ui.renderer.AbstractRenderer |
---|
BUNDLE, EVENTS_ATTRIBUTES, I18N_ATTRIBUTES |
Constructor Summary | |
---|---|
FormRenderer()
|
Method Summary | |
---|---|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Record a flag indicating whether this was the form (of the several forms on the current page) that was submitted. |
protected void |
renderAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
Render the appropriate element attributes. |
protected void |
renderEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
Render the appropriate element end. |
protected void |
renderStart(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
Render the appropriate element start for the outermost element. |
Methods inherited from class com.sun.rave.web.ui.renderer.AbstractRenderer |
---|
addBooleanAttributes, addCoreAttributes, addIntegerAttributes, addStringAttributes, encodeBegin, encodeChildren, encodeEnd, getApplication, getAsObject, getAsString, getExternalContext, getFacesContext, getSubmittedValue, isDisabled, isPortlet, isReadOnly, renderMarkup, setSubmittedValue |
Methods inherited from class javax.faces.render.Renderer |
---|
convertClientId, getConvertedValue, getRendersChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormRenderer()
Method Detail |
---|
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
Record a flag indicating whether this was the form (of the several forms on the current page) that was submitted. Also, if the submission component id is known, then set the submitted virtual form if appropriate.
decode
in class AbstractRenderer
context
- FacesContext
for the current requestcomponent
- UIComponent
to be decoded
java.lang.NullPointerException
- if context
or
component
is null
protected void renderStart(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.context.ResponseWriter writer) throws java.io.IOException
Render the appropriate element start for the outermost element.
renderStart
in class AbstractRenderer
context
- FacesContext
for the current requestcomponent
- EditableValueHolder
component whose
submitted value is to be storedwriter
- ResponseWriter
to which the element
start should be rendered
java.io.IOException
- if an input/output error occursprotected void renderAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.context.ResponseWriter writer) throws java.io.IOException
Render the appropriate element attributes.
renderAttributes
in class AbstractRenderer
context
- FacesContext
for the current requestcomponent
- EditableValueHolder
component whose
submitted value is to be storedwriter
- ResponseWriter
to which the element
start should be rendered
java.io.IOException
- if an input/output error occursprotected void renderEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.context.ResponseWriter writer) throws java.io.IOException
Render the appropriate element end.
renderEnd
in class AbstractRenderer
context
- FacesContext
for the current requestcomponent
- EditableValueHolder
component whose
submitted value is to be storedwriter
- ResponseWriter
to which the element
start should be rendered
java.io.IOException
- if an input/output error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |