public class StylesTag
extends javax.servlet.jsp.tagext.TagSupport
Add a HTML link to each the style sheets in the PageDefinition object in the "page" attribute. The following line will appear in the output for each style.
<link rel="stylesheet" href="/style/main.css" text="text/css" />
NOTE: The Style tag must only be used in the head section of a HTML page.
Example
<%@ taglib uri="http://dev.nhigh.com/taglibs/nhigh" prefix="nhigh" %>
<html>
<head>
<nhigh:Styles />
</head>
.
.
</html>
page - A PageDefinition bean containing the defintion of
this page.Component.getStyles(),
PageController.getStyles(),
Serialized Form| Constructor and Description |
|---|
StylesTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag()
Process the end tag.
|
int |
doStartTag()
Process the start tag.
|
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - If there was an exception processing the tag.public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - If there was an exception processing the tag.Copyright © 2015 Revolution Systems Inc.. All rights reserved.