com.sas.taglib
Class StyleSheetTag

com.sas.taglib.StyleSheetTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public class StyleSheetTag

StyleSheetTag is invoked by the JSP page to evaluate the sas:StyleSheet custom tag during the execution of the page. Tag handler methods are called by the JSP page implementation class at various points during the evaluation of the tag. The tag handler methods in turn call methods on the underlying Transformation Bean object, StyleSheet, to execute the methods.

If you need to extend or modify the functionality of the sas:StyleSheet custom tag, you can subclass this tag handler class.

For More Information:

Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.

Refer to the Custom Tag Library Reference for usage information on the sas:StyleSheet custom tag.

Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site.

. The StyleSheet tag will write out the HTML link elements as obtained from the ComponentPropertyManager (typically via the theme). The tag will always write a link for the SAS components style sheet. Use the styleNames attribute to provide a comma-delimited list of style names matching the names of Style elements defined in a theme.

See Also:
BaseUtil, Serialized Form

Field Summary
 
Fields inherited from class com.sas.taglib.BaseBodyTag
DELIMITERS, RB_KEY
 
Constructor Summary
StyleSheetTag()
           
 
Method Summary
 int doEndTag()
          Process the end tag.
 void release()
          This method overrides the javax.servlet.jsp.tagext.TagSupport release method.
 void setStyleNames(java.lang.String styleNames)
          Sets a comma-delimited list of style names matching the names of Style elements defined in a theme.
 
Methods inherited from class com.sas.taglib.BaseBodyTag
applyAttributes, doCatch, doFinally, doStartTag, getApplyAttributes, getBodyStrings, getCompositeComponentKey, getInstantiate, getLocale, getPageContext, getRef, getScope, getTagScope, getWrappedClassName, getWrappedObject, getWrappedObject, initialize, loadBeanInstance, newInstance, removeFromScope, searchContext, setApplyAttributes, setCompositeComponentKey, setInstantiate, setLocale, setRef, setScope, setTagScope, setVariableWithinScope, setWrappedClassName, setWrappedObject, validate
 

Constructor Detail

StyleSheetTag

public StyleSheetTag()
Method Detail

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Process the end tag. This method will be called on all Tag objects.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
Returns:
int designating the next course of action for the tag/jsp page.
Throws:
javax.servlet.jsp.JspException

release

public void release()
Description copied from class: BaseBodyTag
This method overrides the javax.servlet.jsp.tagext.TagSupport release method. This method will clean up any long term resources after all tag invocations are complete.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class BaseBodyTag
See Also:
TagSupport.release()

setStyleNames

public void setStyleNames(java.lang.String styleNames)
Sets a comma-delimited list of style names matching the names of Style elements defined in a theme. Links will be written for these style sheets as well as the default style sheet named "AppDev Studio".

Parameters:
styleNames -



Copyright © 2009 SAS Institute Inc. All Rights Reserved.