org.apache.myfaces.renderkit.html
Class HtmlLinkRendererBase
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.renderkit.html.HtmlRenderer
org.apache.myfaces.renderkit.html.HtmlLinkRendererBase
- Direct Known Subclasses:
- HtmlLinkRenderer, HtmlLinkRenderer, HtmlSortHeaderRenderer, HtmlTreeImageCommandLinkRenderer, HtmlTreeNodeRenderer
- public abstract class HtmlLinkRendererBase
- extends HtmlRenderer
- Version:
- $Revision: 1.18 $ $Date: 2004/10/13 11:51:01 $
$Log: HtmlLinkRendererBase.java,v $
Revision 1.18 2004/10/13 11:51:01 matze
renamed packages to org.apache
Revision 1.17 2004/09/08 15:23:12 manolito
Autoscroll feature
Revision 1.16 2004/09/08 09:32:03 manolito
MyfacesConfig moved to config package
Revision 1.15 2004/07/18 21:25:30 o_rossmueller
fix #991234: use hidden field name in link url
Revision 1.14 2004/07/01 22:00:56 mwessendorf
ASF switch
Revision 1.13 2004/06/16 23:50:08 o_rossmueller
force separate end tag
Revision 1.12 2004/06/08 01:34:44 o_rossmueller
render link value if available as required by JSF 1.1 renderkitdocs
Revision 1.11 2004/06/03 12:57:03 o_rossmueller
modified link renderer to use one hidden field for all links according to 1.1 renderkit docs
added onclick=clear_XXX to button
Revision 1.10 2004/05/18 14:31:39 manolito
user role support completely moved to components source tree
Revision 1.9 2004/05/18 12:02:29 manolito
getActionURL and getResourceURL must not call encodeActionURL or encodeResourceURL
Revision 1.8 2004/05/12 01:50:47 o_rossmueller
fix #951896: add state params once is enough ;-)
Revision 1.7 2004/05/12 01:41:32 o_rossmueller
fix #951896: added state params to link URLs for ALLOW_JAVASCRIPT=false
Revision 1.6 2004/05/04 06:36:21 manolito
Bugfix #947302
Revision 1.5 2004/04/29 19:34:38 o_rossmueller
javascript for 'target' attribute handling
Revision 1.4 2004/04/27 10:32:24 manolito
clear hidden inputs javascript function
Revision 1.3 2004/04/05 11:14:05 manolito
removed isVisibleOnUserRole
Revision 1.2 2004/03/31 14:50:34 manolito
bug fix
Revision 1.1 2004/03/31 11:58:44 manolito
custom component refactoring
- Author:
- Manfred Geiler (latest modification by $Author: matze $)
Method Summary |
void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
void |
encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
void |
encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
boolean |
getRendersChildren()
|
protected java.lang.String |
getStyle(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent link)
Can be overwritten by derived classes to overrule the style to be used. |
protected java.lang.String |
getStyleClass(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent link)
Can be overwritten by derived classes to overrule the style class to be used. |
protected void |
renderCommandLinkStart(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String clientId,
java.lang.Object value,
java.lang.String style,
java.lang.String styleClass)
|
protected void |
renderJavaScriptAnchorStart(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
java.lang.String clientId)
|
protected void |
renderLinkEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
protected void |
renderNonJavaScriptAnchorStart(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
java.lang.String clientId)
|
protected void |
renderOutputLinkStart(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIOutput output)
|
Methods inherited from class javax.faces.render.Renderer |
convertClientId, getConvertedValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URL_STATE_MARKER
public static final java.lang.String URL_STATE_MARKER
- See Also:
- Constant Field Values
URL_STATE_MARKER_LEN
public static final int URL_STATE_MARKER_LEN
HtmlLinkRendererBase
public HtmlLinkRendererBase()
getRendersChildren
public boolean getRendersChildren()
decode
public void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
getStyle
protected java.lang.String getStyle(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent link)
- Can be overwritten by derived classes to overrule the style to be used.
getStyleClass
protected java.lang.String getStyleClass(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent link)
- Can be overwritten by derived classes to overrule the style class to be used.
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Overrides:
encodeChildren
in class HtmlRenderer
- Throws:
java.io.IOException
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
renderCommandLinkStart
protected void renderCommandLinkStart(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String clientId,
java.lang.Object value,
java.lang.String style,
java.lang.String styleClass)
throws java.io.IOException
- Throws:
java.io.IOException
renderJavaScriptAnchorStart
protected void renderJavaScriptAnchorStart(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
java.lang.String clientId)
throws java.io.IOException
- Throws:
java.io.IOException
renderNonJavaScriptAnchorStart
protected void renderNonJavaScriptAnchorStart(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
java.lang.String clientId)
throws java.io.IOException
- Throws:
java.io.IOException
renderOutputLinkStart
protected void renderOutputLinkStart(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIOutput output)
throws java.io.IOException
- Throws:
java.io.IOException
renderLinkEnd
protected void renderLinkEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException