org.apache.myfaces.tobago.taglib.component
Class PageTag
java.lang.Object
javax.faces.webapp.UIComponentTag
org.apache.myfaces.tobago.taglib.component.TobagoTag
org.apache.myfaces.tobago.taglib.component.TobagoBodyTag
org.apache.myfaces.tobago.taglib.component.PageTag
- All Implemented Interfaces:
- BodyTag, IterationTag, JspTag, Tag, PageTagDeclaration, TobagoBodyTagDeclaration, TobagoTagDeclaration, HasBinding, HasDimension, HasHeight, HasId, HasLabel, HasState, HasWidth
public class PageTag
- extends TobagoBodyTag
- implements BodyTag, PageTagDeclaration
| Fields inherited from class javax.faces.webapp.UIComponentTag |
pageContext |
| Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoTag |
doStartTag, getDisabled, getHidden, getInline, getReadonly, getRendererType, getTitle, setDisabled, setHidden, setInline, setReadonly, setTitle |
| Methods inherited from class javax.faces.webapp.UIComponentTag |
encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId |
setId |
PageTag
public PageTag()
doEndTag
public int doEndTag()
throws JspException
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class TobagoBodyTag
- Throws:
JspException
getComponentType
public String getComponentType()
- Specified by:
getComponentType in class javax.faces.webapp.UIComponentTag
release
public void release()
- Specified by:
release in interface Tag- Overrides:
release in class TobagoBodyTag
setProperties
protected void setProperties(javax.faces.component.UIComponent component)
- Overrides:
setProperties in class TobagoTag
setDoctype
public void setDoctype(String doctype)
- Description copied from interface:
PageTagDeclaration
- Possible values for doctype are:
- strict
- HTML 4.01 Strict DTD
- loose
- HTML 4.01 Transitional DTD
- frameset
- HTML 4.01 Frameset DTD
All other values are ignored and no DOCTYPE is set.
- Specified by:
setDoctype in interface PageTagDeclaration
setMethod
public void setMethod(String method)
setState
public void setState(String state)
- Description copied from interface:
HasState
- ValueBindingExpression pointing to a object to save the
component's state.
- Specified by:
setState in interface HasState
getFocusId
public String getFocusId()
setFocusId
public void setFocusId(String focusId)
- Description copied from interface:
PageTagDeclaration
- Contains the id of the component wich should have the focus after
loading the page.
Set to emtpy string for disabling setting of focus.
Default (null) enables the "auto focus" feature.
- Specified by:
setFocusId in interface PageTagDeclaration
getLabel
public String getLabel()
- Overrides:
getLabel in class TobagoTag
setLabel
public void setLabel(String label)
- Description copied from interface:
HasLabel
- Text value to display as label.
If text contains an underscore the next character is used as accesskey.
- Specified by:
setLabel in interface HasLabel- Overrides:
setLabel in class TobagoTag
getWidth
public String getWidth()
- Overrides:
getWidth in class TobagoTag
setWidth
public void setWidth(String width)
- Description copied from interface:
HasWidth
- The width for this component.
This value is used in the gridLayouts columns attribute.
See gridLayout tag for valid values.
- Specified by:
setWidth in interface HasWidth- Overrides:
setWidth in class TobagoTag
getHeight
public String getHeight()
- Overrides:
getHeight in class TobagoTag
setHeight
public void setHeight(String height)
- Description copied from interface:
HasHeight
- The height for this component.
- Specified by:
setHeight in interface HasHeight- Overrides:
setHeight in class TobagoTag
setApplicationIcon
public void setApplicationIcon(String icon)
- Description copied from interface:
PageTagDeclaration
- Absolute URL to an image or image name to lookup in tobago resource path
representing the application. In HTML it is used as a favicon.
- Specified by:
setApplicationIcon in interface PageTagDeclaration
getApplicationIcon
public String getApplicationIcon()
Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.