netui
netui:scriptHeader Tag
ScriptHeader will write the <script> and JavaScript
includes into the HTML <head> tag.
<netui: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 <netui:scriptContainer>.
This tag is required to be empty. It is also required when using the
<netui:tree> element with the attribute runAtClient="true".
The <scriptHeader> tag should have a parent <netui:html> or
<netui:scriptContainer> tag.
In this example the <netui:scriptHeader/> tag has a parent
<netui:html> tag.
<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>
Tag Information |
Tag Class | org.apache.beehive.netui.tags.javascript.ScriptHeader |
TagExtraInfo Class | None |
Body Content | empty |
Display Name | None |