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
 
コンストラクタの概要
S2ClickPageImports(net.sf.click.Page page)
           
 
メソッドの概要
protected  void processControl(net.sf.click.Control control)
           
 
クラス 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