|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectTagSupport
BodyTagSupport
AbstractClassicTag
ScriptHeader
public class ScriptHeader
ScriptHeader will write the <script> and JavaScript includes into the HTML
<head> tag. It can also be used to write the <script> and JavaScript
includes in the body given a JSP fragment that uses the ScriptContainer.
<netui:html>
<head>
<title>Page Title</title>
<netui:scriptHeader/>
</head>
<netui:body>
...
In this example the <netui:scriptHeader/> tag is enclosed in the <netui:scriptContainer> tag.
<netui:body>
<netui:scriptContainer>
<netui:scriptHeader/>
<netui:tree runAtClient="true"
dataSource="pageFlow.root"
selectionAction="postback"
tagId="testTree"/>
...
</netui:scriptContainer>
</netui:body>| Field Summary |
|---|
| Fields inherited from class AbstractClassicTag |
|---|
DefaultNamingChain, EMPTY_STRING, NETUI_UNIQUE_CNT |
| Fields inherited from class BodyTagSupport |
|---|
bodyContent |
| Fields inherited from class TagSupport |
|---|
id, pageContext |
| Fields inherited from interface BodyTag |
|---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface IterationTag |
|---|
EVAL_BODY_AGAIN |
| Fields inherited from interface Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
ScriptHeader()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
|
int |
doStartTag()
Process the start of the Button. |
String |
getTagName()
Returns the name of the Tag. |
protected void |
localRelease()
This is a method that will reinitialize all temporary state on a tag and should be called in the doEndTag method. |
| Methods inherited from class BodyTagSupport |
|---|
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
| Methods inherited from class TagSupport |
|---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface Tag |
|---|
getParent, setPageContext, setParent |
| Constructor Detail |
|---|
public ScriptHeader()
| Method Detail |
|---|
public String getTagName()
getTagName in interface INetuiTaggetTagName in class AbstractClassicTag
public int doStartTag()
throws JspException
doStartTag in interface TagdoStartTag in class BodyTagSupportJspException - if a JSP exception has occurred
public int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class BodyTagSupportJspExceptionprotected void localRelease()
AbstractClassicTag
localRelease in class AbstractClassicTag
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||