com.jcorporate.expresso.ext.taglib
Class StyleSheetTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.jcorporate.expresso.ext.taglib.StyleSheetTag
- All Implemented Interfaces:
- IterationTag, Serializable, Tag
- public class StyleSheetTag
- extends TagSupport
This tag provides automatic Cascading Stylesheet output. What it does is
it checks the setup table for any tag extensions. If it finds it, then it
tries to output the appropriate stylesheet. If the extension can't be found
then it will attempt to output the default component.css name without any
extension.
Attributes:
component - The name of the component that this stylesheet is used. If it
is ommitted then we look for default-*.css
- Author:
- Michael Rimov
- See Also:
- Serialized Form
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
component
protected String component
- The component to use for the stylesheet.
componentToUse
protected String componentToUse
StyleSheetTag
public StyleSheetTag()
doStartTag
public int doStartTag()
throws JspTagException
- Do nothing until end tag.
- Returns:
- int
- Throws:
JspTagException - The exception description.
doEndTag
public int doEndTag()
throws JspTagException
- This part of the tag writes out the appropriate CSS directive to the
page
- Returns:
- int as specified by the tag spec
- Throws:
JspTagException - upon error
getComponent
public String getComponent()
- Setter method for Name.
- Returns:
- java.lang.String
setComponent
public void setComponent(String newValue)
- Insert the method's description here.
Creation date: (12/29/2000 %r)
- Parameters:
newValue - java.lang.String
Please see www.jcorporate.com for information about new Expresso releases.