JSP カスタムタグのライブラリ


page タグ

db、ftsearch、または view タグの結果に対してページ付けのコントロールを提供します。ボディが 1 度評価され、ヘッダーの後に viewloop タグ (view のコンテキストで) または docloop タグ (すべてのコンテキストで) があることが想定されます。ページからページへの移動は、pagefirstpagelastpagenextpageprev、および pagebar タグを使用して行います。

コンテキスト

次のタグで有効です。


次のタグ用に作成されます。
構文
属性

次の属性は、省略可能です。

direction


evaluateonnorows
id
max
name
rows
start
viewasdocuments
debug、onfailure、および time の定義については、「共通の Lotus Domino JSP タグの属性」を参照してください。

インターフェース

JSP ページの現在の状態を確認するのに、次のインターフェースを使用できます。

public interface PageInfo {

// Get the current page being processed.

public abstract int getPage();

// Returns the total number of pages for this collection

// (not expensive)

public abstract int getPageCount();

// Returns TRUE if the current page is the first page

public abstract boolean isFirstPage();

// Returns TRUE if the current page is the last page

public abstract boolean isLastPage();

// Returns TRUE if the current page is the only page

public abstract boolean isOnlyPage();

// Returns TRUE if the current page is blank

// (isFirstPage() should be TRUE)

public abstract boolean isEmptyPage();



関連項目