org.seasar.s2click.util
クラス S2ClickPageImports
java.lang.Object
net.sf.click.util.PageImports
org.seasar.s2click.util.S2ClickPageImports
public class S2ClickPageImports
- extends net.sf.click.util.PageImports
Provides a utility object for rendering a Page's control HTML header imports.
A PageImports instance is automatically added to the Velocity Context
for Velocity templates, or as a request attribute for JSP pages using the key
name "imports".
To use the PageImports object simply reference it your page header
section. For example:
<html>
<head>
$imports
</head>
<body>
$form
<body>
</html>
You should also follow the performance best practice by importing CSS includes
in the head section, then include the JS imports after the html body.
For example:
<html>
<head>
$cssImports
</head>
<body>
$form
<br/>
$table
<body>
</html>
$jsImports
Please also see Control.getHtmlImports()
.
- 作成者:
- Malcolm Edgar
- 関連項目:
Format
クラス net.sf.click.util.PageImports から継承されたフィールド |
cssImports, initialize, jsImports, jsScripts, page |
クラス net.sf.click.util.PageImports から継承されたメソッド |
addToList, getAllIncludes, getCssImports, getJsImports, processLine, processPageControls |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
S2ClickPageImports
public S2ClickPageImports(net.sf.click.Page page)
processControl
protected void processControl(net.sf.click.Control control)
- オーバーライド:
- クラス
net.sf.click.util.PageImports
内の processControl