public class ProcessTag extends CommonTagSupport
●形式:<og:process processID="ZZZ" > <og:param key="AAA" value="111" /> </og:process > ●body:あり(EVAL_BODY_BUFFERED:BODYを評価し、{@XXXX} を解析します) ●Tag定義: <og:process processID ○【TAG】リクエスト情報 に登録するキーをセットします(必須)。 debug 【TAG】デバッグ情報を出力するかどうか[true/false]を指定します(初期値:false) > ... Body ... </og:process> ●使用例 一般的な変数の渡し方 <og:mainProcess > <og:process processID="DBReader" > <og:param key="dbid" value="FROM" /> <og:param key="sql" value="select * from GE02" /> </og:process > <og:process processID="DBWriter" > <og:param key="dbid" value="TO" /> <og:param key="table" value="GE02" /> </og:process > </og:mainProcess > BODY 部に記述した変数の渡し方 <og:process processID="DBReader" > <og:param key="SQL" > SELECT COUNT(*) FROM GEA03 WHERE SYSTEM_ID=[SYSTEM_ID] AND CLM=[CLM] AND FGJ = '1' </og:param> </og:process >
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
コンストラクタと説明 |
---|
ProcessTag() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
addParam(String key,
String value)
親クラスに登録するキーをセットします。
|
int |
doStartTag()
Taglibの開始タグが見つかったときに処理する doStartTag() を オーバーライドします。
|
protected void |
release2()
タグリブオブジェクトをリリースします。
|
void |
setProcessID(String pid)
【TAG】リクエスト情報 に登録するキーをセットします。
|
String |
toString()
このオブジェクトの文字列表現を返します。
|
add, add, addEventColumn, addEventColumn, check, check, commitTableObject, debugPrint, doAfterBody, doCatch, doEndTag, doFinally, get, getApplicationInfo, getAttributes, getBodyRawString, getBodyString, getContextAttribute, getContextPath, getCookie, getCSVParameter, getDataCondition, getDateFormat, getDBColumn, getDBFunctionName, getDocumentLink, getGUIInfo, getGUIInfoAttri, getHostName, getLabel, getLabelInterface, getLanguage, getLASTAttri, getLongLabel, getMsglbl, getNVLAttri, getObject, getParameterNames, getParameterRows, getRequest, getRequestAttribute, getRequestCacheData, getRequestMethod, getRequestParameter, getRequestParameterValues, getRequestValue, getRequestValue, getRequestValues, getReservedParameter, getReservedValue, getResource, getSanitizedBodyString, getScope, getSessionAttribute, getTagName, getUser, getUserEditInfo, getUserInfo, isAjaxSubmitRequest, isDebug, isNoTransitionRequest, isNull, jspPrint, removeContextAttribute, removeObject, removeRequestAttribute, removeSessionAttribute, set, setAjaxSubmitRequest, 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, useXssCheck
doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getParent, setPageContext, setParent
public ProcessTag()
public int doStartTag()
doStartTag
インタフェース内 Tag
doStartTag
クラス内 CommonTagSupport
4.3.1.1 (2008/09/04) DBParam 使用時は、専用の初期化メソッドを呼ぶ |
protected void release2()
release2
クラス内 CommonTagSupport
public void setProcessID(String pid)
pid
- リクエスト情報に登録するキーHybsProcessのサブクラス
processID は、org.opengion.fukurou.process.HybsProcess インターフェースを実装した Process_**** クラスの **** を与えます。 これらは、HybsProcess インターフェースを継承したサブクラスである必要があります。 標準で、org.opengion.fukurou.process 以下の Process_**** クラスが、Process_**** 宣言 と して、定義されています。 属性クラス定義の HybsProcess を参照願います。 process Process_**** クラス
protected void addParam(String key, String value)
key
- 登録するキーvalue
- 登録する値public String toString()
toString
クラス内 CommonTagSupport
Webアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.