org.apache.myfaces.tobago.taglib.component
Class PageTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.apache.myfaces.tobago.taglib.component.TobagoTag
          extended by org.apache.myfaces.tobago.taglib.component.TobagoBodyTag
              extended by 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


Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
PageTag()
           
 
Method Summary
 int doEndTag()
           
 String getApplicationIcon()
           
 String getComponentType()
           
 String getFocusId()
           
 String getHeight()
           
 String getLabel()
           
 String getWidth()
           
 void release()
           
 void setApplicationIcon(String icon)
          Absolute URL to an image or image name to lookup in tobago resource path representing the application.
 void setDoctype(String doctype)
          Possible values for doctype are: strictHTML 4.01 Strict DTD looseHTML 4.01 Transitional DTD framesetHTML 4.01 Frameset DTD All other values are ignored and no DOCTYPE is set.
 void setFocusId(String focusId)
          Contains the id of the component wich should have the focus after loading the page.
 void setHeight(String height)
          The height for this component.
 void setLabel(String label)
          Text value to display as label.
 void setMethod(String method)
           
protected  void setProperties(UIComponent component)
           
 void setState(String state)
          ValueBindingExpression pointing to a object to save the component's state.
 void setWidth(String width)
          The width for this component.
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoBodyTag
doAfterBody, doInitBody, getDoAfterBodyValue, getDoStartValue, isBodyContentEmpty, setBodyContent
 
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 javax.servlet.jsp.tagext.BodyTag
doInitBody, setBodyContent
 
Methods inherited from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doStartTag, getParent, setPageContext, setParent
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId
setId
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasBinding
setBinding
 

Constructor Detail

PageTag

public PageTag()
Method Detail

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 UIComponentTag

release

public void release()
Specified by:
release in interface Tag
Overrides:
release in class TobagoBodyTag

setProperties

protected void setProperties(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. The default value is 'loose'.

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-2008 Apache Software Foundation. All Rights Reserved.