public class OnLoadTag
extends javax.servlet.jsp.tagext.TagSupport
Add an onLoad handler to the HTML body tag for each onload handler defined in the PageDefinition object in the "page" attribute. The following attribute will appear in the output.
onload = "alert('hello');"
NOTE: The OnLoads tag must only be used within the attribute list for the body tag.
Example
<%@ taglib uri="http://dev.nhigh.com/taglibs/nhigh" prefix="nhigh" %>
<html>
<head>
</head>
<body <nhigh:OnLoads />>
.
.
</html>
page - A PageDefinition bean containing the defintion of
this page.PageDefinition#getOnLoads(),
Serialized Form| Constructor and Description |
|---|
OnLoadTag() |
| 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.JspExceptionpublic int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionCopyright © 2015 Revolution Systems Inc.. All rights reserved.