ERMODQueryPage
Last modified by Ken Ishimoto on 2011/10/02 16:13
エンティティ検索の ERMODQueryPage
例: NavigationController
public WOComponent queryCustomerAction() {
return queryPageForEntityName(M_Customer.ENTITY_NAME);
}
例:NavigationD2WControllerBase
public WOComponent queryPageForEntityName(String entityName) {
QueryPageInterface newQueryPage = D2W.factory().queryPageForEntityNamed(entityName, session());
return (WOComponent) newQueryPage;
}
public class ERMODQueryPage extends ERD2WQueryPageTemplate
クエリ・ページ
- @d2wKey headerComponentName - タイトルの表示ブロック ERMD2WSimpleHeader
- @d2wKey showTopActionBlock - 上側のアクション・ブロックを表示するかどうか (boolean=false)
- @d2wKey showBottomActionBlock - 下側のアクション・ブロックを表示するかどうか (boolean=true)
- @d2wKey classForTopActionBlock - 上側のアクション・ブロックの div エレメントの class 名 ERMDDefaultCSSAssignment
- @d2wKey classForBottomActionBlock - 下側のアクション・ブロックの div エレメントの class 名 ERMDDefaultCSSAssignment
- @d2wKey shouldShowDefaultPageButtons - 標準アクション・ボタンを表示するかどうか (boolean=true)
- @d2wKey shouldShowCancelButton - キャンセル・ボタンを表示するかどうか ( ERMODQueryPage.showCancel() )
- @d2wKey idForParentMainContainer - Ajax 更新領域 ID ERMDDefaultCSSAssignment
- @d2wKey useAjaxControlsWhenEmbedded - Ajax 使用時の場合は true (boolean=false, embedded の場合は true)
- @d2wKey actionBarComponentName - ActionBar 処理コンポーネント ERMDActionBar
- @d2wKey controllerButtonComponentName - Controller 処理コンポーネント ERDControllerButton
- @d2wKey classForInnerWrapper - プロパティ枠の div エレメントの class 名 ERMDDefaultCSSAssignment
- @d2wKey showListInSamePage - true にセットするとリスト表示がクエリ・ページと同ページで表示される (boolean=null)
- @d2wKey listConfigurationName - 表示するリストの pageConfiguration 名
- @d2wKey clearButtonLabel - 「消去」ボタン・ラベル
- @d2wKey findButtonLabel - 「検索」ボタン・ラベル
- @d2wKey returnButtonLabel - 「戻る」ボタン・ラベル

プロパティ詳細
プロパティ詳細を表示するには ERMDQueryPageRepetition を参照します。
デリゲート
検証:queryValidationDelegate ERDQueryValidationDelegate
検索:queryDataSourceDelegate ERDQueryDataSourceDelegateInterface
ルール
313 : pageConfiguration = 'QueryModel'
=> queryDataSourceDelegate = "net.yesgrp.delegates.query.ModelQueryDelegate"
[er.directtoweb.ERDDelayedObjectCreationAssignment]