public class EntryQueryTag extends QueryTag
検索結果の DBTableModel を使用せず、直接エントリーデータを登録するタグです。 このオブジェクトに、 dbid を与えることにより、dbid に対応した Queryオブジェクト(のサブクラスのオブジェクト)が作成されます。 ※ このタグは、Transaction タグの対象です。
●形式:
<og:entryQuery
queryType = "JDBCKeyEntry"
command = "{@command}" >
{ call DYNAMIC_PKG.DYNAMIC_TEST( ?,?,?,? ) }
</og:query>
queryType : Queryオブジェクトを作成する時のキー(オプション)
QueryFactory参照
command : 処理コマンド ( NEWのみ )(オプション)
skipRowCount : データの読み始めの初期値を指定(オプション)
maxRowCount : データの最大読み込み件数を指定(オプション)
●body:あり(EVAL_BODY_BUFFERED:BODYを評価し、{@XXXX} を解析します)
●Tag定義:
<og:entryQuery
queryType ○【TAG】Query を発行する為のクラスIDを指定します(<a href="/gf/jsp/DOC03/index.jsp?command=NEW&GAMENID=DOC03&VERNO=7.1.0.0&VALUENAME=queryType" target="CONTENTS">初期値:JDBCKeyEntry</a>)(必須)。
command 【TAG】コマンド (NEW,RENEW)をセットします(PlsqlUpdateTag,UpdateTag の場合は、ENTRY)
scope 【TAG】キャッシュする場合のスコープ[request/page/session/application]を指定します(初期値:session)
maxRowCount 【TAG】(通常は使いません)データの最大読み込み件数を指定します (初期値:DB_MAX_ROW_COUNT[=1000])
skipRowCount 【TAG】(通常は使いません)データの読み始めの初期値を指定します
displayMsg 【TAG】検索結果を画面上に表示するメッセージリソースIDを指定します (初期値:VIEW_DISPLAY_MSG[=])
notfoundMsg 【TAG】検索結果がゼロ件の場合に表示するメッセージリソースIDを指定します(初期値:MSG0077[対象データはありませんでした])
names 【TAG】PL/SQLを利用する場合の引数にセットすべき データの名称をCSV形式で複数指定します
tableId 【TAG】(通常は使いません)結果のDBTableModelを、sessionに登録するときのキーを指定します
dbid 【TAG】(通常は使いません)Queryオブジェクトを作成する時のDB接続IDを指定します
useSLabel 【TAG】7.0.7.0 (2019/12/13) エラーメッセージにSLABELを利用するかどうか[true/false]を指定します(初期値:false)
caseKey 【TAG】このタグ自体を利用するかどうかの条件キーを指定します(初期値:null)
caseVal 【TAG】このタグ自体を利用するかどうかの条件値を指定します(初期値:null)
caseNN 【TAG】指定の値が、null/ゼロ文字列 でない場合(Not Null=NN)は、このタグは使用されます(初期値:判定しない)
caseNull 【TAG】指定の値が、null/ゼロ文字列 の場合は、このタグは使用されます(初期値:判定しない)
caseIf 【TAG】指定の値が、true/TRUE文字列の場合は、このタグは使用されます(初期値:判定しない)
debug 【TAG】デバッグ情報を出力するかどうか[true/false]を指定します(初期値:false)
> ... Body ...
</og:entryQuery>
●使用例
例1)
<table><tr><og:input name="PN" value="{@PN}" /></tr>
<tr><og:input name="CD" value="{@CD}" /></tr>
</table>
例2)
<table><tr><og:input name="PN" value="{@PN}" >部品入力フィールド</og:input></tr>
<tr><og:input name="CD" value="{@CD}" >コードフィールド</og:input></tr>
</table>
BODY 部分は、無視されます。コメント等に使用できます。
HTMLファイルには、コメント部分は出力されません。CMD_NEW, CMD_RENEW, command, dispError, displayMsg, dyStart, ERR_MSG_ID, errCode, errMessage, executeCount, maxRowCount, names, outMessage, quotCheck, skipRowCount, sql, stopError, table, tableId, useSLabel, useTimeView, xssCheckBR, BUFFER_MIDDLE, CRbodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| コンストラクタと説明 |
|---|
EntryQueryTag()
デフォルトコンストラクター
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
execute(Query query)
Query を実行します。
|
protected java.lang.String[] |
getRequestKeys()
リクエスト情報のキー配列データを取得します。
|
void |
setQueryType(java.lang.String id)
【TAG】Query を発行する為のクラスIDを指定します()。
|
addPlaceValue, doAfterBody, doEndTag, doStartTag, getRequest, release2, setCheckNames, setCommand, setDbid, setDispError, setDisplayMsg, setMainTrans, setMaxRowCount, setModifyType, setNames, setNotfoundMsg, setOutMessage, setOverflowMsg, setQuotCheck, setSkipRowCount, setStopError, setStopZero, setTableId, setTrace, setUseBeforeHtmlTag, setUseSLabel, setUseTimeView, setXssCheck, toStringadd, add, addEventColumn, addEventColumn, check, commitTableObject, debugPrint, doCatch, doFinally, get, getApplicationInfo, getAttributes, getBodyRawString, getBodyString, getContextAttribute, getContextPath, getCookie, getCSVParameter, getCSVParameter, getDataCondition, getDateFormat, getDBColumn, getDBFunctionName, getDocumentLink, getGUIInfo, getGUIInfoAttri, getHostName, getLabel, getLabelInterface, getLanguage, getLASTAttri, getLongLabel, getMsg, getMsglbl, getNVLAttri, getObject, getParameterNames, getParameterRows, getRequest, getRequestAttribute, getRequestCacheData, getRequestMethod, getRequestParameter, getRequestParameterValues, getRequestValue, getRequestValue, getRequestValues, getReservedParameter, getReservedValue, getResource, getSanitizedBodyString, getScope, getSessionAttribute, getSumRequestValue, getTagName, getTransaction, getUser, getUserEditInfo, getUserInfo, isAjaxSubmitRequest, isDebug, isNoTransitionRequest, isNull, jspPrint, makeUrl, removeContextAttribute, removeObject, removeRequestAttribute, removeSessionAttribute, set, setAjaxSubmitRequest, setCaseIf, setCaseKey, setCaseNN, setCaseNull, setCaseVal, setContextAttribute, setCookie, setDebug, setLanguage, setLbl, setNoTransitionRequest, setObject, setObject, setParameterNames, setParameterRows, setRequestAttribute, setRequestCacheData, setScope, setSessionAttribute, setUserInfo, startQueryTransaction, sys, sysBool, sysInt, useMainTrans, useQuotCheck, useTag, useXssCheckdoInitBody, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParent, setPageContext, setParentpublic EntryQueryTag()
protected void execute(Query query)
protected java.lang.String[] getRequestKeys()
public void setQueryType(java.lang.String id)
setQueryType クラス内 QueryTagid - Queryを発行する為の実クラスIDQueryのサブクラス,
Query.execute( String[] , String[] )Webアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.