001    /*
002     * Copyright (c) 2009 The openGion Project.
003     *
004     * Licensed under the Apache License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     *     http://www.apache.org/licenses/LICENSE-2.0
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
013     * either express or implied. See the License for the specific language
014     * governing permissions and limitations under the License.
015     */
016    package org.opengion.hayabusa.taglib;
017    
018    import static org.opengion.fukurou.util.StringUtil.nval;
019    
020    import java.io.IOException;
021    import java.io.ObjectInputStream;
022    import java.io.ObjectOutputStream;
023    import java.util.ArrayList;
024    import java.util.List;
025    import java.util.Locale;
026    import java.util.Map;
027    
028    import org.opengion.fukurou.util.StringUtil;
029    import org.opengion.fukurou.util.XHTMLTag;
030    import org.opengion.hayabusa.common.HybsSystem;
031    import org.opengion.hayabusa.common.HybsSystemException;
032    import org.opengion.hayabusa.db.DBColumn;
033    import org.opengion.hayabusa.db.DBColumnConfig;
034    import org.opengion.hayabusa.db.DBEditConfig;
035    import org.opengion.hayabusa.db.DBLastSql;
036    import org.opengion.hayabusa.db.DBTableModel;
037    import org.opengion.hayabusa.db.DBTableModelSorter;
038    import org.opengion.hayabusa.html.FormatterType;
039    import org.opengion.hayabusa.html.TableFormatter;
040    import org.opengion.hayabusa.html.ViewCrossTableParam;
041    import org.opengion.hayabusa.html.ViewForm;
042    import org.opengion.hayabusa.html.ViewFormFactory;
043    import org.opengion.hayabusa.html.ViewMarker;
044    import org.opengion.hayabusa.resource.RoleMode;
045    import org.opengion.hayabusa.resource.UserInfo;
046    import org.opengion.hayabusa.resource.GUIInfo;
047    
048    /**
049     * ãƒ??タベã?ã‚¹ã®æ¤œç´¢çµæžœã‚’表示ã™ã‚‹ã‚¿ã‚°ã§ã™ã?
050     *
051     * æ¤œç´¢çµæžœã¯ã€DBTableModel ã«ã‚»ãƒ?ƒˆã•れã¾ã™ã?
052     * ã“ã?ã‚¿ã‚°ã«ã€ãƒ‡ãƒ¼ã‚¿(DBTableModel)ã¨ã€?
053     * コントローラ(ViewForm)を与ãˆã¦ã€?外部ã‹ã‚‰ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã™ã‚‹ã“ã¨ã§ã€ãƒ†ã‚­ã‚¹ãƒˆãƒ•ィールドやãƒ??ブルã®å½¢ã§è¡¨ç¤ºã—ãŸã‚Šã?
054     * 入力å¯/ä¸å¯ã€è¡¨ç¤ºå¯/ä¸å¯ã®è¨­å®šã‚’行ã†ã“ã¨ãŒã§ãã¾ã™ã?
055     *
056     * @og.formSample
057     * â—å½¢å¼ï¼?lt;og:view />
058     *     <og:view
059     *         viewFormType = "HTMLTable"
060     *         command      = "{@command}"
061     *         startNo      = "0"
062     *         pageSize     = "20"
063     *         language     = "ja" />
064     *
065     *     viewFormType : ViewFormオブジェクトを作æ?ã™ã‚‹æ™‚ã?キー(オプション)     ViewFormFactoryå‚ç?
066     *     command      : 処ç?‚³ãƒžãƒ³ãƒ? PREV,NEXT,FIRST,LAST,VIEW )(オプション)
067     *     startNo      : ãƒ??ã‚¿ã®æ›¸ãå§‹ã‚ã®åˆæœŸå€¤ã‚’指å®?オプション)
068     *     pageSize     : ãƒ??ã‚¿ã®ãƒšã?ジ数(ç”»é¢è¡¨ç¤ºä»¶æ•°)を指å®?オプション)
069     *     language     : ロケール(オプション)
070     *
071     * â—body?šã‚ã‚?EVAL_BODY_BUFFERED:BODYを評価ã—ã?{@XXXX} ã‚’è§£æžã—ã¾ã?
072     *
073     * â—Tag定義??
074     *   <og:view
075     *       viewFormType       ã€TAG】ViewForm オブジェクトを作æ?ã™ã‚‹ã‚¯ãƒ©ã‚¹({@og.doc03Link viewFormType ViewForm_**** クラス})を指定ã—ã¾ã?
076     *       command            ã€TAG】コマンãƒ?PREV,NEXT,FIRST,LAST,NEW,RENEW,VIEW,REVIEW,RESET)ã‚’ã‚»ãƒ?ƒˆã—ã¾ã?
077     *       scope              ã€TAG】キャãƒ?‚·ãƒ¥ã™ã‚‹å ´åˆã?スコープ[request/page/session/applicaton]を指定ã—ã¾ã?åˆæœŸå€¤:session)
078     *       startNo            ã€TAG】表示ãƒ??タを作æ?ã™ã‚‹å ´åˆã?表示ã®é–‹å§‹è¡Œç•ªå·ã‚’ã‚»ãƒ?ƒˆã—ã¾ã?
079     *       pageSize           ã€TAG】表示ãƒ??タを作æ?ã™ã‚‹å ´åˆã??‘ã?ージã®è¡Œæ•°ã‚’ã‚»ãƒ?ƒˆã—ã¾ã?
080     *       pagePlus           ã€TAG】1ã?ージã®è¡Œæ•°ã®å¢—加åˆ?‚’ã‚»ãƒ?ƒˆã—ã¾ã?åˆæœŸå€¤:0)
081     *       writable           ã€TAGã€‘è¡ŒãŒæ›¸ãè¾¼ã¿å¯èƒ½ã‹ã©ã?‹[true/false]を設定ã—ã¾ã?(åˆæœŸå€¤:DBTableModel#DEFAULT_WRITABLE[=true])
082     *       checked            ã€TAG】行ã?ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®åˆæœŸå€¤ã‚’設定ã™ã‚‹ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?åˆæœŸå€¤:null)
083     *       rowspan            ã€TAG】表示ãƒ??タを作æ?ã™ã‚‹å ´åˆã?フォーマットã?行数をセãƒ?ƒˆã—ã¾ã?åˆæœŸå€¤:2)
084     *       skip               ã€TAG】NEXTç­‰ã§ã€?¸æŠžè¡Œä»¥å¤–をスキãƒ??ã™ã‚‹ã®ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?(åˆæœŸå€¤:ViewForm#DEFAULT_SKIP[=false])
085     *       columnWritable     ã€TAG】書ãè¾¼ã¿å¯èƒ½ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã?
086     *       noWritable         ã€TAG】書ãè¾¼ã¿ä¸å¯ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã?
087     *       columnDisplay      ã€TAG】表示å¯èƒ½ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã?
088     *       clmSeqDisplay      ã€TAG】表示å¯èƒ½ã‚«ãƒ©ãƒ?ã‚’ã?カラãƒ??ã«ã€ã‚«ãƒ³ãƒžåŒºåˆ?‚Šã§ä¸Žãˆã¾ã?
089     *       noDisplay          ã€TAG】表示ä¸å¯ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã?
090     *       columnGroup        ã€TAG】åŒä¸?¡¨ç¤ºãƒ??ã‚¿ã‚’ã¾ã¨ã‚ã‚‹(表示ã—ãªã?カラãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã?
091     *       noGroup            ã€TAG】åŒä¸?¡¨ç¤ºãƒ??ã‚¿ã‚’ã¾ã¨ã‚ãªã?‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã?
092     *       groupClass         ã€TAG】åŒä¸?¡¨ç¤ºãƒ??ã‚¿ã‚’ã¾ã¨ã‚ã‚‹å ´åˆã?ã€è¡¨ç¤ºæ–¹æ³•ã‚’æŒ?®šã—ã¾ã?
093     *       tableSorterKeys    ã€TAG】カラãƒ?リンクソートを表示ã™ã‚‹ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã?
094     *       tableId            ã€TAGã€?通常使ã?¾ã›ã‚“)sessionã‹ã‚‰æ‰?¾—ã™ã‚?DBTableModelオブジェクトã? ID
095     *       viewFormId         ã€TAGã€?通常使ã?¾ã›ã‚“)sessionã‹ã‚‰å–å¾—ã™ã‚?ViewForm オブジェクトã? ID
096     *       viewLinkId         ã€TAGã€?通常ã¤ã‹ã„ã¾ã›ã‚“)requestã‹ã‚‰å–å¾—ã™ã‚?ViewLink ã«å¯¾å¿œã™ã‚?Attributes オブジェクトã? ID
097     *       viewMarkerId       ã€TAGã€?通常使ã?¾ã›ã‚“)requestã‹ã‚‰å–å¾—ã™ã‚?ViewMarker ã«å¯¾å¿œã™ã‚?Attributes オブジェクトã? ID
098     *       editMarkerId       ã€TAGã€?通常使ã?¾ã›ã‚“)requestã‹ã‚‰å–å¾—ã™ã‚?EditMarker ã«å¯¾å¿œã™ã‚?Attributes オブジェクトã? ID
099     *       selectedType       ã€TAG】表示時ã?é¸æŠžç”¨ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã?タイプ[checkbox/radio/hidden]を指定ã—ã¾ã?åˆæœŸå€¤:checkbox)
100     *       numberType         ã€TAG】表示時ã?行番å·ã®è¡¨ç¤ºæ–¹æ³•[sequence/none/delete/skip=カラãƒ?/view=カラãƒ?]を指定ã—ã¾ã?åˆæœŸå€¤:sequence)
101     *       optionTypeAttributes        ã€TAG】テーブル等ã?ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã«å±žæ?を付加ã—ã¾ã?
102     *       noMessage          ã€TAGã€‘æ¤œç´¢çµæžœãƒ¡ãƒ?‚»ãƒ¼ã‚¸ã‚’表示ã—ãªã?‹ã©ã?‹[true/false]を設定ã—ã¾ã?åˆæœŸå€¤:false[表示ã™ã‚‹])
103     *       backLinkCount      ã€TAG】ã?ージã®å…ˆé?ã¸ã®ãƒªãƒ³ã‚¯ã®é–“隔をセãƒ?ƒˆã—ã¾ã?(åˆæœŸå€¤:VIEW_BACK_LINK_COUNT[=0])
104     *       headerSkipCount    ã€TAG】ã?ãƒ?ƒ€ãƒ¼ã‚’å?力ã™ã‚‹é–“隔をセãƒ?ƒˆã—ã¾ã?åˆæœŸå€¤:シスãƒ?ƒ ãƒ‘ラメータ ã® VIEW_HEADER_SKIP_COUNT)
105     *       useCheckControl    ã€TAG】ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®å…¨ãƒã‚§ãƒ?‚¯ã‚’é¸æŠžã™ã‚‹JavaScript ã®æ©Ÿè?を使用ã™ã‚‹ã‹ã©ã?‹ã‚’指定ã—ã¾ã?(åˆæœŸå€¤:VIEW_USE_CHECK_CONTROL[=true])
106     *       useTableSorter     ã€TAG】ã?ãƒ?ƒ€ãƒ¼ã«ã‚½ãƒ¼ãƒˆç”¨ãƒªãƒ³ã‚¯ã‚’作æ?ã™ã‚‹ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?(åˆæœŸå€¤:VIEW_USE_TABLE_SORTER[=true])
107     *       useParam           ã€TAG】パラメーターファイルã®ä½¿ç”¨ã‚’ã™ã‚‹ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?åˆæœŸå€¤:false)
108     *       useConsistency     ã€TAG】Consistency キー ã«ã‚ˆã‚‹æ•´åˆæ?ãƒã‚§ãƒ?‚¯ã‚’行ã†ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?åˆæœŸå€¤:true)
109     *       bgColorCycle       ã€TAG】テーブルã®ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰ã‚«ãƒ©ãƒ¼ã®å…¥ã‚Œæ›¿ãˆã?サイクルをセãƒ?ƒˆã—ã¾ã?åˆæœŸå€¤ã¯ã€?:ゼブラ)
110     *       bgColorClsClm      ã€TAG】テーブルã®ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰ã‚«ãƒ©ãƒ¼ã®ã‚¯ãƒ©ã‚¹ã«æŒ?®šã™ã‚‹ã‚«ãƒ©ãƒ?を指定ã—ã¾ã?
111     *       useScrollBar       ã€TAG】スクロールãƒã?用ã®DIVè¦ç´?‚’出力ã™ã‚‹ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?(åˆæœŸå€¤:VIEW_USE_SCROLLBAR[=true])
112     *       loadMarker         ã€TAG】viewLink ã‚?viewMarker ã®æƒ??å–り込ã¿ã‚’制御ã™ã‚‹(åˆæœŸå€¤ã¯ã€NEW,RENEW,REVIEW,RESET)
113     *       useSelectedRow     ã€TAG】SEL_ROW機è?[true:有効/false:無効]を指定ã—ã¾ã?(åˆæœŸå€¤:VIEW_USE_SELECTED_ROW[=true])
114     *       useSelRowColor     ã€TAG】SEL_ROW使用時ã?é¸æŠžè¡Œè‰²å¤‰æ›´[true:有効/false:無効]を指定ã—ã¾ã?(åˆæœŸå€¤:VIEW_USE_SELROW_COLOR[=true])
115     *       useHilightRow      ã€TAG】HILIGHT_ROW機è?[true:有効/false:無効]を指定ã—ã¾ã?(åˆæœŸå€¤:VIEW_USE_HILIGHT_ROW[=true])
116     *       useAfterHtmlTag    ã€TAGã€?処ç?™‚間やペã?ジサイズãªã©ã®æƒ??出力[true:有効/false:無効]を指定ã—ã¾ã?åˆæœŸå€¤:true)
117     *       writableControl    ã€TAG】設定å?ã« "_" ãŒå«ã¾ã‚Œã¦ã?‚‹å ´åˆã«ãƒ¬ãƒ³ãƒ?ƒ©ãƒ¼ã‚’使用ã™ã‚‹ã‚«ãƒ©ãƒ?‚’CSVå½¢å¼ã§æŒ?®šã—ã¾ã?
118     *       popupReturnKeys    ã€TAG】ogPopup ã§æ¤œç´¢çµæžœã®å€¤ã‚’è¿”ã™ã‚­ãƒ¼ã‚’ã?CSVå½¢å¼ã§æŒ?®šã—ã¾ã?
119     *       clazz              ã€TAG】tableè¦ç´?«å¯¾ã—㦠class 属æ?を設定ã—ã¾ã?åˆæœŸå€¤:viewTable)
120     *       language           ã€TAG】タグå†?ƒ¨ã§ä½¿ç”¨ã™ã‚‹è¨?ªžã‚³ãƒ¼ãƒ‰[ja/en/zh/…]を指定ã—ã¾ã?
121     *       height             ã€TAG】ビューã®é«˜ã•を指定ã—ã¾ã?
122     *       width              ã€TAG】ビューã®å¹?‚’æŒ?®šã—ã¾ã?
123     *       fileDwnClms        ã€TAG】ファイルãƒ?‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰æ™‚ã®æŠœå?カラãƒ?(CSVå½¢å¼?を指定ã—ã¾ã?
124     *       skipNoEdit         ã€TAG】編é›?¡Œã?ã¿ã‚’表示ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã?
125     *       noTransition       ã€TAGã€?通常ã¯ä½¿ã?¾ã›ã‚“)ç”»é¢é·ç§»ã‚’行ã‚ãªã?½¢å¼ã?登録方法を使用ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã?
126     *       useHilightCheckOnlyã€TAGã€‘é¸æŠžè¡Œãƒã‚¤ãƒ©ã‚¤ãƒˆã?制御をãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®ã¿ã§æœ‰åйã«ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã?(åˆæœŸå€¤:VIEW_USE_HILIGHT_CHECK_ONLY[=false])
127     *       columnBulkSet      ã€TAG】ä¸?‹¬å…¥åŠ›ã‚«ãƒ©ãƒ??アシスト機è?を利用ã™ã‚‹ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã?
128     *       caseKey            ã€TAG】ã“ã®ã‚¿ã‚°è‡ªä½“を利用ã™ã‚‹ã‹ã©ã?‹ã®æ¡ä»¶ã‚­ãƒ¼ã‚’指定ã—ã¾ã?åˆæœŸå€¤:null)
129     *       caseVal            ã€TAG】ã“ã®ã‚¿ã‚°è‡ªä½“を利用ã™ã‚‹ã‹ã©ã?‹ã®æ¡ä»¶å€¤ã‚’指定ã—ã¾ã?åˆæœŸå€¤:null)
130     *       caseNN             ã€TAG】指定ã?値ãŒã?null/ゼロæ–?­—å? ã§ãªã??å?Not Null=NN)ã¯ã€ã“ã®ã‚¿ã‚°ã¯ä½¿ç”¨ã•れã¾ã?åˆæœŸå€¤:true)
131     *       caseNull           ã€TAG】指定ã?値ãŒã?null/ゼロæ–?­—å? ã®å ´åˆã?ã€ã“ã®ã‚¿ã‚°ã¯ä½¿ç”¨ã•れã¾ã?åˆæœŸå€¤:true)
132     *       mainView           ã€TAGã€?通常ã¯ä½¿ã?¾ã›ã‚“)ã‚»ãƒ?‚·ãƒ§ãƒ³ã«æƒ??を登録ã™ã‚‹ã‹ã©ã?‹[true/false]æŒ?®šã—ã¾ã™ã?(åˆæœŸå€¤:true)
133     *       debug              ã€TAG】デãƒãƒƒã‚°æƒ??ã‚’å?力ã™ã‚‹ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?åˆæœŸå€¤:false)
134     *   >   ... Body ...
135     *   </og:view>
136     *
137     * â—使用ä¾?
138     *       <og:view viewFormId="HTMLTable" command="NEW" startNo="0" pageSize="5" / >
139     *
140     * @og.group ç”»é¢è¡¨ç¤º
141     *
142     * @version  4.0
143     * @author       Kazuhiko Hasegawa
144     * @since    JDK5.0,
145     */
146    public class ViewFormTag extends CommonTagSupport {
147            //* ã“ã?プログラãƒ??VERSIONæ–?­—å?を設定ã—ã¾ã™ã?       {@value} */
148            private static final String VERSION = "5.5.9.0 (2012/12/03)" ;
149    
150            private static final long serialVersionUID = 559020121203L ;
151    
152            /** command å¼•æ•°ã«æ¸¡ã™äº‹ã?出æ¥ã‚?コマンãƒ? プレビュー {@value}  */
153            public static final String CMD_PREV  = "PREV" ;
154            /** command å¼•æ•°ã«æ¸¡ã™äº‹ã?出æ¥ã‚?コマンãƒ? ãƒã‚¯ã‚¹ãƒ?{@value}  */
155            public static final String CMD_NEXT  = "NEXT" ;
156            /** command å¼•æ•°ã«æ¸¡ã™äº‹ã?出æ¥ã‚?コマンãƒ? ファースãƒ?{@value}  */
157            public static final String CMD_FIRST = "FIRST";
158            /** command å¼•æ•°ã«æ¸¡ã™äº‹ã?出æ¥ã‚?コマンãƒ? ラスãƒ?{@value}  */
159            public static final String CMD_LAST  = "LAST" ;
160            /** command å¼•æ•°ã«æ¸¡ã™äº‹ã?出æ¥ã‚?コマンãƒ? æ–°è¦?{@value}  */
161            public static final String CMD_NEW       = "NEW" ;
162            /** command å¼•æ•°ã«æ¸¡ã™äº‹ã?出æ¥ã‚?コマンãƒ? 冿¤œç´¢ {@value}  */
163            public static final String CMD_RENEW = "RENEW" ;
164            /** command å¼•æ•°ã«æ¸¡ã™äº‹ã?出æ¥ã‚?コマンãƒ? 表示 {@value}  */
165            public static final String CMD_VIEW  = "VIEW" ;
166            /** command å¼•æ•°ã«æ¸¡ã™äº‹ã?出æ¥ã‚?コマンãƒ? å†è¡¨ç¤º {@value}  */
167            public static final String CMD_REVIEW  = "REVIEW" ;
168            /** command å¼•æ•°ã«æ¸¡ã™äº‹ã?出æ¥ã‚?コマンãƒ? リセãƒ?ƒˆ {@value}  */
169            public static final String CMD_RESET  = "RESET" ;
170            /** command å¼•æ•°ã«æ¸¡ã™äº‹ã?出æ¥ã‚?コマンãƒ?リスãƒ? */
171            private static final String[] COMMAND_LIST = new String[] {
172                            CMD_PREV , CMD_NEXT , CMD_FIRST , CMD_LAST , CMD_NEW , CMD_RENEW , CMD_VIEW , CMD_REVIEW , CMD_RESET };
173    
174            // 3.8.0.8 (2005/10/03)
175            /** コマンドリストã«å­˜åœ¨ã—ãªã??åˆã?値 従æ¥ã® CMD_VIEW ã¨åŒºåˆ¥ã•ã›ã‚‹ãŸã‚ã? */
176            private static final String CMD_XXX  = "XXX" ;
177    
178            private   static final String START_NO_KEY              = "startNo";
179            private   static final String PAGE_SIZE_KEY     = "pageSize";
180            private   static final String PAGE_PLUS_KEY     = "pagePlus";
181    
182    //      private   static final String DEF_NUMBER_TYPE   = "sequence";   // 5.3.0.0 (2010/12/01) åˆæœŸå€¤ã‚’色ã€?½¿ã??ã§å®šç¾©
183    
184            // 3.5.6.3 (2004/07/12) スクロールãƒã?用ã®DIV è¦ç´?±žæ?定義
185    
186            private String          tableId                 = HybsSystem.TBL_MDL_KEY;
187            private String          viewFormId              = HybsSystem.VIEWFORM_KEY;
188            private String          viewFormType    = null;
189            private String          viewLinkId              = HybsSystem.VIEWLINK_KEY;
190            private String          viewMarkerId    = HybsSystem.VIEW_MARK_KEY;
191            private String          editMarkerId    = HybsSystem.EDIT_MARK_KEY;             // 3.8.6.1 (2006/10/20)
192            private String          command                 = null;
193            private int                     startNo                 = -1;           // HTMLç”»é¢ä¸Šã?表示開始ä½ç½®(åˆæœŸå€¤)
194            private int                     tempStartNo             = -1;           // 冿¤œç´¢æ™‚ã?表示開始ä½ç½®
195            private int                     pageSize                = -1;           // HTMLç”»é¢ä¸Šã«è¡¨ç¤ºã™ã‚‹ä»¶æ•°
196            private int                     pagePlus                = -1;           // 3.5.6.4 (2004/07/16)
197            private transient DBTableModel  table           = null;
198            private transient ViewForm              form            = null;
199            private String          columnWritable  = null;
200            private String          noWritable              = null;
201            private String          columnDisplay   = null;
202            private String          noDisplay               = null;
203            private String          clmSeqDisplay   = null;         // 5.1.6.0 (2010/05/01) ViewForm_HTMLSeqClmTable 対�
204            private String          columnGroup             = null;         // 3.8.5.0 (2006/03/20)
205            private String          noGroup                 = null;         // 5.1.8.0 (2010/07/01)
206            private String          groupClass              = null;         // 5.1.8.0 (2010/07/01)
207            private boolean         noMessage               = false;
208            private String          writable                = null;
209            private String          checked                 = null;
210            private boolean         skip                    = ViewForm.DEFAULT_SKIP;
211            private String          rowspan                 = "2";
212            private String          selectedType    = "checkbox";
213            private String          numberType              = "sequence";           // 3.5.1.0 (2003/10/03) 追�
214            private String          optTypeAttri    =  null;
215    //      private String[]        changeLabelKeys = null;
216    //      private String[]        changeLabelVals = null;
217            private int                     backLinkCount   = HybsSystem.sysInt( "VIEW_BACK_LINK_COUNT" );
218            private int                     headerSkipCount = HybsSystem.sysInt( "VIEW_HEADER_SKIP_COUNT" );        // 0:通常ヘッãƒ??n:n回ã”ã¨ã«ç¾ã‚Œã‚‹
219            private List<TableFormatter>              values                  = null;
220            private String          bodyString              = null;
221            private int                     useCheckControl = -1 ;
222            private String          useTableSorter  = null ;        // 3.5.4.7 (2004/02/06)
223    
224            private long dyStart = 0;       // 3.5.4.7 (2004/02/06) 実行時間測定用ã®DIVè¦ç´?‚’出力ã—ã¾ã™ã?
225            private boolean         useParam                = false;        // 3.5.4.8 (2004/02/23) パラメータTagã®ä½¿ç”¨ã‚’宣è¨?—ã¾ã™ã?
226            private Map<String,String> viewParam = null;      // 3.5.4.8 (2004/02/23) ViewParamTag ã®ãƒ‘ラメータをå—ã‘å–りã¾ã™ã?
227    //      private Map<String,Object> viewObject = null;     // 3.5.4.8 (2004/02/23) ViewParamTag ã®ãƒ‘ラメータをå—ã‘å–りã¾ã™ã? 5.5.9.0 (2012/12/03)削除
228            private ArrayList<String[]> viewArrayList = null; // 5.5.9.0 (2012/12/03) viewObjectã‹ã‚‰å¤‰æ›´
229    
230            // 3.5.5.8 (2004/05/20) æ•´åˆæ?ãƒã‚§ãƒ?‚¯ã‚’行ã†ç‚ºã®ã€Consistency キー ã‚’å?力ã™ã‚‹ã‹ã©ã?‹ã‚’指定ã—ã¾ã™ã?
231            private boolean         useConsistency  = HybsSystem.sysBool( "USE_CONSISTENCY" ) ;
232    
233            // 3.5.6.2 (2004/07/05) ゼブラ模様ã?æŒ?®šã‚’ã€ViewForm ã¨ã—ã¦ã‚µãƒã?ãƒ?
234            // 0(ゼブラãªã?ã€?1(ワーニング)ã€?2以ä¸?エラー)ã€?(ゼブラ)ã€?以ä¸?行数ã¾ã¨ã‚?
235            private int bgColorCycle = 1 ;
236    
237            // 5.1.8.0 (2010/07/01) 行ã«å¯¾ã—ã¦ã€å‹•çš?«ã‚¯ãƒ©ã‚¹å±žæ?を付与ã™ã‚‹ã‚«ãƒ©ãƒ?を指定ã—ã¾ã™ã?
238            private String bgColorClsClm = null;
239    
240            private String          useScrollBar    = null ;
241    
242            // 3.6.0.0 (2004/09/17) カラãƒ?‚½ãƒ¼ãƒˆãƒªãƒ³ã‚¯ã‚’å?ã™ã‚«ãƒ©ãƒ?を指定ã?
243            private String          sortKeys        = null;
244    
245            // 3.6.0.4 (2004/10/14) viewLink ã‚?viewMarker ã®æƒ??å–り込ã¿ã‚’制御
246            // å‰å¾Œã? , ãŒé‡è¦ã§ã™ï¼?
247            private String          loadMarker      = ",NEW,RENEW,REVIEW,RESET,";
248    
249            // 3.7.1.1 (2005/05/23) SEL_ROW機è?ã®æœ‰åй/無効を指定ã—ã¾ã™ã?
250            private String          useSelectedRow  = null ;
251    
252            // 3.7.1.1 (2005/05/31) SEL_ROW機è?使用時ã«ã€BG_COLOR_ROWSEL ã®ä½¿ç”¨ æœ?無を指定ã—ã¾ã™ã?
253            private String          useSelRowColor  = null;
254    
255            // 3.7.1.1 (2005/05/23) 処ç?™‚間やペã?ジサイズãªã©ã®æƒ??出力ã?有効/無効を指定ã—ã¾ã™ã?
256            private boolean         useAfterHtmlTag = true ;
257    
258            // 3.8.0.9 (2005/10/17) 設定å?ã« "_" ãŒå«ã¾ã‚Œã¦ã?‚‹å ´åˆã«ã€ãƒ¬ãƒ³ãƒ?ƒ©ãƒ¼ã‚’使用ã—ã¾ã™ã?
259            private String          writableControl = null;
260    
261            // 3.8.6.0 (2006/09/29) HILIGHT_ROW機è?ã®æœ‰åй/無効を指定ã—ã¾ã™ã?
262            private String          useHilightRow   = null;
263    
264            // 3.8.6.1 (2006/10/20) ogPopup ã§æ¤œç´¢çµæžœã®å€¤ã‚’è¿”ã™ã‚­ãƒ¼ã‚’ã?CSVå½¢å¼ã§æŒ?®šã—ã¾ã™ã?
265            private String          popupReturnKeys = null ;
266    
267            // 4.0.0 (2007/04/16) tableã‚¿ã‚°ã‚’å?力ã™ã‚‹ã¨ãã«ä»˜ä¸Žã—ã¾ã™ã?
268            private String          clazz                   = "viewTable";
269    
270            // 4.2.0.0 (2008/03/18) ビューã®å¹?¨é«˜ã•を指定ã§ãるよã†ã«ã—ã¾ã™ã?
271            private String          height                  = null;
272            private String          width                   = null;
273    
274            // 4.3.0.0 (2008/07/04) fileUD ファイルãƒ?‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰æ™‚ã®æŠœå?カラãƒ?(CSVå½¢å¼?
275            private String          fileDwnClms             = null ;
276    
277            // 4.3.1.0 (2008/09/08)
278            private boolean         skipNoEdit              = false;
279    
280            // 4.3.3.0 (2008/10/01)
281            private boolean         noTransition    = false;
282    
283            // 4.3.7.0 (2009/06/01) HILIGHT_ROW機è?有効時ã«åˆ¶å¾¡ã‚’行ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®ã¿ã«ã—ã¾ã™ã?
284            private String          useHilightCheckOnly     = null;
285    
286            // 5.2.1.0 (2010/10/01) ä¸?‹¬å…¥åŠ›ã‚«ãƒ©ãƒ??アシスト機è?を利用ã™ã‚‹ã‚«ãƒ©ãƒ?‚’æŒ?®šã—ã¾ã™ã?
287            private String          columnBulkSet   = null;
288            private boolean         useDefBulkset   = HybsSystem.sysBool( "VIEW_USE_DEFAULT_BULKSET" ) ;
289            
290            // 5.7.6.1 (2014/05/09) startNoã®ã‚»ãƒ?‚·ãƒ§ãƒ³ä¿å­˜ã‚’æŒ?®šã—ã¾ã™ã?
291            private boolean         isMainView              = true; 
292    
293            /**
294             * Taglibã®é–‹å§‹ã‚¿ã‚°ãŒè¦‹ã¤ã‹ã£ãŸã¨ãã«å‡¦ç?™ã‚?doStartTag() ã‚?オーãƒã?ライドã—ã¾ã™ã?
295             *
296             * @og.rev 3.5.4.7 (2004/02/06) DBTableModelã®ã‚½ãƒ¼ãƒˆæ©Ÿè? useTableSorter を追åŠ?
297             * @og.rev 3.5.4.7 (2004/02/06) 実行時間測定用ã«ã€?–‹å§‹æ™‚刻をå–å¾—ã—ã¾ã™ã?
298             * @og.rev 3.5.4.8 (2004/02/23) useParam ã‚’ã?BODY部ã®å‡¦ç?ˆ¤å®šã«åŠ?ˆã¾ã™ã?
299             * @og.rev 3.5.6.0 (2004/06/18) DBRowHeader ã®ãƒ‘ッケージプライベã?ト化ã«ä¼´ãªã?¤‰æ›´
300             * @og.rev 3.5.6.1 (2004/06/25) viewFormType変更時ã?viewForm å†ã‚»ãƒ?ƒˆ
301             * @og.rev 3.5.6.2 (2004/07/05) command="VIEW" ãªã©ã§ã€ã‚りãˆãªã?¨ã—ã¦ã?Ÿå‡¦ç?‚’追åŠ?
302             * @og.rev 3.5.6.3 (2004/07/12) markerSet ã§ table ã®æ•´åˆæ?ã‚‚ãƒã‚§ãƒ?‚¯ã™ã‚‹ã€?
303             * @og.rev 3.5.6.4 (2004/07/16) DBTableModelã®ã‚½ãƒ¼ãƒˆæ™‚ã«ã¯ã€viewã‚’å?期設定ã™ã‚‹ã?
304             * @og.rev 3.6.0.0 (2004/09/17) scope ã?request ã®å ´å?検索)ヘッãƒ??ソートリンクã¯ä½¿ãˆãªã??
305             * @og.rev 3.6.0.0 (2004/09/22) pageSize ã® form ã¸ã®è¨­å®šè¦‹ç›´ã—ã?
306             * @og.rev 3.6.0.0 (2004/09/25) viewLink , viewMarker ã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆãƒ¡ãƒ¢ãƒªå‰Šé™¤ã®ä¸­æ­¢
307             * @og.rev 3.6.0.4 (2004/10/14) viewLink ã‚?viewMarker ã®æƒ??å–り込ã¿ã‚’制御ã™ã‚‹ loadMarker を追åŠ?
308             * @og.rev 3.6.0.5 (2004/10/18) viewLink , viewMarker ã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆãƒ¡ãƒ¢ãƒªå‰Šé™¤ã‚’復活ã—ã¾ã™ã?
309             * @og.rev 3.8.0.8 (2005/10/03) ヘッãƒ??ソート時ã«ã€startNo ã‚?0 ã«æˆ»ã—ã¾ã™ã?
310             * @og.rev 3.8.8.5 (2007/03/09) markerSet ã™ã‚‹æ¡ä»¶ã‚’強化ã™ã‚‹ã?
311             * @og.rev 3.8.8.9 (2007/05/29) ソート時ã®viewLink,viewMarker ã®å–り込ã¿
312             * @og.rev 3.8.9.3 (2007/08/28) soryKeysã®ã¿ã‚’指定ã—ãŸå?åˆã«ã€ã‚½ãƒ¼ãƒˆç”¨ã®ãƒ??ブルモãƒ?ƒ«ãŒä½œæ?ã•れãªã?ƒã‚°ã‚’修正ã€?
313             * @og.rev 4.1.0.0(2008/01/11)シスãƒ?ƒ ãƒ‘ラメータ(useCheckControl)ã®èª­å–ã? doEndTag 関数ã‹ã‚‰ doStartTag 関数ã«ç§»å‹•ã—ã¾ã™ã?
314             * @og.rev 5.1.6.0 (2010/05/01) ViewForm_HTMLSeqClmTable クラス ã«ã‚ˆã‚‹ã‚«ãƒ©ãƒ?¡¨ç¤ºé ??ç?‚’行ã„ã¾ã™ã?
315             * @og.rev 5.1.6.0 (2010/05/01) å·¦å³åˆ?‰²ã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«ç”»é¢ã§ãƒ˜ãƒƒãƒ??スクロールã?回å?ç?•れるãƒã‚°ã‚’修正
316             * @og.rev 5.1.6.0 (2010/05/01) ユーザー毎ã?ç”»é¢é ?›®ä¸¦ã³æ›¿ãˆå¯¾å¿?
317             * @og.rev 5.1.7.0 (2010/06/01) ViewFormã«ç”»é¢IDã‚’ã‚»ãƒ?ƒˆã—ã?ã‚»ãƒ?ƒˆã•れãŸç”»é¢IDã¨åŒã˜å ´åˆã?ã¿ViewFormを復å…?™ã‚‹ã?
318             * @og.rev 5.1.7.0 (2010/06/01) DBColumnã®{&#064;XXXX}変数対å¿?
319             * @og.rev 5.1.7.0 (2010/06/01) ヘッãƒ??ソート後ã«ç”»é¢é·ç§»ã—ã?戻ã£ã¦ããŸéš›ã«startNoãŒã‚¯ãƒªã‚¢ã•れるãƒã‚°ã‚’修正
320             * @og.rev 5.1.8.0 (2010/07/01) å…¨ãƒã‚§ãƒ?‚¯ã‚’押ã—ãŸçŠ¶æ…‹ã§ç”»é¢é·ç§»ã—ãŸå ´åˆã«ãƒã‚§ãƒ?‚¯çŠ¶æ…‹ã‚’ä¿æŒã™ã‚‹ã€?
321             * @og.rev 5.1.8.0 (2010/07/01) åŒæ™‚設定ä¸å¯(columnWritable,noWritable,columnDisplay,noDisplay,columnGroup,noGroup) ãƒã‚§ãƒ?‚¯
322             * @og.rev 5.2.2.0 (2010/11/01) caseKey ã€caseVal 属æ?対å¿?
323             * @og.rev 5.3.0.0 (2010/12/01) å·¦å³åˆ?‰²ã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«(SplitViewTag)対å¿?
324             * @og.rev 5.3.6.0 (2011/06/01) Edit機è?見直ã?
325             * @og.rev 5.4.1.0 (2011/11/01) 5.1.8.0 (2010/07/01)ã®å…¨ãƒã‚§ãƒ?‚¯ä¿æŒæ©Ÿè?ã‚’å»?­¢
326             *
327             * @return      後続å?ç??æŒ?¤º
328             */
329            @Override
330            public int doStartTag() {
331                    // 5.3.0.0 (2010/12/01) å·¦å³åˆ?‰²ã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«(SplitViewTag)対å¿?
332                    splitViewParamSet();
333    
334                    // 5.2.2.0 (2010/11/01) caseKey ã€caseVal 属æ?対å¿?
335                    if( !useTag() ) { return ( SKIP_BODY ); }       // Body を評価ã—ãªã?
336    
337                    // 5.1.8.0 (2010/07/01) åŒæ™‚設定ä¸å¯(columnWritable,noWritable,columnDisplay,noDisplay,columnGroup,noGroup) ãƒã‚§ãƒ?‚¯
338                    if( columnWritable != null && noWritable != null ) {
339                            String errMsg = "columnWritable 㨠noWritable ã¯åŒæ™‚ã«æŒ?®šã§ãã¾ã›ã‚“ã€?
340                                                            + "columnWritable = [" + columnWritable
341                                                            + "] , noWritable = [" + noWritable
342                                                            + "]";
343                            throw new HybsSystemException( errMsg );
344                    }
345    
346                    if( columnDisplay != null && noDisplay != null ) {
347                            String errMsg = "columnDisplay 㨠noDisplay ã¯åŒæ™‚ã«æŒ?®šã§ãã¾ã›ã‚“ã€?
348                                                            + "columnDisplay = [" + columnDisplay
349                                                            + "] , noDisplay = [" + noDisplay
350                                                            + "]";
351                            throw new HybsSystemException( errMsg );
352                    }
353    
354                    if( columnGroup != null && noGroup != null ) {
355                            String errMsg = "columnGroup 㨠noGroup ã¯åŒæ™‚ã«æŒ?®šã§ãã¾ã›ã‚“ã€?
356                                                            + "columnGroup = [" + columnGroup
357                                                            + "] , noGroup = [" + noGroup
358                                                            + "]";
359                            throw new HybsSystemException( errMsg );
360                    }
361    
362                    dyStart = System.currentTimeMillis();
363                    table = (DBTableModel)getObject( tableId );
364                    if( table == null ) { return(SKIP_BODY); }
365    
366                    // 5.1.6.0 (2010/05/01)ViewForm_HTMLSeqClmTable クラス ã«ã‚ˆã‚‹ã‚«ãƒ©ãƒ?¡¨ç¤ºé ??ç?‚’行ã„ã¾ã™ã?
367                    // clmSeqDisplay 属æ?ãŒè¨­å®šã•れã¦ã?‚‹ã¨ã€ã‚¯ãƒ©ã‚¹æŒ?®šã‚’変更ã—ã?columnDisplay ã«ã€clmSeqDisplay ã‚?
368                    // 設定ã—ã€noDisplay ã‚’ã?削除(null ã‚’ã‚»ãƒ?ƒˆ)ã—ã¾ã™ã?
369                    if( clmSeqDisplay != null ) {
370                            viewFormType    = "HTMLSeqClmTable" ;
371                            columnDisplay   = clmSeqDisplay;
372                            noDisplay               = null;
373                    }
374                    // 5.1.6.0 (2010/05/01) seqClmTableを使用ã™ã‚‹ã‹ã©ã?‹ã‚’ãƒã‚§ãƒ?‚¯ã—ã¾ã?
375                    // 5.3.6.0 (2011/06/01) Edit機è?見直ã—ã«ã‚ˆã‚Šãƒ¡ã‚½ãƒ?ƒ‰å変更
376    //              checkUseSeqClmTable();
377                    String editName = getRequestValue( "editName" );
378                    if( editName != null ) {
379                            String guikey = getGUIInfoAttri( "KEY" );
380                            DBEditConfig config = getUser().getEditConfig( guikey, editName );
381                            if( config != null ) {
382                                    makeEditTable( config );
383                            }
384                    }
385    
386                    // 5.1.7.0 (2010/06/01) DBColumnã®{@XXXX}変数対å¿?
387                    int clmSize = table.getColumnCount();
388                    for( int clmNo=0; clmNo<clmSize; clmNo++ ) {
389                            DBColumn dbColumn = table.getDBColumn( clmNo );
390                            if ( dbColumn.isNeedsParamParse() ){
391                                    DBColumnConfig config = dbColumn.getConfig();
392                                    config.setRendererParam( getRequestParameter( config.getRendererParam() ) );
393                                    config.setEditorParam( getRequestParameter( config.getEditorParam() ) );
394                                    DBColumn newColumn = new DBColumn( config );
395                                    table.setDBColumn( clmNo, newColumn );
396                            }
397                    }
398    
399                    // 3.8.8.9 (2007/05/29) ソート時㮠viewLink,viewMarker ã®å–り込ã¿
400                    boolean useSorter = false;
401    
402                    // 3.5.4.7 (2004/02/06) DBTableModelã®ã‚½ãƒ¼ãƒˆæ©Ÿè? 追åŠ?
403                    // 登録後ã«åŒã˜ã‚½ãƒ¼ãƒˆé?ã§å†è¡¨ç¤ºã•ã›ã‚‹ãŸã‚ã«ã€ãƒªã‚¯ã‚¨ã‚¹ãƒˆã‚­ãƒ£ãƒ?‚·ãƒ¥ã«ç™»éŒ²ã—ã¾ã™ã?
404                    // 3.8.9.3 (2007/08/28) soryKeysã®ã¿ã‚’指定ã—ãŸå?åˆã«ã€ã‚½ãƒ¼ãƒˆç”¨ã®ãƒ??ブルモãƒ?ƒ«ãŒä½œæ?ã•れãªã?ƒã‚°ã‚’修正ã€?
405                    // 5.1.6.0 (2010/05/01) å·¦å³åˆ?‰²ã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«ç”»é¢ã§ãƒ˜ãƒƒãƒ??スクロールã?回å?ç?•れるãƒã‚°ã‚’修正
406                    if( "session".equals( getScope() )
407                            && ( nval( useTableSorter,sysBool( "VIEW_USE_TABLE_SORTER" ) ) || sortKeys != null )
408                            && !( table.getConsistencyKey().equals( getRequestAttribute( HybsSystem.VIEW_SORT_KEY ) ) ) ) {
409    
410                            String clm = getRequestValue( HybsSystem.SORT_COLUMNS );
411                            // 若干トリãƒ?‚­ãƒ¼ã€‚å?ã‚ã¦ã‚¯ãƒªãƒ?‚¯ã•れるã¾ã§ã€DBTableModelSorter ã¯ä½œæ?ã—ãªã??
412                            if( clm != null && clm.length() > 0 ) {
413                                    useSorter = true;       // 3.8.8.9 (2007/05/29)
414                                    startQueryTransaction( tableId );               // 3.6.0.8 (2004/11/19)
415                                    int clmNo = table.getColumnNo( clm );
416                                    boolean sortAscending = nval( getRequestValue( HybsSystem.SORT_ASCENDING ),true );
417                                    if( table instanceof DBTableModelSorter ) {
418                                            if( !CMD_RESET.equals( command ) ) {
419                                                    ((DBTableModelSorter)table).sortByColumn( clmNo );
420                                            }
421                                                    sortAscending = ((DBTableModelSorter)table).isAscending() ;     // ソート方å?
422                                    }
423                                    else {
424                                            DBTableModelSorter temp = new DBTableModelSorter();
425                                            temp.setModel( table );
426                                            temp.sortByColumn( clmNo,sortAscending );
427                                            table = temp;
428                                    }
429                                    // 3.6.0.8 (2004/11/19) トランザクションãƒã‚§ãƒ?‚¯ã‚’行ã„ã¾ã™ã?
430                                    if( ! commitTableObject( tableId, table ) ) {
431                                            jspPrint( "ViewFormTag Query処ç?Œå‰²ã‚Šè¾¼ã¾ã‚Œã¾ã—ãŸã€?BTableModel ã¯ç™»éŒ²ã—ã¾ã›ã‚“ã€? );
432                                            return (SKIP_PAGE);
433                                    }
434                                    if( CMD_VIEW.equals( command ) ) {
435                                            setRequestCacheData( HybsSystem.SORT_COLUMNS,clm );
436                                            setRequestCacheData( HybsSystem.SORT_ASCENDING,String.valueOf( sortAscending ) );
437                                    }
438    
439                                    // 5.1.6.0 (2010/05/01)
440                                    setRequestAttribute( HybsSystem.VIEW_SORT_KEY, table.getConsistencyKey() );
441    
442                                    // 3.8.0.8 (2005/10/03) ヘッãƒ??ソート時ã«ã€startNo ã‚?0 ã«æˆ»ã—ã¾ã™ã?
443                                    // 5.1.7.0 (2010/06/01) ヘッãƒ??ソート後ã«ç”»é¢é·ç§»ã—ã?戻ã£ã¦ããŸéš›ã«startNoãŒã‚¯ãƒªã‚¢ã•れるãƒã‚°ã‚’修正
444                                    if( !CMD_RENEW.equals( command ) ) {
445                                            startNo = 0;
446                                            tempStartNo = startNo;
447                                    }
448                            }
449                    }
450    
451                    if( CMD_NEW.equals( command ) || CMD_RENEW.equals( command ) || CMD_REVIEW.equals( command ) || CMD_RESET.equals( command ) ) {
452                            form = ViewFormFactory.newInstance( viewFormType );             // 3.5.6.1 (2004/06/25)
453    //                      dbChangeLabel();
454                            form.init( table );
455                            table.setDefaultRowWritable( DBTableModel.DEFAULT_WRITABLE );
456                            table.setDefaultRowChecked(  DBTableModel.DEFAULT_CHECKED );
457                    }
458                    else {
459                            // 3.5.6.1 (2004/06/25) viewFormType変更時ã?viewForm å†ã‚»ãƒ?ƒˆ
460                            ViewForm oldForm = (ViewForm)getObject( viewFormId );
461                            // 5.1.7.0 (2010/06/01) ViewFormã«ç”»é¢IDã‚’ã‚»ãƒ?ƒˆã—ã?ã‚»ãƒ?ƒˆã•れãŸç”»é¢IDã¨åŒã˜å ´åˆã?ã¿ViewFormを復å…?™ã‚‹ã?
462    //                      if( oldForm != null ) {
463                            if( oldForm != null && getGUIInfoAttri( "KEY" ).equals( oldForm.getGamenId() ) ) {
464                                    if( oldForm.getViewFormType().equals( viewFormType ) ) {
465                                            form = oldForm ;
466                                    }
467                                    else {
468                                            form = ViewFormFactory.newInstance( viewFormType );
469                                    }
470                                    form.init( table );
471                                    // 3.5.6.3 (2004/07/12) markerSet ã§ table ã®æ•´åˆæ?ã‚‚ãƒã‚§ãƒ?‚¯ã™ã‚‹ã€?
472                                    DBTableModel oldTable = oldForm.getDBTableModel();
473                                    if( table.getConsistencyKey().equals( oldTable.getConsistencyKey() ) ) {
474                                            // 3.8.8.5 (2007/03/09) markerSet ã™ã‚‹æ¡ä»¶ã‚’強化ã™ã‚‹ã?
475                                            // 3.8.8.9 (2007/05/29) ソート時㮠viewLink,viewMarker ã®å–り込ã¿
476                                            if( "true".equalsIgnoreCase( loadMarker ) ||
477                                                    loadMarker.indexOf( "," + command + "," ) >= 0 ||
478                                                    useSorter ) {
479                                                            form.markerSet( oldForm );
480                                            }
481                                    }
482                            }
483                            else {
484                                    // 3.5.6.2 (2004/07/05) command="VIEW" ãªã©ã§ã€ã‚りãˆãªã?¨ã—ã¦ã?Ÿå‡¦ç?‚’追åŠ?
485                                    form = ViewFormFactory.newInstance( viewFormType );
486                                    form.init( table );
487                            }
488                    }
489    
490                    // 5.1.7.0 (2010/06/01) ViewFormã«ç”»é¢IDã‚’ã‚»ãƒ?ƒˆã—ã?ã‚»ãƒ?ƒˆã•れãŸç”»é¢IDã¨åŒã˜å ´åˆã?ã¿ViewFormを復å…?™ã‚‹ã?
491                    form.setGamenId( getGUIInfoAttri( "KEY" ) );
492    
493                    // 3.6.0.4 (2004/10/14) ViewMarker ç­‰ã?ã‚»ãƒ?ƒˆã¯ã€loadMarker ã§åˆ¶å¾¡ã—ã¾ã™ã?
494                    if( "true".equalsIgnoreCase( loadMarker ) ||
495                            loadMarker.indexOf( "," + command + "," ) >= 0 ) {
496                            ViewMarker viewLink = (ViewMarker)getRequestAttribute( viewLinkId );
497                            if( viewLink != null ) {
498                                    form.setViewLink( viewLink );
499                                    removeRequestAttribute( viewLinkId );   // 3.6.0.5 (2004/10/18) 復活
500                            }
501    
502                            ViewMarker viewMarker = (ViewMarker)getRequestAttribute( viewMarkerId );
503                            if( viewMarker != null ) {
504                                    form.setViewMarker( viewMarker );
505                                    removeRequestAttribute( viewMarkerId ); // 3.6.0.5 (2004/10/18) 復活
506                            }
507    
508                            // 3.8.6.1 (2006/10/24) editMarker を追åŠ?™ã‚‹ã?
509                            ViewMarker editMarker = (ViewMarker)getRequestAttribute( editMarkerId );
510                            if( editMarker != null ) {
511                                    form.setEditMarker( editMarker );
512                                    removeRequestAttribute( editMarkerId );
513                            }
514                    }
515                    // 3.8.0.5 (2005/08/26) false ã®å ´åˆã?ã€ç„¡æ¡ä»¶ã«ã€form ã®viewLinkã¨ViewMarkerをクリアã—ã¾ã™ã?
516                    if( "false".equalsIgnoreCase( loadMarker ) ) {
517                            form.setViewLink( null );
518                            form.setViewMarker( null );
519                            form.setEditMarker( null );             // 3.8.6.1 (2006/10/24)
520                    }
521                    // 4.1.0.0(2008/01/11)シスãƒ?ƒ ãƒ‘ラメータ(useCheckControl)ã®èª­å–ã? doEndTag 関数ã‹ã‚‰ doStartTag 関数ã«ç§»å‹•ã—ã¾ã™ã?
522                    if( useCheckControl < 0 ) {
523                            useCheckControl = intCase( sys( "VIEW_USE_CHECK_CONTROL" ) ) ;
524                    }
525                    // 5.1.8.0 (2010/07/01) å…¨ãƒã‚§ãƒ?‚¯ã‚’押ã—ãŸçŠ¶æ…‹ã§ç”»é¢é·ç§»ã—ãŸå ´åˆã«ãƒã‚§ãƒ?‚¯çŠ¶æ…‹ã‚’ä¿æŒã™ã‚‹ã€?
526    //              if( useCheckControl == 1 ) {
527    //                      useCheckControl = StringUtil.nval( getRequest().getParameter( "ALL_CHECK" ), useCheckControl );
528    //              }
529                    setTableRowWritable( table );
530    
531                    setDefaultParameter();
532    
533            //      if( pagePlus != 0 ) {   ※ ãªã?!= ã?£ãŸã?ã‹è¬Žã?pagePlusãŒã?イナス時ã???
534                    if( pagePlus > 0 ) {
535                            form.setPageSize( pageSize + pagePlus );
536                    }
537                    else {
538                            form.setPageSize( pageSize );                           // 3.6.0.0 (2004/09/22) 追�
539                    }
540    
541                    // 3.5.4.8 (2004/02/23)
542                    if( form.canUseFormat() || useParam ) { return( EVAL_BODY_BUFFERED ); } // JSP API 1.2
543    
544                    return( SKIP_BODY );
545            }
546    
547            /**
548             * Taglibã®ã‚¿ã‚°æœ¬ä½“を処ç?™ã‚?doAfterBody() ã‚?オーãƒã?ライドã—ã¾ã™ã?
549             *
550             * @og.rev 3.1.1.0 (2003/03/28) ボディã®å†?®¹ã‚’å–å¾—ã™ã‚‹å?ç?‚’ã€CommonTagSupport ã§è¡Œï½–ã†ã€?
551             * @og.rev 3.1.1.2 (2003/04/04) Tomcat4.1 対応ã?ボディãŒå­˜åœ¨ã™ã‚‹å ´åˆã?ã¿ãƒœãƒ‡ã‚£ãŒå‘¼ã°ã‚Œã‚‹å¯¾å¿œã?
552             * @og.rev 3.5.4.0 (2003/11/25) 外部ã‹ã‚‰ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆãŒæŒ?®šã•れãªã??åˆã?ã€å?部ã®ãƒ•ォーマットを登録ã™ã‚‹ã€?
553             * @og.rev 5.1.7.0 (2010/06/01) フォーマットã?{&#064;XXXX}ã®å€¤ã«[ãŒå«ã¾ã‚Œã‚‹å ´åˆã?ã€ã‚µã‚¤ãƒ‹ã‚¿ã‚¤ã‚º("\\]\\"ã«å¤‰æ›)ã™ã‚‹ã€?
554             *
555             * @return      後続å?ç??æŒ?¤º(SKIP_BODY)
556             */
557            @Override
558            public int doAfterBody() {
559    //              bodyString = getBodyString();
560                    bodyString = getSanitizedBodyString();
561                    return(SKIP_BODY);
562            }
563    
564            /**
565             * Taglibã®çµ‚äº?‚¿ã‚°ãŒè¦‹ã¤ã‹ã£ãŸã¨ãã«å‡¦ç?™ã‚?doEndTag() ã‚?オーãƒã?ライドã—ã¾ã™ã?
566             *
567             * @og.rev 3.0.1.3 (2003/03/11) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’ã€è¿½åŠ?
568             * @og.rev 3.1.1.2 (2003/04/04) Tomcat4.1 対応ã?release2() ã‚?doEndTag()ã§å‘¼ã¶ã€?
569             * @og.rev 3.5.0.0 (2003/03/28) noClass 属æ?ã®è¿½åŠ??ãŠã‚ˆã³ã€ãƒ­ã‚¸ãƒ?‚¯æ•´ç??
570             * @og.rev 3.5.1.0 (2003/10/03) numberType 属æ?ã®è¿½åŠ?
571             * @og.rev 3.5.2.0 (2003/10/20) headerSkipCount属æ?を追åŠ?
572             * @og.rev 3.5.2.0 (2003/10/20) form ã?null ã®å ´åˆã?æ¡ä»¶åˆ?²ã‚’追åŠ?
573             * @og.rev 3.5.3.1 (2003/10/31) Tableç³»ã®Viewã§ã€skip属æ?を使用ã™ã‚‹ã€?
574             * @og.rev 3.5.4.0 (2003/11/25) command="RESET"時ã«ã€æˆ»ã£ãŸç”»é¢ã®pageSize ãŒã‚¯ãƒªã‚¢ã•れã¦ã—ã¾ã?¯¾å¿œã?
575             * @og.rev 3.5.4.0 (2003/11/25) フォーマット文字å?ã‚’ã?TableFormatter オブジェクトを使用ã™ã‚‹ã‚ˆã†ã«å¤‰æ›´ã€?
576             * @og.rev 3.5.4.1 (2003/12/01) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’å»?­¢ã€?キャãƒ?‚·ãƒ¥ã‚’使用)
577             * @og.rev 3.5.4.3 (2004/01/05) useCheckControl属æ?を追åŠ?
578             * @og.rev 3.5.4.7 (2004/02/06) DBTableModelã®ã‚½ãƒ¼ãƒˆæ©Ÿè? useTableSorter を追åŠ?
579             * @og.rev 3.5.4.7 (2004/02/06) makeStartNoKeyメソãƒ?ƒ‰ã®å»?­¢(setRequestCacheDataを利用)
580             * @og.rev 3.5.4.7 (2004/02/06) 実行時間測定用ã®DIVè¦ç´?‚’出力ã—ã¦ãŠãã¾ã™ã?
581             * @og.rev 3.5.4.8 (2004/02/23) ViewParamTag ã®ãƒ‘ラメータを追åŠ?—ã¾ã™ã?
582             * @og.rev 3.5.5.5 (2004/04/23) DBTableModel ã®æ•´åˆæ?パラメータã‚?hidden ã§å‡ºåŠ›ã—ã¾ã™ã?
583             * @og.rev 3.5.5.8 (2004/05/20) makeConsistencyKey メソãƒ?ƒ‰ã«å‡¦ç?ƒ­ã‚¸ãƒ?‚¯ã‚’ç§»ã—ã¾ã™ã?
584             * @og.rev 3.5.6.2 (2004/07/05) bgColorCycle 変数ã®è¿½åŠ??
585             * @og.rev 3.5.6.4 (2004/07/16) スクロールãƒã?用ã®DIVè¦ç´??出åŠ?é–‹å§?
586             * @og.rev 3.6.0.0 (2004/09/17) カラãƒ?‚½ãƒ¼ãƒˆãƒªãƒ³ã‚¯ã‚’å?ã™ã‚«ãƒ©ãƒ?を指定ã?
587             * @og.rev 3.6.0.0 (2004/09/22) pageSize ã® hidden 出力ã?ã€å?期設定å?ã¨ã—ã¾ã™ã?
588             * @og.rev 3.7.0.3 (2005/03/01) æŒ?®šã?行番å·ã¾ã§ç”»é¢ã‚’スクロールã•ã›ã‚‹æ©Ÿè?を追åŠ??
589             * @og.rev 3.7.1.1 (2005/05/23) 処ç?™‚間やペã?ジサイズãªã©ã®æƒ??出力ã?有効/無効を指定ã—ã¾ã™ã?
590             * @og.rev 3.8.0.3 (2005/07/15) ヘッãƒ??固定ã?スクロールタイプをセãƒ?ƒˆã—ã¾ã™ã?
591             * @og.rev 3.8.0.9 (2005/10/17) writableControl 属æ?を追åŠ?—ã¾ã™ã?
592             * @og.rev 3.8.6.0 (2006/09/29) useHilightRow 属æ?を追åŠ?—ã¾ã™ã?
593             * @og.rev 3.8.6.1 (2006/10/20) ãƒãƒƒãƒ—ã‚¢ãƒ??ã§å€¤ã‚’è¿”ã™ã‚«ãƒ©ãƒ?–‡å­—å?(CSVå½¢å¼?
594             * @og.rev 4.0.0.0 (2007/11/27) ヘッãƒ??カラãƒ??エãƒ?‚£ã‚¿ãƒ¼ã€ãƒ¬ãƒ³ãƒ?ƒ©ãƒ¼é©ç”¨å¯¾å¿?
595             * @og.rev 4.1.2.0 (2008/03/12) columnWritable,noWritable ã«ã€?null" を指定å¯èƒ½ã¨ã™ã‚‹ã€?
596             * @og.rev 4.2.0.0 (2008/03/18) ビューã®é«˜ã•ã€å¹??æŒ?®šã‚’å¯èƒ½ã«ã—ã¾ã™ã?
597             * @og.rev 4.2.1.0 (2008/04/11) null ãƒã‚§ãƒ?‚¯æ–¹æ³•変更
598             * @og.rev 4.3.0.0 (2008/07/04) ロールモードã«ã‚ˆã‚‹è¨­å®?
599             * @og.rev 4.3.0.0 (2008/07/04) fileUD 対応ã?抜ã出ã™ã‚«ãƒ©ãƒ?‚’æŒ?®šã—ã¾ã™ã?
600             * @og.rev 4.3.1.0 (2008/09/08) canUseFormatã®ã‚¨ãƒ©ãƒ¼ãƒãƒ³ãƒ‰ãƒªãƒ³ã‚°ã¯å?‚µãƒ–クラスã§è¡Œã†ã€‚editOnly属æ?対応ã?
601             * @og.rev 4.3.3.0 (2008/10/01) noTransition 属æ?を追åŠ?—ã¾ã™ã?
602             * @og.rev 4.3.6.0 (2009/04/01) eventColumn対�
603             * @og.rev 4.3.7.0 (2009/06/01) 行ãƒã‚¤ãƒ©ã‚¤ãƒˆæ©Ÿè?ã§ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã§ã®ã¿ON/OFFãŒã§ãるオプションを追åŠ?
604             * @og.rev 4.3.8.0 (2009/08/01) noTransition値å–得メソãƒ?ƒ‰å変更
605             * @og.rev 5.1.3.0 (2010/02/01) noTransitionã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã¯ã€requestã§è¡Œã†ã€?
606             * @og.rev 5.1.6.0 (2010/05/01) fileDwnClmsãŒæŒ‡å®šã•れãªã??åˆã?ã€Viewã§è¡¨ç¤ºã•れãŸã‚«ãƒ©ãƒ?‚’ã‚»ãƒ?ƒˆ
607             * @og.rev 5.1.7.0 (2010/06/01) 動的プルãƒ?‚¦ãƒ³å®Ÿè£?¦‹ç›´ã?
608             * @og.rev 5.1.7.0 (2010/06/01) HilightRow用ã®Divã¯å¿?šå‡ºã?ç”»é¢é·ç§»ãªã—登録(JavaScript)ã®æ­£è¦è¡¨ç¾ã§ãƒžãƒƒãƒã•ã›ã‚‹ãŸã‚))
609             * @og.rev 5.1.8.0 (2010/07/01) form.setNoGroup( noGroup ) , form.setGroupClass( groupClass ) 追�
610             * @og.rev 5.1.8.0 (2010/07/01) form.setBgColorClsClm( bgColorClsClm ) 追�
611             * @og.rev 5.1.8.0 (2010/07/01) Divã‚’å¿?šå‡ºã™ã?ã¯ã€ç”»é¢é·ç§»ãªã—登録ã®å ´åˆã?ã¿ã¨ã™ã‚‹(CustomData対å¿?
612             * @og.rev 5.2.1.0 (2010/10/01) ä¸?‹¬å…¥åŠ›ã‚«ãƒ©ãƒ??アシスト機è?を利用ã™ã‚‹ã‚«ãƒ©ãƒ?‚’æŒ?®šã—ã¾ã™ã?(columnBulkSet)
613             * @og.rev 5.2.2.0 (2010/11/01) useHeaderColumn 属æ?ã‚’ã?ViewCrossTableParam.USE_HEADER_COLUMN をキーã«ã€å–å¾—ã™ã‚?
614             * @og.rev 5.2.2.0 (2010/11/01) caseKey ã€caseVal 属æ?対å¿?
615             * @og.rev 5.5.8.3 (2012/11/17) viewObject追�
616             * @og.rev 5.5.9.0 (2012/12/03) viewObjectã‚’viewArrayListã«å¤‰æ›´
617             * @og.rev 5.7.6.1 (2014/05/09) mainView対�
618             *
619             * @return      後続å?ç??æŒ?¤º
620             */
621            @Override
622            public int doEndTag() {
623                    debugPrint();           // 4.0.0 (2005/02/28)
624                    // 5.2.2.0 (2010/11/01) caseKey ã€caseVal 属æ?対å¿?
625                    if( !useTag() ) { return(EVAL_PAGE); }
626    
627                    // noTransition = isNoTransitionRequest() || noTransition; // 4.3.3.0 (2008/10/01) 追�
628    //              noTransition = isNoTransitionSession() || noTransition; // 4.3.8.0 (2009/08/01)
629                    noTransition = isNoTransitionRequest(); // 5.1.3.0 (2010/02/01)
630                    if( form == null ) { return(EVAL_PAGE); }       // 3.5.2.0 (2003/10/20)
631                    if( form.canUseFormat() ) {
632    //                      if( values == null && bodyString != null ) { // 4.3.1.0 (2008/09/08)
633                            if( values == null && bodyString != null && !useParam ) {
634                                    TableFormatter format = new TableFormatter();
635    //                              format.setFormatType( TableFormatter.TYPE_HEAD );
636                                    format.setFormatType( FormatterType.TYPE_HEAD );
637                                    format.setFormat( bodyString );
638                                    format.setRowspan( rowspan );
639                                    values = new ArrayList<TableFormatter>();
640                                    values.add( format );
641                                    form.setFormatterList( values );
642                            }
643                            else if( values != null ) {
644                                    form.setFormatterList( values );
645                            }
646                            // 4.3.1.0 (2008/09/08)
647    //                      else {
648    //                              String errMsg = "ViewTagã§ canUseFormat() = true ã®å ´åˆã?Formatter ã¯å¿??ã§ã™ã?";
649    //                              throw new HybsSystemException( errMsg );
650    //                      }
651                    }
652    
653                    if( table != null ) {
654                            // 4.1.2.0 (2008/03/12) columnWritable,noWritable ã«ã€?null" を指定å¯èƒ½ã¨ã™ã‚‹ã€?
655                            // 4.2.1.0 (2008/04/11) null ãƒã‚§ãƒ?‚¯æ–¹æ³•変更
656    //                      if( noWritable != null && columnWritable != null ) {
657    //                              String errMsg = "columnWritable 㨠noWritable ã¯åŒæ™‚ã«æŒ?®šã§ãã¾ã›ã‚“ã€?"
658    //                                                              + "columnWritable = " + columnWritable
659    //                                                              + " , noWritable = " + noWritable
660    //                                                              + "]";
661    //                              throw new HybsSystemException( errMsg );
662    //                      }
663    
664    //                      if( "null".equalsIgnoreCase( columnWritable ) ) {
665    //                              columnWritable = "" ;   noWritable = null;
666    //                      }
667    //                      else if( "null".equalsIgnoreCase( noWritable ) ) {
668    //                              columnWritable = null ; noWritable = "";
669    //                      }
670    
671                            // 4.2.0.0 (2008/03/18) ビューã®é«˜ã•ã€å¹?‚’æŒ?®šã™ã‚‹ã?null回é¿ã¯AbstractViewFormã§è¡Œã†
672                            form.setHeight( height );
673                            form.setWidth( width );
674    
675                            form.setColumnWritable( columnWritable );
676                            form.setNoWritable( noWritable );
677                            form.setColumnDisplay( columnDisplay );
678                            form.setNoDisplay( noDisplay );
679                            form.setColumnGroup( columnGroup );                             // 3.8.5.0 (2006/03/20)
680                            form.setNoGroup( noGroup );                                             // 5.1.8.0 (2010/07/01) 追�
681                            form.setGroupClass( groupClass );                               // 5.1.8.0 (2010/07/01) 追�
682                            form.setTableSorterKeys( sortKeys );                    // 3.6.0.0 (2004/09/17) 追�
683                            form.setNoMessage( noMessage );
684                            form.setSelectedType( selectedType );
685    //                      if( useCheckControl < 0 ) {
686    //                              useCheckControl = intCase( sys( "VIEW_USE_CHECK_CONTROL" ) ) ;
687    //                      }
688                            form.setUseCheckControl( useCheckControl );             // 3.5.4.3 (2004/01/05) 追�
689                            form.setNumberType( numberType );                               // 3.5.1.0 (2003/10/03) 追�
690                            form.setOptionTypeAttributes( optTypeAttri );
691                            form.setBackLinkCount( backLinkCount );
692                            form.setHeaderSkipCount( headerSkipCount );             // 3.5.2.0 (2003/10/20) 追�
693                            if( useParam ) { 
694                                    form.setParam( viewParam );     // 3.5.4.8 (2004/02/23)
695    //                              form.setViewObject( viewObject ); // 5.5.8.3 (2012/11/17)
696                                    form.setViewArrayList( viewArrayList ); // 5.5.9.0 (2012/12/03)
697                            }
698                            form.setBgColorCycle( bgColorCycle );                   // 3.5.6.2 (2004/07/05) 追�
699                            form.setBgColorClsClm( bgColorClsClm );                 // 5.1.8.0 (2010/07/01) 追�
700                            form.setWritableControl( writableControl );             // 3.8.0.9 (2005/10/17) 追�
701    
702                            // 5.2.1.0 (2010/10/01) åˆæœŸãƒãƒ«ã‚¯ã‚»ãƒ?ƒˆã?true ã§ã€ã‹ã¤ã€å¤‰æ•°ãŒæœªè¨­å®šã?å ´åˆã?ã€å?カラãƒ?*)é¸æŠžã¨ã™ã‚‹ã€?
703                            if( useDefBulkset && columnBulkSet == null ) { columnBulkSet = "*"; }
704                            // selectedType ã?radio ã®å ´åˆã?ã€ã‚«ãƒ©ãƒ??設定を行ã‚ãªã??
705                            if( "radio".equalsIgnoreCase( selectedType ) ) { columnBulkSet = null; }
706                            form.setColumnBulkSet( columnBulkSet );                 // 5.2.1.0 (2010/10/01) 追�
707    
708                            // 3.6.0.0 (2004/09/22) pageSize ã® hidden 出力ã?ã€å?期設定å?ã¨ã—ã¾ã™ã?
709                            int oldPageSize = pageSize;
710                            pageSize = form.getPageSize();
711                            commandExec( command );
712    
713                            form.setStartNo( startNo );
714                            form.setSkip( skip );                                                   // 3.5.3.1 (2003/10/31)
715                            form.setSkipNoEdit( skipNoEdit );                               // 4.3.1.0 (2008/09/08)
716                            boolean useTblSorter = "session".equals( getScope() ) &&
717                                                    nval( useTableSorter,sysBool( "VIEW_USE_TABLE_SORTER" ) );
718                            form.setUseTableSorter( useTblSorter );         // 3.5.4.7 (2004/02/06)
719    
720                            // 3.6.0.0 (2004/09/17)
721                            // tableSorter 時ã?リンクã«è¿½åŠ?™ã‚‹ãƒªã‚¯ã‚¨ã‚¹ãƒˆå¤‰æ•°ã®ã‚­ãƒ£ãƒ?‚·ãƒ¥Mapを追åŠ?™ã‚‹ã?
722                            if( useTblSorter || sortKeys != null ) {
723                                    // 4.0.0 (2005/01/31)
724                                    String memKey = HybsSystem.REQ_CACHE_KEY + getGUIInfoAttri( "KEY" );
725                                    Map<?,?> mem = (Map<?,?>)getSessionAttribute( memKey );             // 4.3.3.6 (2008/11/15) Generics警告対�
726                                    form.makeTableSorterQuery( mem );
727                            }
728    
729                            // 3.5.6.4 (2004/07/16) スクロールãƒã?用ã®DIVè¦ç´??出åŠ?é–‹å§?
730                            // 3.8.0.3 (2005/07/15) ヘッãƒ??固定ã?スクロールタイプをセãƒ?ƒˆã—ã¾ã™ã?
731                            // 4.0.0 (2007/04/10) ヘッãƒ??固定ã?スクロールタイプã?ã€ä¸?¤ã«ã™ã‚‹ã€?
732            //              String hctype = (String)getRequest().getAttribute( HybsSystem.HEADER_FIX_TYPE );
733                            boolean useScBar = nval( useScrollBar,sysBool( "VIEW_USE_SCROLLBAR" ) );
734            //              form.setUseScrollBar( useScBar,hctype );
735                            form.setUseScrollBar( useScBar );
736    
737                            // 3.8.6.1 (2006/10/20) ãƒãƒƒãƒ—ã‚¢ãƒ??ã§å€¤ã‚’è¿”ã™ã‚«ãƒ©ãƒ?–‡å­—å?(CSVå½¢å¼?
738                            form.setPopupReturnKeys( popupReturnKeys );
739                            form.setTableClass( clazz );            // 4.0.0 (2007/04/16)
740    
741                            // 3.7.0.3 (2005/03/01) æŒ?®šã?行番å·ã¾ã§ç”»é¢ã‚’スクロールã•ã›ã‚‹æ©Ÿè?を追åŠ??{I} ã¯ç„¡è¦–ã™ã‚‹ã?
742                            String rowval = nval( getRequestValue( "SEL_ROW" ),null ) ;
743    
744                            boolean useSelRow = nval( useSelectedRow,sysBool( "VIEW_USE_SELECTED_ROW" ) );
745                            if( useSelRow && rowval != null && !rowval.equalsIgnoreCase( "{I}" ) ) {
746                                    boolean useSelRowClr = nval( useSelRowColor,sysBool( "VIEW_USE_SELROW_COLOR" ) ) ;
747                                    form.setScrollRowNo( Integer.parseInt( rowval ),useSelRowClr );
748                            }
749    
750                            // 4.0.0 (2005/11/30) カラãƒ?ƒ­ãƒ¼ãƒ«ã‚’判定ã—ã¦ã€ã‚¢ã‚¯ã‚»ã‚¹ä¸å¯ã®å ´åˆã?表示ã•ã›ãªã?‚ˆã?«ã™ã‚‹ã€?
751                            int clmSize = table.getColumnCount();
752                            UserInfo userInfo = getUser();
753                            for( int clmNo=0; clmNo<clmSize; clmNo++ ) {
754                                    DBColumn dbColumn = table.getDBColumn( clmNo );
755    
756                                    // 4.3.6.0 (2009/04/01) ã‚»ãƒ?‚·ãƒ§ãƒ³ã«ç”ŸSQLを登録
757                                    // 5.1.7.0 (2010/06/01) 動的プルãƒ?‚¦ãƒ³å®Ÿè£?¦‹ç›´ã?
758                                    String evCol = dbColumn.getEventColumn();
759                                    if( evCol != null && evCol.length() > 0 ){
760    //                                      addEventColumnSQL( dbColumn.getName(), dbColumn.getRawParam() );
761                                            addEventColumn( dbColumn );
762                                    }
763    
764                                    // 4.3.0.0 (2008/07/04) ロールモードã«ã‚ˆã‚‹è¨­å®?
765                                    byte bitMode = userInfo.getAccessBitMode( dbColumn.getRoleMode() );
766                                    // アクセスä¸è¨±å¯ã®å ´åˆã?ã¿ã€ã‚»ãƒ?ƒˆã™ã‚‹ã€?
767                                    // ãれ以外ã?ã€columnDisplay ,noDisplay 属æ?ãŒé©ç”¨ã•れã¦ã?‚‹ã€?
768                                    if( !RoleMode.isRead( bitMode ) ) {
769                                            form.setColumnDisplay( clmNo,false );
770                                    }
771                                    // 書込ã¿ä¸è¨±å¯ã®å ´åˆã?ã¿ã€ã‚»ãƒ?ƒˆã™ã‚‹ã€?
772                                    // ãれ以外ã?ã€columnWritable ,noWritable 属æ?ãŒé©ç”¨ã•れã¦ã?‚‹ã€?
773                                    if( !RoleMode.isWrite( bitMode ) ) {
774                                            form.setColumnWritable( clmNo,false );
775                                    }
776    //                              boolean ok = userInfo.isAccess( dbColumn.getRoles() );
777    //                              // アクセスä¸è¨±å¯ã®å ´åˆã?ã¿ã€ã‚»ãƒ?ƒˆã™ã‚‹ã€?
778    //                              // ãれ以外ã?ã€columnDisplay ,noDisplay 属æ?ãŒé©ç”¨ã•れã¦ã?‚‹ã€?
779    //                              if( !ok ) { form.setColumnDisplay( clmNo,false ); }
780                            }
781    
782                            // 3.8.6.0 (2006/09/29) useHilightRow 属æ?追åŠ?
783                            boolean useHiRow = nval( useHilightRow,sysBool( "VIEW_USE_HILIGHT_ROW" ) );
784                            // 5.1.7.0 (2010/06/01) HilightRow用ã®Divã¯å¿?šå‡ºã?ç”»é¢é·ç§»ãªã—登録(JavaScript)ã®æ­£è¦è¡¨ç¾ã§ãƒžãƒƒãƒã•ã›ã‚‹ãŸã‚))
785                            // 5.1.8.0 (2010/07/01) Divã‚’å¿?šå‡ºã™ã?ã¯ã€ç”»é¢é·ç§»ãªã—登録ã®å ´åˆã?ã¿ã¨ã™ã‚‹(CustomData対å¿?
786                            if( useHiRow || noTransition ) {
787                                    jspPrint( "<div id=\"divHlr\"" );
788                                    if( useHiRow ) {
789    //                                      jspPrint( "<div onclick=\"hilightRow();\">" );
790                                            // 4.3.7.0 (2009/06/01)
791                                            boolean useHiCkOnly = nval( useHilightCheckOnly,sysBool( "VIEW_USE_HILIGHT_CHECK_ONLY" ) );
792    //                                      jspPrint( "<div onclick=\"hilightRow( event, " + useHiCkOnly + ");\">" );
793                                            jspPrint( " onclick=\"hilightRow( event, " + useHiCkOnly + ");\"" );
794                                    }
795                                    jspPrint( ">" );
796                            }
797    
798                            // 4.0.0.0 (2007/11/27) è¶?‰¹æ®Šå?ç?クロスé›?¨ˆæ™‚ã«ãƒ˜ãƒƒãƒ?‚’å‹•çš„ã«ä½œæ?ã™ã‚‹ãŸã‚ã«ä½¿ç”¨
799    //                      if( viewParam != null && "true".equalsIgnoreCase( viewParam.get( "useHeaderColumn" ) ) ) {
800    //                              form.setResourceManager( getResource() );
801    //                      }
802                            // 5.2.2.0 (2010/11/01) useHeaderColumn 属æ?ã‚’ã?ViewCrossTableParam.USE_HEADER_COLUMN をキーã«ã€å–å¾—ã™ã‚?
803                            if( viewParam != null &&
804                                            "true".equalsIgnoreCase( viewParam.get( ViewCrossTableParam.USE_HEADER_COLUMN ) ) ) {
805                                    form.setResourceManager( getResource() );
806                            }
807    
808                            form.setNoTransition( noTransition ); // 4.3.3.0 (2008/10/01) 追�
809    
810                            jspPrint( form.create( startNo,pageSize ) );
811    
812                            // 5.1.8.0 (2010/07/01) Divã‚’å¿?šå‡ºã™ã?ã¯ã€ç”»é¢é·ç§»ãªã—登録ã®å ´åˆã?ã¿ã¨ã™ã‚‹(CustomData対å¿?
813    //                      if( useHiRow ) {
814                            if( useHiRow || noTransition ) {
815                                    jspPrint( "</div>" );
816                            }
817    
818                            // 5.7.6.1 (2014/05/09) mainView時ã?ã¿startNoを登録ã™ã‚‹
819                            if( isMainView ){
820                                    setRequestCacheData( START_NO_KEY,String.valueOf( tempStartNo ) );      // 3.5.4.7 (2004/02/06)
821                            }
822                            
823                            // 3.6.0.0 (2004/09/22) pageSize ã® hidden 出力ã?ã€å?期設定å?ã¨ã—ã¾ã™ã?
824                            if( useAfterHtmlTag ) { // 3.7.1.1 (2005/05/23)
825                                    jspPrint( makePageSize( oldPageSize ) );                // 3.6.0.0 (2004/09/22)
826                            }
827    
828                            makeConsistencyKey();           // 3.5.5.8 (2004/05/20)
829    
830                            setObject( viewFormId, form );
831    
832                            // 3.5.4.8 (2004/02/23) è¶?‰¹æ®Šå?ç?DBTableModel ã‚?View ã§ç½®ãæ›ãˆã¾ã™ã?
833                            // 5.2.2.0 (2010/11/01) saveTableId 属æ?ã‚’ã?ViewCrossTableParam.SAVE_SCOPE_KEY をキーã«ã€å–å¾—ã™ã‚?
834                            if( viewParam != null ) {
835    //                              String saveTableId = viewParam.get( "saveTableId" );
836                                    String saveTableId = viewParam.get( ViewCrossTableParam.SAVE_TABLEID_KEY );     // 5.2.2.0 (2010/11/01)
837                                    if( saveTableId != null ) {
838                                            String saveScope = viewParam.get( ViewCrossTableParam.SAVE_SCOPE_KEY );
839                                            setObject( saveTableId, form.getDBTableModel() , saveScope );
840                                    }
841                            }
842    
843                            // 5.1.6.0 (2010/05/01) Viewã§è¡¨ç¤ºã—ãŸé ?›®ã‚’DBLastSqlã«ã‚»ãƒ?ƒˆã—ã¾ã™ã?
844                            if( table.getRowCount() > 0 ) {
845                                    setViewClms();
846                            }
847                    }
848    
849                    if( useAfterHtmlTag ) { // 3.7.1.1 (2005/05/23)
850                            // 3.5.4.7 (2004/02/06)
851                            long dyTime = System.currentTimeMillis()-dyStart;
852                            jspPrint( "<div id=\"viewTime\" value=\"" + (dyTime) + "\"></div>" );       // 3.5.6.3 (2004/07/12)
853                    }
854    
855                    return(EVAL_PAGE);
856            }
857    
858            /**
859             * タグリブオブジェクトをリリースã—ã¾ã™ã?
860             * キャãƒ?‚·ãƒ¥ã•れã¦å†åˆ©ç”¨ã•れるã?ã§ã€ãƒ•ィールドã?åˆæœŸè¨­å®šã‚’行ã„ã¾ã™ã?
861             *
862             * @og.rev 2.0.0.4 (2002/09/27) カスタãƒ?‚¿ã‚°ã® release() メソãƒ?ƒ‰ã‚’ã?追åŠ?
863             * @og.rev 2.0.0.4 (2002/09/27) カスタãƒ?‚¿ã‚°ã® release() メソãƒ?ƒ‰ã‚’ã?追åŠ?
864             * @og.rev 3.0.1.3 (2003/03/11) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’ã€è¿½åŠ?
865             * @og.rev 3.1.1.2 (2003/04/04) Tomcat4.1 対応ã?release2() ã‚?doEndTag()ã§å‘¼ã¶ã€?
866             * @og.rev 3.5.2.0 (2003/10/20) headerSkipCount属æ?を追åŠ?
867             * @og.rev 3.5.3.0 (2003/10/27) backLinkCount,headerSkipCount属æ?ã®åˆæœŸå€¤ã‚’Propertyファイルã‹ã‚‰è¨­å®?
868             * @og.rev 3.5.4.0 (2003/11/25) format 関係ã?æ–?­—å?ã‚’å»?­¢ã€‚TableFormatter クラスを使用ã™ã‚‹ã€?
869             * @og.rev 3.5.4.3 (2004/01/05) useCheckControl属æ?を追åŠ?
870             * @og.rev 3.5.4.7 (2004/02/06) DBTableModelã®ã‚½ãƒ¼ãƒˆæ©Ÿè? useTableSorter を追åŠ?
871             * @og.rev 3.5.4.7 (2004/02/06) 実行時間測定用ã«ã€dyStart を追åŠ?—ã¾ã™ã?
872             * @og.rev 3.5.4.8 (2004/02/23) ViewParamTag ã®ãƒ‘ラメータを追åŠ?—ã¾ã™ã?
873             * @og.rev 3.5.5.8 (2004/05/20) useConsistency 属æ?を追åŠ?—ã¾ã™ã?
874             * @og.rev 3.5.6.2 (2004/07/05) bgColorCycle 変数ã®è¿½åŠ??
875             * @og.rev 3.5.6.3 (2004/07/12) useScrollBar 変数ã®è¿½åŠ??
876             * @og.rev 3.6.0.0 (2004/09/17) sortKeys 変数ã®è¿½åŠ??カラãƒ?‚½ãƒ¼ãƒˆãƒªãƒ³ã‚¯ã‚’å?ã™ã‚«ãƒ©ãƒ?を指定ã?
877             * @og.rev 3.6.0.4 (2004/10/14) loadMarker 変数ã®è¿½åŠ??
878             * @og.rev 3.7.0.1 (2005/01/31) 全件ãƒã‚§ãƒ?‚¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«å¤‰æ›´(useCheckControl)
879             * @og.rev 3.7.1.1 (2005/05/23) SEL_ROW機è?ã®æœ‰åй/無効を指定ã—ã¾ã™ã?
880             * @og.rev 3.7.1.1 (2005/05/23) 処ç?™‚間やペã?ジサイズãªã©ã®æƒ??出力ã?有効/無効を指定ã—ã¾ã™ã?
881             * @og.rev 3.8.0.9 (2005/10/17) writableControl 属æ?を追åŠ?—ã¾ã™ã?
882             * @og.rev 3.8.6.0 (2006/09/29) useHilightRow 属æ?を追åŠ?—ã¾ã™ã?
883             * @og.rev 3.8.6.1 (2006/10/20) editMarkerId , popupReturnKeys属æ?を追åŠ?—ã¾ã™ã?
884             * @og.rev 4.3.0.0 (2008/07/04) fileUD ファイルãƒ?‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰æ™‚ã®æŠœå?カラãƒ?(CSVå½¢å¼?
885             * @og.rev 4.3.1.0 (2008/09/08) isSkipNoEdit属æ?対å¿?
886             * @og.rev 4.3.3.0 (2008/10/01) noTransition 属æ?を追åŠ?—ã¾ã™ã?
887             * @og.rev 4.3.7.0 (2009/06/01) useHilightCheckOnly 属æ?を追åŠ?—ã¾ã™ã?
888             * @og.rev 5.1.6.0 (2010/05/01) clmSeqDisplay 属æ?を追åŠ?—ã¾ã™ã?
889             * @og.rev 5.1.8.0 (2010/07/01) noGroup , noGroup 属æ?を追åŠ?—ã¾ã™ã?
890             * @og.rev 5.1.8.0 (2010/07/01) bgColorClsClm 属æ?を追åŠ?—ã¾ã™ã?
891             * @og.rev 5.2.1.0 (2010/10/01) ä¸?‹¬å…¥åŠ›ã‚«ãƒ©ãƒ??アシスト機è?を利用ã™ã‚‹ã€columnBulkSet 属æ?を追åŠ?—ã¾ã™ã?
892             * @og.rev 5.5.9.0 (2012/12/03) viewArrayList追�
893             * @og.rev 5.7.6.1 (2014/05/09) mainView追�
894             */
895            @Override
896            protected void release2() {
897                    super.release2();
898                    tableId                         = HybsSystem.TBL_MDL_KEY;
899                    viewFormId                      = HybsSystem.VIEWFORM_KEY;
900                    viewFormType            = null;
901                    viewLinkId                      = HybsSystem.VIEWLINK_KEY;
902                    viewMarkerId            = HybsSystem.VIEW_MARK_KEY;
903                    editMarkerId            = HybsSystem.EDIT_MARK_KEY;             // 3.8.6.1 (2006/10/20)
904                    command                         = null;
905                    startNo                         = -1;           // HTMLç”»é¢ä¸Šã?表示開始ä½ç½®(åˆæœŸå€¤)
906                    tempStartNo                     = -1;           // 冿¤œç´¢æ™‚ã?表示開始ä½ç½®
907                    pageSize                        = -1;           // HTMLç”»é¢ä¸Šã«è¡¨ç¤ºã™ã‚‹ä»¶æ•°
908                    pagePlus                        = -1;           // 3.5.6.4 (2004/07/16)
909                    table                           = null;
910                    form                            = null;
911                    columnWritable          = null;
912                    noWritable                      = null;
913                    columnDisplay           = null;
914                    noDisplay                       = null;
915                    clmSeqDisplay           = null;         // 5.1.6.0 (2010/05/01) ViewForm_HTMLSeqClmTable 対�
916                    columnGroup                     = null;         // 3.8.5.0 (2006/03/20)
917                    noGroup                         = null;         // 5.1.8.0 (2010/07/01)
918                    groupClass                      = null;         // 5.1.8.0 (2010/07/01)
919                    noMessage                       = false;
920                    writable                        = null;
921                    checked                         = null;
922                    skip                            = ViewForm.DEFAULT_SKIP;
923                    rowspan                         = "2";
924                    selectedType            = "checkbox";
925                    numberType                      = "sequence";
926                    optTypeAttri            = null;
927    //              changeLabelKeys         = null;
928    //              changeLabelVals         = null;
929                    values                          = null;
930                    backLinkCount           = HybsSystem.sysInt( "VIEW_BACK_LINK_COUNT" );
931                    headerSkipCount         = HybsSystem.sysInt( "VIEW_HEADER_SKIP_COUNT" );        // 0:通常ヘッãƒ??n:n回ã”ã¨ã«ç¾ã‚Œã‚‹
932                    bodyString                      = null;
933                    useCheckControl         = -1 ;
934                    useTableSorter          = null ;        // 3.5.4.7 (2004/02/06)
935                    dyStart                         = 0;            // 3.5.4.7 (2004/02/06)
936                    viewParam                       = null;         // 3.5.4.8 (2004/02/23)
937                    useParam                        = false;        // 3.5.4.8 (2004/02/23)
938                    useConsistency          = HybsSystem.sysBool( "USE_CONSISTENCY" );              // 3.5.5.8 (2004/05/20)
939                    bgColorCycle            = 1 ;           // 3.5.6.2 (2004/07/05)
940                    bgColorClsClm           = null;         // 5.1.8.0 (2010/07/01)
941                    useScrollBar            = null;
942                    sortKeys                        = null;         // 3.6.0.0 (2004/09/17)
943    //              loadMarker                      = ",NEW,RENEW,REVIEW,RESET";                                    // 3.6.0.4 (2004/10/14)
944                    loadMarker                      = ",NEW,RENEW,REVIEW,RESET,";                                   // 4.0.0.0 (2007/11/26)
945                    useSelectedRow          = null;
946                    useSelRowColor          = null;
947                    useAfterHtmlTag         = true;         // 3.7.1.1 (2005/05/23)
948                    writableControl         = null;         // 3.8.0.9 (2005/10/17)
949                    useHilightRow           = null;         // 3.8.6.0 (2006/09/29)
950                    popupReturnKeys         = null ;        // 3.8.6.1 (2006/10/20)
951                    clazz                           = "viewTable";  // 4.0.0 (2007/04/16)
952                    height                          = null;         // 4.2.0.0 (2008/03/18)
953                    width                           = null;         // 4.2.0.0 (2008/03/18)
954                    fileDwnClms                     = null ;        // 4.3.0.0 (2008/07/04)
955                    skipNoEdit                      = false;        // 4.3.1.0 (2008/09/08)
956                    noTransition            = false;        // 4.3.3.0 (2008/10/01)
957                    useHilightCheckOnly     = null;         // 4.3.7.0 (2009/06/01)
958                    columnBulkSet           = null;         // 5.2.1.0 (2010/10/01)
959                    useDefBulkset           = HybsSystem.sysBool( "VIEW_USE_DEFAULT_BULKSET" ) ;            // 5.2.1.0 (2010/10/01)
960                    viewArrayList           = null;         // 5.5.9.0 (2012/12/03)
961                    isMainView                      = true;         // 5.7.6.1 (2014/05/09)
962            }
963    
964            /**
965             * DBTableModel ã«å¯¾ã—ã¦ã€å„ç¨®åˆæœŸè¨­å®šã‚’行ã„ã¾ã™ã?
966             *
967             */
968    //      private void dbChangeLabel() {
969    //              if( changeLabelKeys != null &&
970    //                      changeLabelVals != null &&
971    //                      changeLabelKeys.length != 0 &&
972    //                      changeLabelKeys.length == changeLabelVals.length ) {
973    //
974    //                      for( int i=0; i<changeLabelKeys.length; i++ ) {
975    //                              if( changeLabelKeys[i] != null &&
976    //                                      changeLabelVals[i] != null &&
977    //                                      changeLabelKeys[i].length() > 0 &&
978    //                                      changeLabelVals[i].length() > 0 ) {
979    //
980    //                                      int clmNo = table.getColumnNo( changeLabelKeys[i] );
981    //                                      DBColumn dbColumn = table.getDBColumn( clmNo );
982    //                                      DBColumnConfig config = dbColumn.getConfig();
983    //                                      config.setLabelData( getResource().getLabelData( changeLabelVals[i] ) );
984    //                                      table.setDBColumn( clmNo,new DBColumn( config ) );      // 4.0.0 (2005/01/31)
985    //                              }
986    //                      }
987    //              }
988    //      }
989    
990            /**
991             * å·¦å³åˆ?‰²ã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«(SplitViewTag)ãŒå­˜åœ¨ã™ã‚Œã°ã€ãƒ‘ラメータã®åˆæœŸå€¤è¨­å®šãªã©ã‚’行ã„ã¾ã™ã?
992             *
993             * @og.rev 5.3.0.0 (2010/12/01) å·¦å³åˆ?‰²ã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«(SplitViewTag)対å¿?
994             * @og.rev 5.5.4.0 (2012/07/02) 2回目ã®noDisplayを追記型ã«å¤‰æ›´
995             */
996            private void splitViewParamSet() {
997                    SplitViewTag splitView = (SplitViewTag)findAncestorWithClass( this,SplitViewTag.class );
998                    if( splitView != null ) {
999                            String  fixDisplay  = splitView.getFixDisplay();
1000                            boolean isFirstStep = splitView.isFirstStep();
1001    
1002                            if( isFirstStep ) {     // ?‘回目(å·¦å´:固定部)
1003                                    // Viewã‚¿ã‚°ã®å·¦å´ã«ã¯ã€fixDisplay ã®ã‚«ãƒ©ãƒ?‚’ columnDisplay ã«è¨­å®šã™ã‚‹ã?
1004                                    columnDisplay = fixDisplay;
1005                                    noDisplay     = null;
1006                            }
1007                            else {                          // ?’回目(å³å´:å¯å¤‰éƒ¨)
1008                                    // Viewã‚¿ã‚°ã®å³å´ã«ã¯ã€command="VIEW" , noMessage="true" , useSelectedRow="false"
1009                                    // numberType="delete" ã‚’ã‚»ãƒ?ƒˆã™ã‚‹ã¨ã¨ã‚‚ã«ã€fixDisplay ã®ã‚«ãƒ©ãƒ?‚’ noDisplay ã®
1010                                    columnDisplay = null;
1011    //                              noDisplay     = fixDisplay;
1012                                    if( noDisplay != null && noDisplay.length() > 0 ){
1013                                            noDisplay     += ","+fixDisplay; // 5.5.4.0 (2012/07/02) カンマ区åˆ?‚Šã§è¿½è¨˜ã™ã‚?
1014                                    }
1015                                    else{
1016                                            noDisplay     = fixDisplay;
1017                                    }
1018    
1019                                    command                 = "VIEW";
1020                                    numberType              = "delete" ;
1021                                    noMessage               = true;
1022                                    useSelectedRow  = "false";
1023                            }
1024                    }
1025            }
1026    
1027            /**
1028             * ã€TAGã€?通常ã¯ä½¿ã?¾ã›ã‚“)çµæžœã®DBTableModelã‚’ã?sessionã«ç™»éŒ²ã™ã‚‹ã¨ãã?キーを指定ã—ã¾ã?
1029             *              (åˆæœŸå€¤:HybsSystem#TBL_MDL_KEY[={@og.value org.opengion.hayabusa.common.HybsSystem#TBL_MDL_KEY}])ã€?
1030             *
1031             * @og.tag
1032             * æ¤œç´¢çµæžœã‚ˆã‚Šã€DBTableModelオブジェクトを作æ?ã—ã¾ã™ã?ã“れをã?下æµã?viewã‚¿ã‚°ç­‰ã«
1033             * 渡ã™å?åˆã«ã€??常ã¯ã€session を利用ã—ã¾ã™ã?ãã?å ´åˆã?登録キーã§ã™ã?
1034             * query ã‚¿ã‚°ã‚’åŒæ™‚ã«å®Ÿè¡Œã—ã¦ã€çµæžœã‚’求ã‚ã‚‹å?åˆã?åŒä¸?ƒ¡ãƒ¢ãƒªã«é…ç½®ã•れる為ã€?
1035             * ã“ã? tableId 属æ?を利用ã—ã¦ã€ãƒ¡ãƒ¢ãƒªç©ºé–“ã‚’åˆ?‘ã¾ã™ã?
1036             *              (åˆæœŸå€¤:HybsSystem#TBL_MDL_KEY[={@og.value org.opengion.hayabusa.common.HybsSystem#TBL_MDL_KEY}])ã€?
1037             *
1038             * @param       id sessionã«ç™»éŒ²ã™ã‚‹æ™‚ã? ID
1039             */
1040            public void setTableId( final String id ) {
1041                    tableId   = nval( getRequestParameter( id ),tableId );  // 3.8.0.9 (2005/10/17)
1042            }
1043    
1044            /**
1045             * ã€TAGã€?通常使ã?¾ã›ã‚“)sessionã‹ã‚‰å–å¾—ã™ã‚?ViewForm オブジェクトã? IDã€?
1046             *
1047             * @og.tag
1048             * 表示処ç?¾Œã«??å†?ƒ¨ãƒã‚¤ãƒ³ã‚¿ã‚’æ›¸ãæ›ãˆãŸ)ViewForm オブジェクトを
1049             * åŒã˜ã‚­ãƒ¼ã§ã€sessionã«ç™»éŒ²ã—ã¾ã™ã?
1050             * åˆæœŸå€¤ã¯ã€HybsSystem.VIEWFORM_KEY ã§ã™ã?
1051             *
1052             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1053             * @og.rev 3.5.6.4 (2004/07/16) VIEW_ID を付加ã—ã¦ã€ä»–ã?id ã¨æ··åŒã—ãªã?‚ˆã?«ã—ã¾ã™ã?
1054             *
1055             * @param       id ViewForm オブジェク�D
1056             */
1057            public void setViewFormId( final String id ) {
1058                    String temp = getRequestParameter( id ) ;
1059                    if( temp != null && temp.length() > 0 ) {
1060                            viewFormId = temp + TaglibUtil.VIEW_ID;
1061                    }
1062            }
1063    
1064            /**
1065             * ã€TAGã€?通常ã¤ã‹ã„ã¾ã›ã‚“)requestã‹ã‚‰å–å¾—ã™ã‚?ViewLink ã«å¯¾å¿œã™ã‚?Attributes オブジェクトã? IDã€?
1066             *
1067             * @og.tag
1068             * ViewForm オブジェクトã«ã€ViewLink オブジェクトをã“ã?キーよりå–å¾—ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã€?
1069             * カラãƒ?«å¯¾ã—ã¦ã€ãƒªãƒ³ã‚¯æƒ??を付加ã—ã¦è¡¨ç¤ºã•ã›ã‚‹ã?
1070             * åˆæœŸå€¤ã¯ã€HybsSystem.VIEWLINK_KEY ã§ã™ã?
1071             *
1072             * @og.rev 3.1.4.0 (2003/04/18) åˆæœŸå€¤ã‚’è?æ…®ã—ã¦ã€å±žæ?登録を行ã†ã‚ˆã†ã«å¤‰æ›´ã€?
1073             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1074             * @og.rev 3.5.6.4 (2004/07/16) LINK_ID を付加ã—ã¦ã€ä»–ã?id ã¨æ··åŒã—ãªã?‚ˆã?«ã—ã¾ã™ã?
1075             *
1076             * @param       id ViewLink オブジェク�D
1077             */
1078            public void setViewLinkId( final String id ) {
1079                    String temp = getRequestParameter( id ) ;
1080                    if( temp != null && temp.length() > 0 ) {
1081                            viewLinkId = temp + TaglibUtil.LINK_ID;
1082                    }
1083            }
1084    
1085            /**
1086             * ã€TAGã€?通常使ã?¾ã›ã‚“)requestã‹ã‚‰å–å¾—ã™ã‚?ViewMarker ã«å¯¾å¿œã™ã‚?Attributes オブジェクトã? IDã€?
1087             *
1088             * @og.tag
1089             * ViewForm オブジェクトã«ã€ViewMarker オブジェクトをã“ã?キーよりå–å¾—ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã€?
1090             * カラãƒ?«å¯¾ã—ã¦ã€ã?ーカーæƒ??を付加ã—ã¦è¡¨ç¤ºã•ã›ã‚‹ã?
1091             * åˆæœŸå€¤ã¯ã€HybsSystem.VIEW_MARK_KEY ã§ã™ã?
1092             *
1093             * @og.rev 3.1.4.0 (2003/04/18) æ–°è¦è¿½åŠ?
1094             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1095             * @og.rev 3.5.6.4 (2004/07/16) MARK_ID を付加ã—ã¦ã€ä»–ã?id ã¨æ··åŒã—ãªã?‚ˆã?«ã—ã¾ã™ã?
1096             *
1097             * @param       id ViewMarker オブジェク�D
1098             */
1099            public void setViewMarkerId( final String id ) {
1100                    String temp = getRequestParameter( id ) ;
1101                    if( temp != null && temp.length() > 0 ) {
1102                            viewMarkerId = temp + TaglibUtil.MARK_ID;
1103                    }
1104            }
1105    
1106            /**
1107             * ã€TAGã€?通常使ã?¾ã›ã‚“)requestã‹ã‚‰å–å¾—ã™ã‚?EditMarker ã«å¯¾å¿œã™ã‚?Attributes オブジェクトã? IDã€?
1108             *
1109             * @og.tag
1110             * ViewForm オブジェクトã«ã€EditMarker オブジェクãƒ?実際ã¯ã€ViewMarker オブジェクãƒ?ã‚?
1111             * ã“ã?キーよりå–å¾—ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã€ã‚«ãƒ©ãƒ?«å¯¾ã—ã¦ã€ã?ーカーæƒ??を付加ã—ã¦è¡¨ç¤ºã•ã›ã‚‹ã?
1112             * åˆæœŸå€¤ã¯ã€HybsSystem.EDIT_MARK_KEY ã§ã™ã?
1113             *
1114             * @og.rev 3.8.6.1 (2006/10/20) æ–°è¦è¿½åŠ?
1115             *
1116             * @param       id EditMarker オブジェクãƒ?D(実際ã¯ã€ViewMarker オブジェクãƒ?
1117             */
1118            public void setEditMarkerId( final String id ) {
1119                    String temp = getRequestParameter( id ) ;
1120                    if( temp != null && temp.length() > 0 ) {
1121                            editMarkerId = temp + TaglibUtil.MARK_ID;
1122                    }
1123            }
1124    
1125            /**
1126             * ã€TAG】ViewForm オブジェクトを作æ?ã™ã‚‹ã‚¯ãƒ©ã‚¹({@og.doc03Link viewFormType ViewForm_**** クラス㮠****})を指定ã—ã¾ã™ã?
1127             *
1128             * @og.tag
1129             * ã“れã¯ã€org.opengion.hayabusa.html 以下ã? ViewForm_**** クラス㮠**** ã‚?
1130             * 与ãˆã¾ã™ã?ã“れらã?ã€ViewForm インターフェースを継承ã—ãŸã‚µãƒ–クラスã§ã™ã?
1131             * 属æ?クラス定義㮠{@link org.opengion.hayabusa.html.ViewForm  ViewForm} ã‚’å‚照願ã„ã¾ã™ã?
1132             * {@og.doc03Link viewFormType ViewForm_**** クラス}
1133             *
1134             * @param       id ViewForm タイ�
1135             * @see         org.opengion.hayabusa.html.ViewForm  ViewFormã®ã‚µãƒ–クラス
1136             */
1137            public void setViewFormType( final String id ) {
1138                    viewFormType = getRequestParameter( id );
1139    
1140                    if( viewFormType == null || viewFormType.length() == 0 ) {
1141                            String errMsg = "viewForm ã® id ãŒè¨­å®šã•れã¦ã?¾ã›ã‚“ã€?;
1142                            throw new HybsSystemException( errMsg );
1143                    }
1144            }
1145    
1146            /**
1147             * ã€TAG】コマンãƒ?PREV,NEXT,FIRST,LAST,NEW,RENEW,VIEW,REVIEW,RESET)ã‚’ã‚»ãƒ?ƒˆã—ã¾ã™ã?
1148             *
1149             * @og.tag
1150             * コマンドã?,HTMLã‹ã‚‰(get/post)æŒ?®šã•れã¾ã™ã?ã§,CMD_xxx ã§è¨­å®šã•れる
1151             * フィールド定数値ã®ã?¥ã‚Œã‹ã‚’ã?æŒ?®šã§ãã¾ã™ã?
1152             *
1153             * @og.rev 3.8.0.8 (2005/10/03) ãã?ä»–ã?コマンドを CMD_XXX ã«ã—ã¾ã™ã?
1154             *
1155             * @param       cmd コマンãƒ?public static final 宣è¨?•れã¦ã?‚‹æ–?­—å?)
1156             * @see         <a href="../../../../constant-values.html#org.opengion.hayabusa.taglib.ViewFormTag.CMD_PREV">コマンド定数</a>
1157             */
1158            public void setCommand( final String cmd ) {
1159                    String cmd2 = getRequestParameter( cmd );
1160                    if( cmd2 != null && cmd2.length() > 0 ) { command = cmd2.toUpperCase(Locale.JAPAN); }
1161    
1162                    if( command == null ||
1163                             (command.trim()).length() == 0 ||
1164                            ! check( command, COMMAND_LIST ) ) {
1165                                    // 3.8.0.8 (2005/10/03) ãã?ä»–ã?コマンドを CMD_XXX ã«ã—ã¾ã™ã?
1166                                    command = CMD_XXX ;
1167                    }
1168            }
1169    
1170            /**
1171             * ã€TAG】表示ãƒ??タを作æ?ã™ã‚‹å ´åˆã?表示ã®é–‹å§‹è¡Œç•ªå·ã‚’ã‚»ãƒ?ƒˆã—ã¾ã™ã?
1172             *
1173             * @og.tag
1174             * ã‚»ãƒ?ƒˆã•れã¦ã?ªã??åˆã??Œå¤‰æ›´ã—ã¾ã›ã‚“ã€?
1175             *
1176             * @og.rev 3.0.1.3 (2003/03/11) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’ã€è¿½åŠ?
1177             *
1178             * @param       no 表示開始行番å·(å…ˆé?㯠??
1179             */
1180            public void setStartNo( final String no ) {
1181                    startNo = nval( getRequestParameter( no ),startNo );
1182                    tempStartNo = startNo;
1183            }
1184    
1185            /**
1186             * ã€TAG】表示ãƒ??タを作æ?ã™ã‚‹å ´åˆã??‘ã?ージã®è¡Œæ•°ã‚’ã‚»ãƒ?ƒˆã—ã¾ã™ã?
1187             *
1188             * @og.tag
1189             * ã‚»ãƒ?ƒˆã•れã¦ã?ªã??åˆã??Œå¤‰æ›´ã—ã¾ã›ã‚“ã€?
1190             *
1191             * @param       sz ?‘ã?ージã®è¡Œæ•°
1192             */
1193            public void   setPageSize( final String sz ) {
1194                    pageSize = nval( getRequestParameter( sz ),pageSize );
1195            }
1196    
1197            /**
1198             * ã€TAG】1ã?ージã®è¡Œæ•°ã®å¢—加åˆ?‚’ã‚»ãƒ?ƒˆã—ã¾ã?åˆæœŸå€¤:0)ã€?
1199             *
1200             * @og.tag
1201             * ã‚»ãƒ?ƒˆã•れã¦ã?ªã??åˆã??Œï¼?増加ãªã?ã§ã™ã?
1202             *
1203             * @param       pp ?‘ã?ージã®è¡Œæ•°
1204             */
1205            public void   setPagePlus( final String pp ) {
1206                    pagePlus = nval( getRequestParameter( pp ),pagePlus );
1207            }
1208    
1209            /**
1210             * ã€TAG】ã?ージã®å…ˆé?ã¸ã®ãƒªãƒ³ã‚¯ã®é–“隔をセãƒ?ƒˆã—ã¾ã?
1211             *              (åˆæœŸå€¤:VIEW_BACK_LINK_COUNT[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_BACK_LINK_COUNT}])ã€?
1212             *
1213             * @og.tag
1214             * 0 ã«ã‚»ãƒ?ƒˆã™ã‚‹ã¨ã€ãƒªãƒ³ã‚¯ã¯ä½œæ?ã•れã¾ã›ã‚“ã€?
1215             * ãƒ??ブルã®ãƒ˜ãƒƒãƒ??固定ãŒã§ããªã?‚±ãƒ¼ã‚¹ã§ã¯ã€ãƒ‡ãƒ¼ã‚¿ä»¶æ•°ãŒå¤šã„ã¨ã€ç™»éŒ²ãƒœã‚¿ãƒ³ãŒè¦‹ãˆãªããªã‚Šã¾ã™ã?
1216             * ãã?å ´åˆã?スクロールã—ã¦ä¸Šã«ä¸ŠãŒã‚‹ã‚ˆã‚Šã?行番å·ã«ä½œæ?ã•れリンクã§ã€ä¸?°—ã«ä¸Šã«æˆ»ã‚‹ã»ã?Œæ—©ãå?ç?§ãã¾ã™ã?
1217             * ãã?å ´åˆã?段çµ?¿ç­‰ã—ã¦ã?‚‹ã¨ã€?–“隔を少ãªãã—ã¦ãŠãå¿?¦ãŒå‡ºã¦ãã¾ã™ã?
1218             * ヘッãƒ??固定を利用ã™ã‚‹å ´åˆã?ã€ä¸è¦ã§ã™ã?
1219             * (åˆæœŸå€¤:シスãƒ?ƒ å®šæ•°ã®VIEW_BACK_LINK_COUNT[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_BACK_LINK_COUNT}])ã€?
1220             *
1221             * @param       blc リンクã®é–“éš”
1222             * @see         org.opengion.hayabusa.common.SystemData#VIEW_BACK_LINK_COUNT
1223             */
1224            public void   setBackLinkCount( final String blc ) {
1225                    backLinkCount = nval( getRequestParameter( blc ),backLinkCount );
1226            }
1227    
1228            /**
1229             * ã€TAG】ã?ãƒ?ƒ€ãƒ¼ã‚’å?力ã™ã‚‹é–“隔をセãƒ?ƒˆã—ã¾ã?
1230             *              (åˆæœŸå€¤:VIEW_HEADER_SKIP_COUNT[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_HEADER_SKIP_COUNT}])ã€?
1231             *
1232             * @og.tag
1233             * 0を指定ã™ã‚‹ã¨ã€ç¹°ã‚Šè¿”ã—ã¾ã›ã‚“(ã¤ã¾ã‚Šã?ヘッãƒ??を最åˆã«è¡¨ç¤ºã™ã‚‹ã?‘ã§ã™ã?)
1234             * æ•°å­—ã‚’æŒ?®šã™ã‚‹ã¨ã€ãã®å›žæ•°æ¯Žã«ã€ã?ãƒ?ƒ€ãƒ¼ã‚’データã®è¡Œã«æŒ¿å…¥ã—ã¾ã™ã?
1235             * (åˆæœŸå€¤:シスãƒ?ƒ å®šæ•°ã®VIEW_HEADER_SKIP_COUNT[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_HEADER_SKIP_COUNT}])ã€?
1236             *
1237             * @og.rev 3.5.2.0 (2003/10/20) æ–°è¦ä½œæ?
1238             *
1239             * @param       hsc ヘッãƒ??ã®è¡¨ç¤ºé–“éš” ( 0:通常ヘッãƒ??n:n回ã”ã¨ã«ç¾ã‚Œã‚‹ )
1240             * @see         org.opengion.hayabusa.common.SystemData#VIEW_HEADER_SKIP_COUNT
1241             */
1242            public void   setHeaderSkipCount( final String hsc ) {
1243                    headerSkipCount = nval( getRequestParameter( hsc ),headerSkipCount );
1244            }
1245    
1246            /**
1247             * ã€TAG】書ãè¾¼ã¿å¯èƒ½ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1248             *
1249             * @og.tag
1250             * ã“れã¯ã€æ›¸ãè¾¼ã¿ä¸å¯ã‚«ãƒ©ãƒ?ã®æŒ?®?noWritable)ã¨åŒæ™‚ã«ã‚»ãƒ?ƒˆã™ã‚‹
1251             * ã“ã¨ã¯å‡ºæ¥ã¾ã›ã‚“ã€?
1252             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(columnWritable)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
1253             *
1254             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1255             * @og.rev 4.1.2.0 (2008/03/12) 引数ã«ã€?null" を指定å¯èƒ½ã¨ã™ã‚‹ã€?
1256             * @og.rev 4.2.1.0 (2008/04/11) null ãƒã‚§ãƒ?‚¯æ–¹æ³•変更
1257             * @og.rev 4.2.1.1 (2008/04/30) 引数ã«A,B,{&#064;XXXX}ç­‰ãŒæŒ?®šã•れãŸå ´åˆã«{&#064;XXXX}ã®å¤‰æ›ãŒè¡Œã‚れãªã?ƒã‚°ã‚’修正
1258             * @og.rev 5.1.8.0 (2010/07/01) noWritable åŒæ™‚ã‚»ãƒ?ƒˆãƒã‚§ãƒ?‚¯ã‚’ã?メソãƒ?ƒ‰ã§ã¯ãªãã?本体ã§è¡Œã†ã€?
1259             *
1260             * @param       columnName      例�OYA,KO,HJO,SU,DYSET,DYUPD"
1261             * @see         #setNoWritable( String )
1262             */
1263            public void setColumnWritable( final String columnName ) {
1264                    columnWritable = nval( getRequestParameter(columnName),null );
1265                    if( "null".equalsIgnoreCase( columnWritable ) ) { columnWritable = ""; }
1266    
1267    //              if( noWritable == null || noWritable.length() == 0 ) {
1268    //                      columnWritable = nval( getRequestParameter(columnName),null );
1269    //              }
1270    //              else {
1271    //                      String errMsg = "ã™ã§ã« noWritable ãŒè¨­å®šã•れã¦ã?¾ã™ã?[" + noWritable + "]";
1272    //                      throw new HybsSystemException( errMsg );
1273    //              }
1274    //
1275    //              if( "null".equalsIgnoreCase( columnWritable ) ) { columnWritable = ""; }
1276    
1277    ////            if( columnName != null && columnName.startsWith( "{@" ) ) {
1278    //              if( columnName != null && columnName.indexOf( "{@" ) >= 0 ) {
1279    //                      columnWritable = nval( getRequestParameter(columnName),null );
1280    //              }
1281    //              else {
1282    //                      columnWritable = columnName ;
1283    //              }
1284    //
1285    //              if( "null".equalsIgnoreCase( columnWritable ) ) { columnWritable = ""; }
1286    //
1287    ////            if( noWritable == null || noWritable.length() == 0 ) {
1288    ////                    columnWritable = nval( getRequestParameter(columnName),"" );
1289    ////            }
1290    ////            else {
1291    ////                    if( !"null".equalsIgnoreCase( noWritable ) ) {
1292    ////                            String errMsg = "ã™ã§ã« noWritable ãŒè¨­å®šã•れã¦ã?¾ã™ã?[" + noWritable + "]";
1293    ////                            throw new HybsSystemException( errMsg );
1294    ////                    }
1295    ////            }
1296            }
1297    
1298            /**
1299             * ã€TAG】書ãè¾¼ã¿ä¸å¯ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1300             *
1301             * @og.tag
1302             * ã“れã¯ã€æ›¸ãè¾¼ã¿å¯èƒ½ã‚«ãƒ©ãƒ?ã®æŒ?®?columnWritable)ã¨åŒæ™‚ã«ã‚»ãƒ?ƒˆã™ã‚‹
1303             * ã“ã¨ã¯å‡ºæ¥ã¾ã›ã‚“ã€?
1304             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(noWritable)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
1305             *
1306             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1307             * @og.rev 4.1.2.0 (2008/03/12) 引数ã«ã€?null" を指定å¯èƒ½ã¨ã™ã‚‹ã€?
1308             * @og.rev 4.2.1.0 (2008/04/11) null ãƒã‚§ãƒ?‚¯æ–¹æ³•変更
1309             * @og.rev 4.2.1.1 (2008/04/30) 引数ã«A,B,{&#064;XXXX}ç­‰ãŒæŒ?®šã•れãŸå ´åˆã«{&#064;XXXX}ã®å¤‰æ›ãŒè¡Œã‚れãªã?ƒã‚°ã‚’修正
1310             * @og.rev 5.1.8.0 (2010/07/01) noWritable åŒæ™‚ã‚»ãƒ?ƒˆãƒã‚§ãƒ?‚¯ã‚’ã?メソãƒ?ƒ‰ã§ã¯ãªãã?本体ã§è¡Œã†ã€?
1311             *
1312             * @param       columnName      例�OYA,KO,HJO,SU,DYSET,DYUPD"
1313             * @see         #setColumnWritable( String )
1314             */
1315            public void setNoWritable( final String columnName ) {
1316                    noWritable = nval( getRequestParameter(columnName),null );
1317                    if( "null".equalsIgnoreCase( noWritable ) ) { noWritable = ""; }
1318    
1319    //              if( columnWritable == null || columnWritable.length() == 0 ) {
1320    //                      noWritable = nval( getRequestParameter(columnName),null );
1321    //              }
1322    //              else {
1323    //                      String errMsg = "ã™ã§ã« columnWritable ãŒè¨­å®šã•れã¦ã?¾ã™ã?[" + columnWritable + "]";
1324    //                      throw new HybsSystemException( errMsg );
1325    //              }
1326    //
1327    //              if( "null".equalsIgnoreCase( noWritable ) ) { noWritable = ""; }
1328    
1329    ////            if( columnName != null && columnName.startsWith( "{@" ) ) {
1330    //              if( columnName != null && columnName.indexOf( "{@" ) >= 0 ) {
1331    //                      noWritable = nval( getRequestParameter(columnName),null );
1332    //              }
1333    //              else {
1334    //                      noWritable = columnName ;
1335    //              }
1336    //
1337    //              if( "null".equalsIgnoreCase( noWritable ) ) { noWritable = ""; }
1338    //
1339    ////            if( columnWritable == null || columnWritable.length() == 0 ) {
1340    ////                    noWritable = nval( getRequestParameter(columnName),"" );
1341    ////            }
1342    ////            else {
1343    ////                    if( !"null".equalsIgnoreCase( columnWritable ) ) {
1344    ////                            String errMsg = "ã™ã§ã« columnWritable ãŒè¨­å®šã•れã¦ã?¾ã™ã?[" + columnWritable + "]";
1345    ////                            throw new HybsSystemException( errMsg );
1346    ////                    }
1347    ////            }
1348            }
1349    
1350            /**
1351             * ã€TAG】表示å¯èƒ½ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1352             *
1353             * @og.tag
1354             * ã“れã¯ã€è¡¨ç¤ºä¸å¯ã‚«ãƒ©ãƒ?ã®æŒ?®?noDisplay)ã¨åŒæ™‚ã«ã‚»ãƒ?ƒˆã™ã‚‹
1355             * ã“ã¨ã¯å‡ºæ¥ã¾ã›ã‚“ã€?
1356             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(columnDisplay)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
1357             *
1358             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1359             * @og.rev 5.1.8.0 (2010/07/01) noWritable åŒæ™‚ã‚»ãƒ?ƒˆãƒã‚§ãƒ?‚¯ã‚’ã?メソãƒ?ƒ‰ã§ã¯ãªãã?本体ã§è¡Œã†ã€?
1360             *
1361             * @param       columnName      例�OYA,KO,HJO,SU,DYSET,DYUPD"
1362             * @see         #setNoDisplay( String )
1363             */
1364            public void setColumnDisplay( final String columnName ) {
1365                    columnDisplay = nval( getRequestParameter(columnName),null );
1366                    if( "null".equalsIgnoreCase( columnDisplay ) ) { columnDisplay = ""; }
1367    
1368    //              if( noDisplay == null ) {
1369    //                      this.columnDisplay = nval( getRequestParameter(columnName),"" );
1370    //              }
1371    //              else {
1372    //                      String errMsg = "ã™ã§ã« noDisplay ãŒè¨­å®šã•れã¦ã?¾ã™ã?[" + noDisplay + "]";
1373    //                      throw new HybsSystemException( errMsg );
1374    //              }
1375            }
1376    
1377            /**
1378             * ã€TAG】表示ä¸å¯ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1379             *
1380             * @og.tag
1381             * ã“れã¯ã€è¡¨ç¤ºå¯èƒ½ã‚«ãƒ©ãƒ?ã®æŒ?®?columnDisplay)ã¨åŒæ™‚ã«ã‚»ãƒ?ƒˆã™ã‚‹
1382             * ã“ã¨ã¯å‡ºæ¥ã¾ã›ã‚“ã€?
1383             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(noDisplay)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
1384             *
1385             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1386             * @og.rev 5.1.8.0 (2010/07/01) noWritable åŒæ™‚ã‚»ãƒ?ƒˆãƒã‚§ãƒ?‚¯ã‚’ã?メソãƒ?ƒ‰ã§ã¯ãªãã?本体ã§è¡Œã†ã€?
1387             *
1388             * @param       columnName      例�OYA,KO,HJO,SU,DYSET,DYUPD"
1389             * @see         #setColumnDisplay( String )
1390             */
1391            public void setNoDisplay( final String columnName ) {
1392                    noDisplay = nval( getRequestParameter(columnName),null );
1393                    if( "null".equalsIgnoreCase( noDisplay ) ) { noDisplay = ""; }
1394    
1395    //              if( columnDisplay == null ) {
1396    //                      this.noDisplay = nval( getRequestParameter(columnName),"" );
1397    //              }
1398    //              else {
1399    //                      String errMsg = "ã™ã§ã« columnDisplay ãŒè¨­å®šã•れã¦ã?¾ã™ã?[" + columnDisplay + "]";
1400    //                      throw new HybsSystemException( errMsg );
1401    //              }
1402            }
1403    
1404            /**
1405             * ã€TAG】表示å¯èƒ½ã‚«ãƒ©ãƒ?ã‚’ã?カラãƒ??ã«ã€ã‚«ãƒ³ãƒžåŒºåˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1406             *
1407             * @og.tag
1408             * ã“れã¯ã€ViewForm_HTMLSeqClmTable 用ã«ç‰¹åˆ¥ã«ç”¨æ„ã•れãŸå±žæ?ã§ã™ã?
1409             * 機è?çš?«ã¯ã€columnDisplay 属æ?ã§ã€ã‚«ãƒ©ãƒ??表示é ?¾ã§æŒ?®šã§ãる機è?ã‚?
1410             * 用æ„ã™ã¹ãã§ã™ãŒã€?ŽåŽ»ã®ã‚¿ã‚°ã¨ã®äº’æ›æ€§ã®é–¢ä¿‚ã§ã€åˆ¥ã«ç”¨æ„ã—ã¦ã?¾ã™ã?
1411             * (ã“ã?属æ?を使用ã™ã‚‹ã¨ã€??常ã®è¡¨ç¤ºã‚ˆã‚Šã€å?ç??度ãŒä½Žä¸‹ã—ã¾ã™ã?)
1412             *  例ï¼?OYA,KO,HJO,SU,DYSET,DYUPD" ã“ã?é ?•ªã§è¡¨ç¤ºã•ã‚Œã€æŒ‡å®šä»¥å¤–ã?カラãƒ??表示ã•れã¾ã›ã‚“ã€?
1413             *
1414             * @og.rev 5.1.6.0 (2010/05/01) clmSeqDisplay 属æ?を追åŠ?—ã¾ã™ã?
1415             *
1416             * @param       columnName      カラ�
1417             */
1418            public void setClmSeqDisplay( final String columnName ) {
1419                    clmSeqDisplay = nval( getRequestParameter(columnName),null );
1420            }
1421    
1422            /**
1423             * ã€TAG】åŒä¸?¡¨ç¤ºãƒ??ã‚¿ã‚’ã¾ã¨ã‚ã‚‹(表示ã—ãªã?カラãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1424             *
1425             * @og.tag
1426             * ã“れã¯ã€ã‚«ãƒ©ãƒ??グループ化æŒ?®šã‚’行ã„ã¾ã™ã?
1427             * åŒã˜ã‚«ãƒ©ãƒ?•ªå·ã§ä¸?¤ä¸Šã?行番å·ã¨åŒã˜å†?®¹ã®å ´åˆã«ã€ç‰¹æ®Šãªè¡¨ç¤ºæ–¹æ³•ã§è¡¨ç¤ºã—ã¾ã™ã?
1428             * 対応ã?ã€è¡¨ç¤º(Renderer)時ã?ã¿ã¨ã—ã¾ã™ã?
1429             * 特殊ãªè¡¨ç¤ºæ–¹æ³•ã?æŒ?®šã?ã€groupClass 属æ?ã§æŒ?®šã—ã¾ã™ã?
1430             * (例:groupClass ã«ã‚¢ãƒ«ãƒ•ァベット以外ã?æ–?­—ã?・ãã?ã¾ã¾è¡¨ç¤ºã€ã‚¢ãƒ«ãƒ•ァベットã?クラス属æ?を付与ã—ã¾ã™ã?)
1431             * カラãƒ?˜ä½ãªã®ã§ã€æ–°ã—ã„ゼブラã«ã‚ˆã‚‹è‰²åˆ?‘ã¯è¡Œã„ã¾ã›ã‚“ã€?ä»»æ„ã?カラãƒ?«é©ç”¨ã§ãる為)
1432             * ã¾ãŸã?ファイル出力ãªã©ã®ãƒ??タ自身ã¯å¤‰æ›´ã•れã¦ã?¾ã›ã‚“ã®ã§ã€ãã®ã¾ã¾ãƒ??ã‚¿ãŒè½ã¡ã¾ã™ã?
1433             *
1434             * ã“れã¯ã€åŒä¸?¡¨ç¤ºãƒ??ã‚¿ã‚’ã¾ã¨ã‚ãªã?‚«ãƒ©ãƒ?ã®æŒ?®?noGroup)ã¨åŒæ™‚ã«ã‚»ãƒ?ƒˆã™ã‚‹
1435             * ã“ã¨ã¯å‡ºæ¥ã¾ã›ã‚“ã€?
1436             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(columnGroup)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
1437             *
1438             * @og.rev 3.8.5.0 (2006/03/20) æ–°è¦è¿½åŠ?
1439             * @og.rev 5.1.8.0 (2010/07/01) noWritable åŒæ™‚ã‚»ãƒ?ƒˆãƒã‚§ãƒ?‚¯ã‚’ã?メソãƒ?ƒ‰ã§ã¯ãªãã?本体ã§è¡Œã†ã€?
1440             *
1441             * @param       group   例�OYA,KO,HJO,SU,DYSET,DYUPD"
1442             * @see         #setNoGroup( String )
1443             * @see         #setGroupClass( String )
1444             */
1445            public void setColumnGroup( final String group ) {
1446                    columnGroup = nval( getRequestParameter( group ),null );
1447                    if( "null".equalsIgnoreCase( columnGroup ) ) { columnGroup = ""; }
1448    
1449    //              if( noGroup == null || noGroup.length() == 0 ) {
1450    //                      columnGroup = nval( getRequestParameter(group),null );
1451    //              }
1452    //              else {
1453    //                      String errMsg = "ã™ã§ã« noGroup ãŒè¨­å®šã•れã¦ã?¾ã™ã?[" + noGroup + "]";
1454    //                      throw new HybsSystemException( errMsg );
1455    //              }
1456            }
1457    
1458            /**
1459             * ã€TAG】åŒä¸?¡¨ç¤ºãƒ??ã‚¿ã‚’ã¾ã¨ã‚ãªã?‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1460             *
1461             * @og.tag
1462             * ã“れã¯ã€ã‚«ãƒ©ãƒ??グループ化æŒ?®šã§ã€åŒä¸?§ã‚‚ã¾ã¨ã‚ãªã?‚«ãƒ©ãƒ?‚’æŒ?®šã™ã‚‹ã»ã?Œç°¡å˜ãªå ´åˆã«
1463             * 使用ã—ã¾ã™ã?例ãˆã°ã€ã‚­ãƒ¼æƒ??以外ã?ã€ã‚°ãƒ«ãƒ¼ãƒ—化æŒ?®šã—ãŸã„å ´åˆãªã©ã«ä¾¿åˆ©ã§ã™ã?
1464             * 動作ã?ã€columnGroup ã®å‹•ãã¨åŒã˜ã§ã™ã?(ã¾ã¨ã‚ãªã?‚«ãƒ©ãƒ?‚’æŒ?®šã™ã‚‹ã ã‘ã§ã™ã?)
1465    
1466             * ã“れã¯ã€åŒä¸?¡¨ç¤ºãƒ??ã‚¿ã‚’ã¾ã¨ã‚るカラãƒ?ã®æŒ?®?columnGroup)ã¨åŒæ™‚ã«ã‚»ãƒ?ƒˆã™ã‚‹
1467             * ã“ã¨ã¯å‡ºæ¥ã¾ã›ã‚“ã€?
1468             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(noGroup)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
1469             *
1470             * @og.rev 5.1.8.0 (2010/07/01) æ–°è¦è¿½åŠ?
1471             *
1472             * @param       group   例�OYA,KO,HJO,SU,DYSET,DYUPD"
1473             * @see         #setColumnGroup( String )
1474             * @see         #setGroupClass( String )
1475             */
1476            public void setNoGroup( final String group ) {
1477                    noGroup = nval( getRequestParameter( group ),null );
1478                    if( "null".equalsIgnoreCase( noGroup ) ) { noGroup = ""; }
1479            }
1480    
1481            /**
1482             * ã€TAG】åŒä¸?¡¨ç¤ºãƒ??ã‚¿ã‚’ã¾ã¨ã‚ã‚‹å ´åˆã?ã€è¡¨ç¤ºæ–¹æ³•ã‚’æŒ?®šã—ã¾ã™ã?
1483             *
1484             * @og.tag
1485             * ã“れã¯ã€ã‚«ãƒ©ãƒ??グループ化æŒ?®?columnGroup)を行ã†å ´åˆã?ã€ã¾ã¨ã‚è¡¨ç¤ºã®æ–¹æ³•ã‚’æŒ?®šã—ã¾ã™ã?
1486             * ãªã«ã‚‚指定ã—ãªã??åˆã?ã€ã¾ã¨ã‚カラãƒ??ã€è¡¨ç¤ºã—ãªã?ゼロæ–?­—å?)ã«ãªã‚Šã¾ã™ã?
1487             * ãã?å ´åˆã?å…ˆã?行ã¨åŒã˜å ´åˆã‚‚ã€å¤‰æ›´ã•れãŸã‚«ãƒ©ãƒ?Œã€NULL(ゼロæ–?­—å?)ã§ã‚ã£ãŸå?åˆã‚‚ã€?
1488             * åŒã˜ç”¨ã«è¡¨ç¤ºã•れるãŸã‚ã?区別ãŒä»˜ãã¾ã›ã‚“ã€?
1489             * ãã“ã§ã€å‰ã®è¡Œã¨åŒã˜ãƒ??ã‚¿ã®å ´åˆã«ã€ç‰¹æ®Šãªå‡¦ç?‚’行ã†ã“ã¨ã§ã€åŒºåˆ¥ã§ãるよã†ã«ã—ã¾ã™ã?
1490             * æŒ?®šæ–¹æ³•ãŒç‰¹æ®Šãªã®ã§ã€æ³¨æ„ãŒå¿?¦ã§ã™ã?
1491             *   記å·ã®å ´åˆï¼?
1492             *       記å·(-- , â†?, â†?, * ãªã©)ãŒæŒ‡å®šã•れãŸå ´åˆã?ã€ãã®ã¾ã¾ã®æ–?­—ã«ç½®ãæ›ãˆã‚‰ã‚Œã¾ã™ã?
1493             *       åˆæœŸå€¤ã¯ã€ç©ºæ–?­—å?(ゼロæ–?­—å?)ã§ã™ã?
1494             *   アルファベットã?å ´åˆï¼?
1495             *       アルファベッãƒ?a-z,A-Z)ã®å ´åˆã?ã€?lt;span class="アルファベッãƒ?&gt;å…??æ–?­?lt;/span&gt;
1496             * 例ãˆã°ã€ãƒãƒ?‚¯ã‚«ãƒ©ãƒ¼ã«è‰²ã‚’付ã‘ã‚‹ã?æ–?­—ã‚’è–?„ç°è‰²ã«ã™ã‚‹ã€ãªã©ã§ãã¾ã™ã?
1497             * ãŸã ã—ã?ãƒ??ã‚¿é‡ãŒåœ§å€’çš„ã«å¢—ãˆã‚‹ãŸã‚ã?大é‡ã?ãƒ??ã‚¿ç­‰ã§ä½¿ç”¨ã™ã‚‹ã®ã¯é¿ã‘ãŸã»ã?Œè‰¯ã?¨æ€ã„ã¾ã™ã?
1498             *
1499             * @og.rev 3.8.5.0 (2006/03/20) æ–°è¦è¿½åŠ?
1500             *
1501             * @param       grpCls ã¾ã¨ã‚è¡¨ç¤ºã®æ–¹æ³?
1502             */
1503            public void setGroupClass( final String grpCls ) {
1504                    groupClass = nval( getRequestParameter(grpCls),null );
1505            }
1506    
1507            /**
1508             * ã€TAG】カラãƒ?リンクソートを表示ã™ã‚‹ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1509             *
1510             * @og.tag
1511             * ヘッãƒ??ã«ã‚½ãƒ¼ãƒˆç”¨ãƒªãƒ³ã‚¯ã‚’作æ?ã™ã‚‹ useTableSorter 属æ? ã«å¯¾ã—ã¦ã€?
1512             * カラãƒ??別ã«ä½œæ?ã™ã‚‹å ´åˆã?カラãƒ?をカンマ区åˆ?‚Šæ–?­—ã§æŒ?®šã—ã¾ã™ã?
1513             * ã“ã? sortKeys 属æ?ã¯ã€useTableSorter 属æ? ã¨ç„¡é–¢ä¿‚ã«ã€æŒ‡å®šã—ã?
1514             * カラãƒ??ã¿ã€ãƒªãƒ³ã‚¯ã‚’表示ã—ã¾ã™ã?
1515             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(tableSorterKeys)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
1516             * 例�OYA,KO,HJO,SU,DYSET,DYUPD"
1517             *
1518             * @og.rev 3.6.0.0 (2004/09/17) æ–°è¦ä½œæ?
1519             *
1520             * @param       columnName      カラ�
1521             */
1522            public void setTableSorterKeys( final String columnName ) {
1523                    sortKeys = nval( getRequestParameter(columnName),null );
1524            }
1525    
1526            /**
1527             * ã€TAGã€‘æ¤œç´¢çµæžœãƒ¡ãƒ?‚»ãƒ¼ã‚¸ã‚’表示ã—ãªã?‹ã©ã?‹[true/false]を設定ã—ã¾ã?åˆæœŸå€¤:false[表示ã™ã‚‹])ã€?
1528             *
1529             * @og.tag
1530             * åˆæœŸå€¤ã¯ã€è¡¨ç¤ºã™ã‚‹(true以å¤?ã§ã™ã?
1531             *
1532             * @param       flag æ¤œç´¢çµæžœãƒ¡ãƒ?‚»ãƒ¼ã‚¸ã®åˆ¶å¾¡ [true:表示ã—ãªã?ãれ以å¤?表示ã™ã‚‹]
1533             */
1534            public void setNoMessage( final String flag ) {
1535                    noMessage = nval( getRequestParameter( flag ),noMessage );
1536            }
1537    
1538            /**
1539             * ã€TAGã€‘è¡ŒãŒæ›¸ãè¾¼ã¿å¯èƒ½ã‹ã©ã?‹[true/false]を設定ã—ã¾ã?
1540             *              (åˆæœŸå€¤:DBTableModel#DEFAULT_WRITABLE[={@og.value DBTableModel#DEFAULT_WRITABLE}])ã€?
1541             *
1542             * @og.tag
1543             * 書込ã¿è¨±å¯ã™ã‚‹å ´åˆã?, trueã€è¨±å¯ã—ãªã??åˆã?, true 以外を設定ã—ã¾ã™ã?
1544             * ã“ã“ã§ã€false を設定ã™ã‚‹ã¨å…¨è¡Œæ›¸è¾¼ã¿ç¦æ­¢ã«ãªã‚Šã¾ã™ã?true を設定ã—ã?
1545             * å ´åˆã?ãƒ?ƒ•ã‚©ãƒ«ãƒˆã§æ›¸è¾¼ã¿è¨±å¯ãŒä¸Žãˆã‚‰ã‚Œã€å?頭カラãƒ?Œ writable ã§ã‚れã°ã€?
1546             * ãã?値をå–り込んã§ã€è¡Œã”ã¨ã®æ›¸è¾¼ã¿è¨±å¯/ä¸è¨±å¯ãŒæ±ºå®šã•れã¾ã™ã?
1547             * writable,checked,useCheckControl ã«ã¤ã?¦ã¯ã€writable ãŒæœ€å„ªå…ˆã§
1548             * 次ã«ã€useCheckControl="2"(ã¾ãŸã?ã€checked)ã€æ¬¡ã«ã€checked を判定ã—ã¾ã™ã?
1549             * checked="true"ã®å ´åˆã?ã€useCheckControl ãŒã?"1"(true)以上ã?å ´åˆã?
1550             * "2"(checked)ã«è¨­å®šã•れã¾ã™ã?
1551             * (åˆæœŸå€¤:DBTableModel#DEFAULT_WRITABLE[={@og.value DBTableModel#DEFAULT_WRITABLE}])ã€?
1552             *
1553             * @param       flag [true:書込ã¿è¨±å¯/true以å¤?書込ã¿ç¦æ­¢]
1554             * @see         org.opengion.hayabusa.db.DBTableModel#DEFAULT_WRITABLE
1555             */
1556            public void setWritable( final String flag ) {
1557                    writable = getRequestParameter( flag );
1558            }
1559    
1560            /**
1561             * ãƒ??ブルãƒ??ã‚¿ã«æ›¸è¾¼ã¿è¨±å¯?ãƒã‚§ãƒ?‚¯çŠ¶æ…‹ã‚’è¨­å®šã—ã¾ã™ã?
1562             *
1563             * @og.rev 3.6.0.0 (2004/09/17) writable ã?false ã®å ´åˆå?ä»¶ãƒã‚§ãƒ?‚¯ç”¨ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã‚’å?ã•ãªã??
1564             * @og.rev 3.7.0.1 (2005/01/31) 全件ãƒã‚§ãƒ?‚¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ãƒ­ã‚¸ãƒ?‚¯å¤‰æ›´(useCheckControl)
1565             * @og.rev 3.8.8.5 (2007/03/09) 全件ãƒã‚§ãƒ?‚¯(useCheckControl)ã¨ã€å?別ãƒã‚§ãƒ?‚¯(checked)ã®æ•´åˆæ?
1566             * @og.rev 5.5.5.6 (2012/08/31) ユーザーã¨ç”»é¢ã®é–¢ä¿‚ãŒã€ãƒªãƒ¼ãƒ‰ã‚ªãƒ³ãƒªãƒ¼ã®å ´åˆã?ã€writable=falseã‚’å?部設定ã™ã‚‹ã?
1567             * @og.rev 5.5.6.1 (2012/09/03) writable自動セãƒ?ƒˆã¯æŒ?®šã‚³ãƒžãƒ³ãƒ‰ã?ã¿
1568             *
1569             * @param       table   DBTableModelオブジェク�
1570             */
1571            private void setTableRowWritable( final DBTableModel table ) {
1572    
1573                    // 5.5.5.6 (2012/08/31) リードオンリーã®å ´åˆã?ã€writable=falseã‚’å?部設定ã™ã‚‹ã?
1574                    // ã“ã?ã‚¿ã‚°ã§ã€writable ãŒæŒ‡å®šã•れãŸå ´åˆã?ã€ãã¡ã‚‰ã‚’優先ã™ã‚‹ã?(ã¤ã¾ã‚Šã?null ã®å ´åˆã?ã€å?部設定ã™ã‚‹ã?)
1575                    // 5.5.6.1 (2012/09/03) ã“ã?処ç?‚’行ã†ã®ã¯æŒ?®šã‚³ãƒžãƒ³ãƒ‰ã?ã¿
1576    //              if( writable == null || writable.length() == 0 ) {
1577                    if( ( writable == null || writable.length() == 0 ) && check( command, COMMAND_LIST ) ) {
1578                            GUIInfo guiInfo = (GUIInfo)getSessionAttribute( HybsSystem.GUIINFO_KEY );
1579                            if ( ! guiInfo.isWrite() ){
1580                                    writable = "FALSE" ;
1581                            }
1582                    }
1583    
1584                    if( writable != null && writable.length() > 0 ) {
1585                            boolean flag = "TRUE".equalsIgnoreCase( writable );
1586                            table.setDefaultRowWritable( flag );
1587                            if( ! flag ) { useCheckControl = 0; }                   // 3.7.0.1 (2005/01/31)
1588                    }
1589    
1590                    // å…¨ãƒã‚§ãƒ?‚¯ONã®å ´åˆã?ã€å?別ãƒã‚§ãƒ?‚¯ã‚‚ONã«ã™ã‚‹ã€?
1591                    if( useCheckControl == 2 ) { checked = "true"; }        // 3.8.8.5 (2007/03/09)
1592    
1593                    if( checked != null && checked.length() > 0 ) {
1594                            boolean flag = "TRUE".equalsIgnoreCase( checked );
1595                            table.setDefaultRowChecked( flag );
1596                            // 個別ãƒã‚§ãƒ?‚¯ONã®å ´åˆã?ã€å?ãƒã‚§ãƒ?‚¯ã‚‚ONã«ã™ã‚‹ã€?
1597                            if( flag && useCheckControl >= 1 ) { useCheckControl = 2; }                  // 3.8.8.5 (2007/03/09)
1598                    }
1599            }
1600    
1601            /**
1602             * ã€TAG】行ã?ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®åˆæœŸå€¤ã‚’設定ã™ã‚‹ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?åˆæœŸå€¤:null)ã€?
1603             *
1604             * @og.tag
1605             * 書ãè¾¼ã¿å¯èƒ½ãªè¡?rowWritable == true)ã®ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã«å¯¾ã—ã¦
1606             * åˆæœŸå€¤ã‚?é¸æŠžæ¸ˆã¿ã«ã™ã‚‹ã‹ã?éžé¸æŠžæ¸ˆã¿ã«ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã™ã?
1607             * writable,checked,useCheckControl ã«ã¤ã?¦ã¯ã€writable ãŒæœ€å„ªå…ˆã§
1608             * 次ã«ã€useCheckControl="2"(ã¾ãŸã?ã€checked)ã€æ¬¡ã«ã€checked を判定ã—ã¾ã™ã?
1609             * checked="true"ã®å ´åˆã?ã€useCheckControl ãŒã?"1"(true)以上ã?å ´åˆã?
1610             * "2"(checked)ã«è¨­å®šã•れã¾ã™ã?
1611             *
1612             * @param       flag [true:書込ã¿è¨±å¯/ãれ以å¤?書込ã¿ç¦æ­¢]
1613             */
1614            public void setChecked( final String flag ) {
1615                    checked = getRequestParameter( flag );
1616            }
1617    
1618            /**
1619             * ã€TAG】NEXTç­‰ã§ã€?¸æŠžè¡Œä»¥å¤–をスキãƒ??ã™ã‚‹ã®ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?
1620             *              (åˆæœŸå€¤:ViewForm#DEFAULT_SKIP[={@og.value ViewForm#DEFAULT_SKIP}])ã€?
1621             *
1622             * @og.tag
1623             * 明細æƒ??ã®ç™»éŒ²/ç·¨é›?™‚ã«ã€å¿?¦ãªå€‹æ‰€ã®ã¿ã‚’é?番ã«å‡¦ç?™ã‚‹å?åˆã«ä½¿ç”¨ã—ã¾ã™ã?
1624             * (åˆæœŸå€¤:ViewForm#DEFAULT_SKIP[={@og.value ViewForm#DEFAULT_SKIP}])ã€?
1625             *
1626             * @param       flag スキãƒ??  [true:ã™ã‚‹/ãれ以å¤?ã—ãªã„]
1627             * @see         org.opengion.hayabusa.html.ViewForm#DEFAULT_SKIP
1628             */
1629            public void setSkip( final String flag ) {
1630                    skip = nval( getRequestParameter( flag ),skip );
1631            }
1632    
1633            /**
1634             * ã€TAG】表示ãƒ??タを作æ?ã™ã‚‹å ´åˆã?フォーマットã?行数をセãƒ?ƒˆã—ã¾ã?åˆæœŸå€¤:2)ã€?
1635             *
1636             * @og.tag 表示ãƒ??タを作æ?ã™ã‚‹å ´åˆã?フォーマットã?行数をセãƒ?ƒˆã—ã¾ã™ã?
1637             *
1638             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1639             *
1640             * @param       rowspan フォーマットã?行数
1641             */
1642            public void setRowspan( final String rowspan ) {
1643                    this.rowspan = getRequestParameter(rowspan);
1644            }
1645    
1646            /**
1647             * ã€TAG】表示時ã?é¸æŠžç”¨ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã?タイプ[checkbox/radio/hidden]を指定ã—ã¾ã?åˆæœŸå€¤:checkbox)ã€?
1648             *
1649             * @og.tag
1650             * è¤?•°é¸æŠžå¯èƒ½æ™‚ã? "checkbox" を指定ã—ã¾ã™ã?
1651             * ä¸?¤ã?‘é¸ã°ã›ã‚‹å ´åˆã?, "radio" を指定ã—ã¾ã™ã?
1652             * éš?—フィールドã§å…¨ä»¶ã‚’é¸ã¶å ´åˆã?ã€?hidden" を指定ã—ã¾ã™ã?
1653             * åˆæœŸå€¤ã¯ã€?checkbox" ã§ã™ã?
1654             *
1655             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1656             *
1657             * @param       type é¸æŠžç”¨ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã?タイプ[checkbox:è¤?•°é¸æŠ?radio:ä¸?¤ã?‘/hidden:å…¨ä»¶é¸æŠž]
1658             */
1659            public void setSelectedType( final String type ) {
1660                    selectedType = nval( getRequestParameter(type),selectedType );
1661            }
1662    
1663            /**
1664             * ã€TAG】表示時ã?行番å·ã®è¡¨ç¤ºæ–¹æ³•[sequence/none/delete/skip=カラãƒ?/view=カラãƒ?]を指定ã—ã¾ã?åˆæœŸå€¤:sequence)ã€?
1665             *
1666             * @og.tag
1667             * ・sequenceã¯ã€?¼‘ã‹ã‚‰å§‹ã¾ã‚‹é?番ã§ã™ã?
1668             * ・none を指定ã™ã‚‹ã¨ã€ç•ªå·ã¯è¡¨ç¤ºã•れã¾ã›ã‚“ã€?
1669             * ・delete を指定ã™ã‚‹ã¨ã€è¡Œç•ªå·è¡¨ç¤ºãã?ã‚‚ã?ã®ã‚¿ã‚°ã‚’å–り除ãã¾ã™ã?(3.5.5.0 追åŠ?
1670             * ・skip=カラãƒ?を指定ã™ã‚‹ã¨ã€ãã®ã‚«ãƒ©ãƒ??値ã?NULL ã®å ´åˆã?ã€ç•ªå·ã‚’スキãƒ??ã—ã¾ã™ã?
1671             * ・view=カラãƒ?を指定ã™ã‚‹ã¨ã€ãã®ã‚«ãƒ©ãƒ??値ãŒã?使用ã•れã¾ã™ã?(ラベルã¯ä»˜ãã¾ã›ã‚“)
1672             * skip=XX ã¨ã€view=XX ã¯ã€?ã®å‰å¾Œã«ã‚¹ãƒšã?スをå?れãªã?§ä¸‹ã•ã??
1673             * åˆæœŸå€¤ã¯ã€?sequence" ã§ã™ã?
1674             *
1675             * @og.rev 3.5.1.0 (2003/10/03) æ–°è¦ä½œæ?
1676             *
1677             * @param       type 行番å·ã®è¡¨ç¤ºæ–¹æ³•ã?タイãƒ?[sequence:連番/none:éžè¡¨ç¤º/delete:タグ削除/skip=カラãƒ?/view=カラãƒ?]
1678             */
1679            public void setNumberType( final String type ) {
1680                    numberType = nval( getRequestParameter(type),numberType );
1681            }
1682    
1683            /**
1684             * ã€TAG】テーブル等ã?ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã«å±žæ?を付加ã—ã¾ã™ã?
1685             *
1686             * @og.tag
1687             * JavaScript ãªã©ã® HTML基本タグ以外ã?属æ?ã‚’ã?ãã?ã¾ã¾
1688             * ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹/ラジオボタン等ã«ä½¿ç”¨ã—ã¾ã™ã?
1689             * ãã?ã¨ãã«ã€?')ã¯ã€?")ã«ç½®ãæ›ãˆã¾ã™ã?
1690             *
1691             * @param       attributes HTML基本タグ以外ã?属æ?
1692             */
1693            public void setOptionTypeAttributes( final String attributes ) {
1694                    String optAttri = getRequestParameter( attributes );
1695                    if( optAttri != null && optAttri.length() > 0 ) {
1696                            optTypeAttri = optAttri.replace( '\'', '\"' );
1697                    }
1698            }
1699    
1700    //      /**
1701    //       * ã€å»?­¢ã€‘表示時ã?ラベルを変更ã™ã‚‹æ™‚ã?カラãƒ?‚­ãƒ¼(å‚ç??šcolumnEditor ã‚¿ã‚°)ã€?
1702    //       *
1703    //       * @og.tag
1704    //       * changeLabelVal ã¨ã‚»ãƒ?ƒˆã§ä½¿ç”¨ã•れã¾ã™ã?
1705    //       * 通常ã®ãƒ©ãƒ™ãƒ«å®šç¾©ã•れã¦ã?‚‹é ?›®ã¨ç½®ãæ›ãˆãŸã??åˆã?ã€?
1706    //       * ?³?±?¬æ–??ä»®é ?›®ã§æŒ?®šã—ã¾ã™ã?
1707    //       * åˆ?§£æ–¹æ³•ã?ã€CSV変数をå?ã«åˆ?§£ã—ã¦ã‹ã‚‰ã€getRequestParameter ã§å€¤ã‚’å–å¾—ã—ã¾ã™ã?
1708    //       * ã“ã†ã—ãªã?¨ãƒ??タ自身ã«ã‚«ãƒ³ãƒžã‚’æŒã£ã¦ã?‚‹å ´åˆã«åˆ?§£ã‚’ミスる為ã§ã™ã?
1709    //       *
1710    //       * @og.rev 3.5.6.2 (2004/07/05) å…ˆã«é…å?ã«åˆ?§£ã—ã¦ã‹ã‚‰ãƒªã‚¯ã‚¨ã‚¹ãƒˆå¤‰æ•°ã®å€¤ã‚’å–å¾?
1711    //       *
1712    //       * @param       key カラãƒ?‚­ãƒ¼
1713    //       * @deprecated  columnEditor ã‚¿ã‚°ã§ã€ãƒ©ãƒ™ãƒ«ã‚’å?れ替ãˆã‚‹æ–¹æ³•ã§ã€ä»£æ›¿ã—ã¦ãã ã•ã„ã€?
1714    //       */
1715    //      @Deprecated public void setChangeLabelKeys( final String key ) {
1716    //              changeLabelKeys = getCSVParameter( key );
1717    //      }
1718    
1719    //      /**
1720    //       * ã€å»?­¢ã€‘表示時ã?ラベルを変更ã™ã‚‹æ™‚ã?ラベル(å‚ç??šcolumnEditor ã‚¿ã‚°)ã€?
1721    //       *
1722    //       * @og.tag
1723    //       * changeLabelKey ã¨ã‚»ãƒ?ƒˆã§ä½¿ç”¨ã•れã¾ã™ã?
1724    //       * åˆ?§£æ–¹æ³•ã?ã€CSV変数をå?ã«åˆ?§£ã—ã¦ã‹ã‚‰ã€getRequestParameter ã§å€¤ã‚’å–å¾—ã—ã¾ã™ã?
1725    //       * ã“ã†ã—ãªã?¨ãƒ??タ自身ã«ã‚«ãƒ³ãƒžã‚’æŒã£ã¦ã?‚‹å ´åˆã«åˆ?§£ã‚’ミスる為ã§ã™ã?
1726    //       *
1727    //       * @og.rev 3.5.6.2 (2004/07/05) CommonTagSupport#getCSVParameter を使用
1728    //       *
1729    //       * @param       val ラベル
1730    //       * @deprecated columnEditor ã‚¿ã‚°ã§ã€ãƒ©ãƒ™ãƒ«ã‚’å?れ替ãˆã‚‹æ–¹æ³•ã§ã€ä»£æ›¿ã—ã¦ãã ã•ã„ã€?
1731    //       */
1732    //      @Deprecated public void setChangeLabelVals( final String val ) {
1733    //              changeLabelVals = getCSVParameter( val );
1734    //      }
1735    
1736            /**
1737             * ã€TAG】ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®å…¨ãƒã‚§ãƒ?‚¯ã‚’é¸æŠžã™ã‚‹JavaScript ã®æ©Ÿè?を使用ã™ã‚‹ã‹ã©ã?‹ã‚’指定ã—ã¾ã?
1738             *              (åˆæœŸå€¤:VIEW_USE_CHECK_CONTROL[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_CHECK_CONTROL}])ã€?
1739             *
1740             * @og.tag
1741             * "true" ã§ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ç”¨ã®ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ãŒç¾ã‚Œã¦ã€ã“ã®æ©Ÿè?を使用ã™ã‚‹ã“ã¨ãŒã§ãるよã†ã«ãªã‚Šã¾ã™ã?
1742             * false ã¯ã€å¾“æ¥ã©ãŠã‚Šã§ã™ã?
1743             * 使用ã™ã‚‹ã«ã‚ãŸã‚Šã?jsp/commpn/default.js ã«JavaScriptを設定ã—ã¦ãŠãã¾ã™ã?(設定済ã¿)
1744             * false ã¯ã€?ã§ã‚‚代用å¯èƒ½ã§ã™ã?true ã¯ã€?ã§ã‚‚代用å¯èƒ½ã§ã™ã?
1745             * checked ã¯ã€?ã§ã‚‚代用å¯èƒ½ã§ã™ã?checked ã¯ã€å?期å?ã‚’ã?ãƒã‚§ãƒ?‚¯æ¸ˆã¿ã«ã—ã¾ã™ã?
1746             * 注æ„ï¼?,1,2,true,false,checked 以外ã?æ–?­—ã‚’ã‚»ãƒ?ƒˆã™ã‚‹ã¨ã€ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã™ã?
1747             * writable,checked,useCheckControl ã«ã¤ã?¦ã¯ã€writable ãŒæœ€å„ªå…ˆã§
1748             * 次ã«ã€useCheckControl="2"(ã¾ãŸã?ã€checked)ã€æ¬¡ã«ã€checked を判定ã—ã¾ã™ã?
1749             * checked="true"ã®å ´åˆã?ã€useCheckControl ãŒã?"1"(true)以上ã?å ´åˆã?
1750             * "2"(checked)ã«è¨­å®šã•れã¾ã™ã?
1751             * (åˆæœŸå€¤:ユーザー定数ã®VIEW_USE_CHECK_CONTROL[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_CHECK_CONTROL}])ã€?
1752             *
1753             * @og.rev 3.5.4.3 (2004/01/05) æ–°è¦è¿½åŠ?
1754             * @og.rev 3.7.0.1 (2005/01/31) 全件ãƒã‚§ãƒ?‚¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ãƒ­ã‚¸ãƒ?‚¯å¤‰æ›´(useCheckControl)
1755             *
1756             * @param       flag ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®å…¨ãƒã‚§ãƒ?‚¯ã‚’é¸æŠžã™ã‚‹æ©Ÿè?を使用ã™ã‚‹ã‹ã©ã?‹
1757             *                      (true,1:使用ã™ã‚‹/false,0:使用ã—ãªã?checked,2:åˆæœŸå€¤ãƒã‚§ãƒ?‚¯æ¸ˆã¿)
1758             * @see         org.opengion.hayabusa.common.SystemData#VIEW_USE_CHECK_CONTROL
1759             */
1760            public void setUseCheckControl( final String flag ) {
1761                    useCheckControl = intCase( getRequestParameter(flag) );
1762    
1763                    if( useCheckControl < 0 ) {
1764                            String errMsg = "useCheckControl ã¯ã€false(0)/true(1)/2 ã®ã?šã‚Œã‹ã—ã‹ç™»éŒ²ã§ãã¾ã›ã‚“ã€?"
1765                                                     + flag + "]";
1766                            throw new HybsSystemException( errMsg );
1767                    }
1768            }
1769    
1770            /**
1771             * ã€TAG】ã?ãƒ?ƒ€ãƒ¼ã«ã‚½ãƒ¼ãƒˆç”¨ãƒªãƒ³ã‚¯ã‚’作æ?ã™ã‚‹ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?
1772             *              (åˆæœŸå€¤:VIEW_USE_TABLE_SORTER[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_TABLE_SORTER}])ã€?
1773             *
1774             * @og.tag
1775             * "true" ã§ã€ã?ãƒ?ƒ€ãƒ¼ã«ã‚½ãƒ¼ãƒˆç”¨ãƒªãƒ³ã‚¯ã‚’作æ?ã—ã¾ã™ã?
1776             * false ã¯ã€å¾“æ¥ã©ãŠã‚Šã§ã™ã?
1777             * 検索済ã¿ã®DBTableModelã‚’ã?メモリ上ã§ã‚½ãƒ¼ãƒˆã—ã€å?表示ã•ã›ã¾ã™ã?
1778             *              (åˆæœŸå€¤:ユーザー定数ã®VIEW_USE_TABLE_SORTER[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_TABLE_SORTER}])ã€?
1779             *
1780             * @og.rev 3.5.4.7 (2004/02/06) æ–°è¦è¿½åŠ?
1781             *
1782             * @param       flag ヘッãƒ??ã«ã‚½ãƒ¼ãƒˆç”¨ãƒªãƒ³ã‚¯ã‚’作æ?ã™ã‚‹ã‹ã©ã?‹ [true:作æ?ã™ã‚‹/false:作æ?ã—ãªã„]
1783             * @see         org.opengion.hayabusa.common.SystemData#VIEW_USE_TABLE_SORTER
1784             */
1785            public void setUseTableSorter( final String flag ) {
1786                    useTableSorter = nval( getRequestParameter(flag),useTableSorter );
1787            }
1788    
1789            /**
1790             * 表示ãƒ??ã‚¿ã‚’ã?レビューå¯èƒ½ã‹ã©ã?‹ã‚’è¿”ã—ã¾ã™ã?
1791             *
1792             * ä¸å¯èƒ½ãªçŠ¶æ…‹ã¨ã¯,ã™ã§ã«ä¸?•ªå…ˆé?ã‹ã‚‰è¡¨ç¤ºã•れã¦ã?‚‹å ´åˆã§ã™ã?
1793             *
1794             * @return      プレビューå¯èƒ½(true)?ä¸å¯èƒ½(false)
1795             */
1796            private boolean isPrev() {
1797                    if( startNo <= 0 ) {
1798                            return false;
1799                    }
1800                    return true;
1801            }
1802    
1803            /**
1804             * 表示ãƒ??ã‚¿ã‚’ãƒã‚¯ã‚¹ãƒˆå¯èƒ½ã‹ã©ã?‹ã‚’è¿”ã—ã¾ã™ã?
1805             *
1806             * ä¸å¯èƒ½ãªçŠ¶æ…‹ã¨ã¯,ã™ã§ã«ä¸?•ªå¾Œã‚ãŒè¡¨ç¤ºã•れã¦ã?‚‹å ´åˆã§ã™ã?
1807             *
1808             * @return      ãƒã‚¯ã‚¹ãƒˆå¯èƒ½(true)?ä¸å¯èƒ½(false)
1809             */
1810            private boolean  isNext() {
1811                    if( (startNo + pageSize) >= table.getRowCount() ) {
1812                            return false;
1813                    }
1814                    return true;
1815            }
1816    
1817            /**
1818             * コマンドを実行ã—ã¾ã™ã?
1819             *
1820             * コマンドã?,HTMLã‹ã‚‰(get/post)æŒ?®šã•れã¾ã™ã?ã§,setCommand()メソãƒ?ƒ‰ã§
1821             * 登録ã—ã¾ã™ã?
1822             * コマンドを登録ã™ã‚‹ã¨åŒæ™‚ã«,実行も行ãªã?¾ã™ã?
1823             *
1824             * @og.rev 3.8.0.8 (2005/10/03) ãã?ä»–ã?コマンドを CMD_XXX ã«ã—ã¾ã™ã?
1825             *
1826             * @param       command コマンãƒ?public static final 宣è¨?•れã¦ã?‚‹æ–?­—å?)
1827             * @see         <a href="../../../../constant-values.html#org.opengion.hayabusa.taglib.ViewFormTag.CMD_PREV">コマンド定数</a>
1828             */
1829            private void commandExec( final String command ) {
1830                    if(      CMD_PREV.equals(       command ) ) { prev() ;  }
1831                    else if( CMD_NEXT.equals(       command ) ) { next() ;  }
1832                    else if( CMD_FIRST.equals(      command ) ) { first() ; }
1833                    else if( CMD_LAST.equals(       command ) ) { last() ;  }
1834            //      else if( CMD_NEW.equals(        command ) ) {}          // 何もã—ãªã?
1835            //      else if( CMD_REVIEW.equals( command ) ) {}              // 何もã—ãªã?
1836            //      else if( CMD_RESET.equals(      command ) ) {}          // 何もã—ãªã?
1837                    else if( CMD_VIEW.equals(       command ) ) { view() ;  }
1838                    // 3.8.0.8 (2005/10/03) ãã?ä»–ã?コマンドを CMD_XXX ã«ã—ã¾ã™ã?
1839                    else if( CMD_XXX.equals(        command ) ) { view() ;  }
1840                    this.command = null;
1841            }
1842    
1843            /**
1844             * HTMLãƒ??ã‚¿ã®è¡¨ç¤ºã‚’ã?レビュー(戻ã?ã—ã¾ã™ã?
1845             *
1846             * @og.rev 3.0.1.3 (2003/03/11) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’ã€è¿½åŠ?
1847             *
1848             */
1849            private void prev() {
1850                    if( ! isPrev() ) { return ; }                   // prev 出æ¥ãªã??
1851                    tempStartNo = tempStartNo - pageSize;
1852                    if( tempStartNo < 0 ) { tempStartNo = 0; }
1853                    if( skip ) {
1854                            for( int i=startNo-1; i>=0; i-- ) {
1855                                    if( form.isMarked( i ) ) {
1856                                            startNo = i;
1857                                            break;
1858                                    }
1859                            }
1860                            return ;
1861                    }
1862    
1863                    startNo = startNo - pageSize;
1864                    if( startNo < 0 ) {
1865                            startNo = 0;
1866                    }
1867            }
1868    
1869            /**
1870             * HTMLãƒ??ã‚¿ã®è¡¨ç¤ºã‚’ãƒã‚¯ã‚¹ãƒ?å…ˆé?ã‚?ã—ã¾ã™ã?
1871             *
1872             * @og.rev 3.0.1.3 (2003/03/11) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’ã€è¿½åŠ?
1873             *
1874             */
1875            private void next() {
1876                    if( ! isNext() ) { return ; }                   // next 出æ¥ãªã??
1877                    tempStartNo = tempStartNo + pageSize;
1878                    if( skip ) {
1879                            int end  = table.getRowCount();
1880                            for( int i=startNo+1; i<end; i++ ) {
1881                                    if( form.isMarked( i ) ) {
1882                                            startNo = i;
1883                                            break;
1884                                    }
1885                            }
1886                            return ;
1887                    }
1888    
1889                    startNo = startNo + pageSize;
1890            }
1891    
1892            /**
1893             * HTMLãƒ??ã‚¿ã®è¡¨ç¤ºã‚’ファースãƒ?æœ??)ã—ã¾ã™ã?
1894             *
1895             * @og.rev 3.0.1.3 (2003/03/11) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’ã€è¿½åŠ?
1896             *
1897             */
1898            private void first() {
1899                    tempStartNo = 0;
1900                    if( tempStartNo < 0 ) { tempStartNo = 0; }
1901                    if( skip ) {
1902                            int end  = table.getRowCount();
1903                            for( int i=startNo; i<end; i++ ) {
1904                                    if( form.isMarked( i ) ) {
1905                                            startNo = i;
1906                                            break;
1907                                    }
1908                            }
1909                            return ;
1910                    }
1911    
1912                    startNo = 0;
1913            }
1914    
1915            /**
1916             * HTMLãƒ??ã‚¿ã®è¡¨ç¤ºã‚’ラスãƒ?æœ?¾?ã—ã¾ã™ã?
1917             *
1918             * @og.rev 3.0.1.3 (2003/03/11) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’ã€è¿½åŠ?
1919             *
1920             */
1921            private void last() {
1922                    tempStartNo = table.getRowCount() - pageSize;
1923                    if( tempStartNo < 0 ) { tempStartNo = 0; }
1924                    if( skip ) {
1925                            for( int i=startNo; i>=0; i-- ) {
1926                                    if( form.isMarked( i ) ) {
1927                                            startNo = i;
1928                                            break;
1929                                    }
1930                            }
1931                            return ;
1932                    }
1933    
1934                    startNo = table.getRowCount() - pageSize;
1935                    if( startNo < 0 ) { startNo = 0; }
1936            }
1937    
1938            /**
1939             * HTMLãƒ??ã‚¿ã®è¡¨ç¤ºã‚’ã—ã¾ã™ã?
1940             *
1941             */
1942            private void view() {
1943                    if( skip ) {
1944                            int end  = table.getRowCount();
1945                            for( int i=startNo; i<end; i++ ) {
1946                                    if( form.isMarked( i ) ) {
1947                                            startNo = i;
1948                                            break;
1949                                    }
1950                            }
1951                            return ;
1952                    }
1953            }
1954    
1955            /**
1956             * startNo,pageSize,pagePlus ã®åˆæœŸå€¤ã‚’設定ã™ã‚‹ã?
1957             *
1958             * @og.rev 3.0.1.3 (2003/03/11) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’ã€è¿½åŠ?
1959             * @og.rev 3.5.4.1 (2003/12/01) startNo をキャãƒ?‚·ãƒ¥ã‹ã‚‰å–り出ã™ã‚ˆã?«å¤‰æ›´ã€?
1960             * @og.rev 3.5.4.7 (2004/02/06) getStartNoKeyメソãƒ?ƒ‰ã®å»?­¢(getRequestCacheDataを利用)
1961             * @og.rev 3.7.0.2 (2005/02/14) NEXT 時ã«ä½•ã‚‚é¸æŠžã—ãªã?§è¿½åŠ?—ãŸå?åˆã?ã€?¼‘ä»¶ç›®ã‹ã‚‰è¡¨ç¤ºã™ã‚‹ã€?
1962             * @og.rev 3.8.0.8 (2005/10/03) ãã?ä»–ã?コマンドを CMD_XXX ã«ã—ã¾ã™ã?
1963             *
1964             */
1965            private void setDefaultParameter() {
1966                    // 3.7.0.2 (2005/02/14)
1967                    // 3.8.0.8 (2005/10/03) ãã?ä»–ã?コマンドを CMD_XXX ã«ã—ã¾ã™ã?
1968                    if( CMD_XXX.equals( command ) ) {
1969                            String[] selected = getRequestValues( HybsSystem.ROW_SEL_KEY ) ;
1970                            if( selected == null || selected.length == 0 ) {
1971                                    startNo = 0;
1972                                    tempStartNo = startNo;
1973                            }
1974                    }
1975    
1976                    if( startNo<0 ) {
1977                            startNo = nval( getRequestCacheData( START_NO_KEY ),form.getStartNo() ) ;
1978                            tempStartNo = startNo;
1979                    }
1980    
1981                    if( pageSize<0 ) {
1982                            pageSize = nval( getRequestValue( PAGE_SIZE_KEY ),form.getPageSize() ) ;
1983                    }
1984    
1985                    if( pagePlus<0 ) {
1986                            pagePlus = nval( getRequestValue( PAGE_PLUS_KEY ),0 ) ;
1987                    }
1988    
1989            }
1990    
1991            /**
1992             * å†?ƒ¨ã‚¿ã‚°ã® TheadTag / TbodyTag / TfootTag よりã€å?ã€??フォーマットを定義ã™ã‚‹
1993             * 為ã®TableFormatter オブジェクトをå—ã‘å–ã‚‹ã€?
1994             *
1995             * @og.rev 3.5.4.0 (2003/11/25) æ–°è¦ç™»éŒ²(setAttributes メソãƒ?ƒ‰ã‚ˆã‚Šç§»è¡?
1996             *
1997             * @param       form TableFormatterオブジェク�
1998             */
1999            protected void addFormatter( final TableFormatter form ) {
2000                    if( values == null ) { values = new ArrayList<TableFormatter>(); }
2001                    values.add( form );
2002            }
2003    
2004            /**
2005             * pageSize ã‚’hidden属æ?ã§å‡ºåŠ›ã™ã‚‹ã‚¿ã‚°ã‚’作æ?ã—ã¾ã™ã?
2006             *
2007             * @og.rev 3.5.4.0 (2003/11/25) command="RESET"時ã«ã€æˆ»ã£ãŸç”»é¢ã®pageSize ãŒã‚¯ãƒªã‚¢ã•れã¦ã—ã¾ã?¯¾å¿œã?
2008             * @og.rev 3.5.5.5 (2004/04/23) hidden ã®å‡ºåŠ›ã«ã€XHTMLTag.hidden を使用ã—ã¾ã™ã?
2009             *
2010             * @param       pageSize        ペã?ジサイズ
2011             *
2012             * @return      hidden属æ?ã§å‡ºåŠ›ã™ã‚‹ã‚¿ã‚°
2013             */
2014            private String makePageSize( final int pageSize ) {
2015                    String name   = PAGE_SIZE_KEY;
2016                    String value  = String.valueOf( pageSize );
2017    
2018                    return XHTMLTag.hidden( name,value );   // 3.5.5.5 (2004/04/23)
2019            }
2020    
2021            /**
2022             * consistencyKey ã‚’hidden属æ?ã§å‡ºåŠ›ã™ã‚‹ã‚¿ã‚°ã‚’作æ?ã—ã¾ã™ã?
2023             * 出力ã™ã‚‹æ¡ä»¶ã¯ã€useConsistency="true" (åˆæœŸå€¤)ã€ã§
2024             * scope ãŒã? request 以外ã?å ´åˆã§ã™ã?
2025             * tableId ãŒè¨­å®šã•れãŸå ´åˆã?ã€consistencyKey ã«ã€tableId を加ãˆãŸ
2026             * キーã«ã—ã¾ã™ã?
2027             *
2028             * @og.rev 3.5.5.5 (2004/04/23) DBTableModel ã®æ•´åˆæ?パラメータã‚?hidden ã§å‡ºåŠ›ã—ã¾ã™ã?
2029             * @og.rev 3.5.5.5 (2004/04/23) hidden ã®å‡ºåŠ›ã«ã€XHTMLTag.hidden を使用ã—ã¾ã™ã?
2030             * @og.rev 3.5.5.8 (2004/05/20) makeConsistencyKey メソãƒ?ƒ‰ã«å‡¦ç?ƒ­ã‚¸ãƒ?‚¯ã‚’ç§»ã—ã¾ã™ã?
2031             *
2032             */
2033            private void makeConsistencyKey() {
2034                    if( useConsistency && ! "request".equals( getScope() ) ) {
2035                            String name   = HybsSystem.CONSISTENCY_KEY;
2036                            String value  = table.getConsistencyKey() ;
2037    
2038                            jspPrint( XHTMLTag.hidden( name,value ) );
2039                    }
2040            }
2041    
2042            /**
2043             * "false","true","checked" ã®æ–?­—å?ã‚’ã?ãれãžã‚Œã€?,1,2 ã«å¯¾å¿œã—ãŸæ•°å­—ã«å¤‰æ›ã—ã¾ã™ã?
2044             * ãれ以外ã?æ–?­—å?ã¯ã€?1 ã«ã—ã¾ã™ã?
2045             *
2046             * @og.rev 3.7.0.1 (2005/01/31) æ–°è¦ä½œæ?
2047             *
2048             * @param    flag æ–?­—å? (true=1 , false=0 , checked=2) ã®æ–?­—å?
2049             *
2050             * @return   設定å?(0,1,2ã®æ•°å­—ã?䏿­£ãªå ´åˆã?ã€?1 ã‚’è¿”ã™ã€?
2051             */
2052            private static int intCase( final String flag ) {
2053                    int rtn = -1;
2054                    if( "FALSE".equalsIgnoreCase( flag ) || "0".equalsIgnoreCase( flag ) ) {
2055                            rtn = 0;
2056                    }
2057                    else if( "TRUE".equalsIgnoreCase( flag ) || "1".equalsIgnoreCase( flag ) ) {
2058                            rtn = 1;
2059                    }
2060                    else if( "CHECKED".equalsIgnoreCase( flag ) || "2".equalsIgnoreCase( flag ) ) {
2061                            rtn = 2;
2062                    }
2063                    return rtn ;
2064            }
2065    
2066            /**
2067             * ViewForm ã®ã‚µãƒ–ã‚¯ãƒ©ã‚¹ã«æ¸¡ã™ãƒ‘ラメータマッãƒ?
2068             *
2069             * @og.rev 3.5.4.8 (2004/02/23) ViewParamTag ã®ãƒ‘ラメータを追åŠ?—ã¾ã™ã?
2070             *
2071             * @param       map パラメータマッ�
2072             */
2073            protected void setParam( final Map<String,String> map ) {
2074                    viewParam = map ;
2075            }
2076            
2077            /**
2078             * ViewForm ã®ã‚µãƒ–ã‚¯ãƒ©ã‚¹ã«æ¸¡ã™ãƒ‘ラメータ(æ–?­—å?é…å?ã®ArrayList)を設定ã—ã¾ã™ã?
2079             *
2080             * @og.rev 5.5.8.3 (2012/11/17) æ–°è¦ä½œæ??ˆã‚¹ã‚¿ãƒ?‚¯ã‚¬ãƒ³ãƒˆå¯¾å¿œï¼?
2081             * @og.rev 5.5.9.0 (2012/12/03) objectã‹ã‚‰ArrayListã«å¤‰æ›´
2082             *
2083             * @param       list æ–?­—å?é…å?ã®ArrayList
2084             */
2085    //      protected void setViewObject( final Map<String,Object> map ) {
2086            protected void setViewArrayList( final ArrayList<String[]> list ) {
2087                    viewArrayList = list;
2088            }
2089    
2090            /**
2091             * ã€TAG】パラメーターファイルã®ä½¿ç”¨ã‚’ã™ã‚‹ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?åˆæœŸå€¤:false)ã€?
2092             *
2093             * @og.tag
2094             * "true" ã§ã€ãƒ‘ラメータファイルを読ã¿è¾¼ã‚?Ÿã‚ã?BODY部をå?ç?—ã¾ã™ã?
2095             * false ã¯ã€ãƒ‘ラメータファイã?‚’使用ã—ã¾ã›ã‚“ã€?
2096             * パラメータファイルã¯ã€å„ViewFormã®ã‚µãƒ–クラス用ã«ç”¨æ„ã—ã¾ã™ã?
2097             * åˆæœŸå€¤ã¯ã€false ã§ã™ã?(false)
2098             *
2099             * @og.rev 3.5.4.8 (2004/02/23) æ–°è¦è¿½åŠ?
2100             *
2101             * @param       flag パラメーターファイルを使用 [true:使用ã™ã‚‹/false:使用ã—ãªã„]
2102             */
2103            public void setUseParam( final String flag ) {
2104                    useParam = nval( getRequestParameter(flag),useParam );
2105            }
2106    
2107            /**
2108             * ã€TAG】Consistency キー ã«ã‚ˆã‚‹æ•´åˆæ?ãƒã‚§ãƒ?‚¯ã‚’行ã†ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?åˆæœŸå€¤:true)ã€?
2109             *
2110             * @og.tag
2111             * æ¤œç´¢çµæžœã‚?DBTableModel ã«ã‚»ãƒ?ƒˆã™ã‚‹æ™‚ã«ã€æ•´åˆæ?キー㮠Consistency キーã‚?
2112             * 作æ?ã—ã¾ã™ã?ã“れをã?Viewã‚¿ã‚°ã§hidden出力ã—ã¦ãŠãã€Entryã‚¿ã‚°ã§ãƒ??ã‚¿æ›¸ãæ›ãˆæ™‚ã«
2113             * æ•´åˆæ?ãƒã‚§ãƒ?‚¯ã‚’行ã„ã¾ã™ã?ã“れã¯ã€IEã®æˆ»ã‚‹ã?ã‚¿ãƒ³ã§æˆ»ã£ãŸå?åˆã«ã€ç”»é¢ã®
2114             * ã‚­ãƒ¼ã¨æ¤œç´¢çµæžœã® DBTableModel ã®å†?®¹ãŒä¸??ã—ãªã??åˆã?エラーãƒã‚§ãƒ?‚¯ã«
2115             * ãªã‚Šã¾ã™ã?
2116             * ã“ã?属æ?ã¯ã€ä½•らã‹ã?ケースã§ã€ã“ã®ã‚¨ãƒ©ãƒ¼ãƒã‚§ãƒ?‚¯ã‚’行ã„ãŸããªã??åˆã«ã€?
2117             * false ã«è¨­å®šã™ã‚‹ã“ã¨ã§ã€æ•´åˆæ?ãƒã‚§ãƒ?‚¯ã‚’行ã„ã¾ã›ã‚“ã€?
2118             * åˆæœŸå€¤ã¯ã€true(æ•´åˆæ?ãƒã‚§ãƒ?‚¯ã‚’行ã†)ã§ã™ã?
2119             *
2120             * @og.rev 3.5.5.7 (2004/05/10) æ–°è¦ç™»éŒ²
2121             *
2122             * @param       ck      Consistency Key ã®ä½¿ç”¨ã™ã‚‹ã‹ã©ã?‹ [true:行ã†/false:行ã‚ãªã„]
2123             */
2124            public void setUseConsistency( final String ck ) {
2125                    useConsistency = nval( getRequestParameter( ck ),useConsistency );
2126            }
2127    
2128            /**
2129             * ã€TAG】テーブルã®ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰ã‚«ãƒ©ãƒ¼ã®å…¥ã‚Œæ›¿ãˆã?サイクルをセãƒ?ƒˆã—ã¾ã?åˆæœŸå€¤ã¯ã€?:ゼブラ)ã€?
2130             *
2131             * @og.tag
2132             * 0(ゼブラãªã?ã€?1(ワーニング)ã€?2以ä¸?エラー)ã€?(ゼブラ)ã€?以ä¸?行数ã¾ã¨ã‚?
2133             * åˆæœŸå€¤ã¯ã€?(ゼブラ)ã§ã™ã?
2134             *
2135             * @og.rev 3.5.6.2 (2004/07/05) æ–°è¦è¿½åŠ?
2136             *
2137             * @param  sycle  0(ゼブラãªã?ã€?1(ワーニング)ã€?2以ä¸?エラー)ã€?(ゼブラ)ã€?以ä¸?行数ã¾ã¨ã‚?
2138             */
2139            public void setBgColorCycle( final String sycle ) {
2140                    bgColorCycle = nval( getRequestParameter( sycle ),bgColorCycle );
2141            }
2142    
2143            /**
2144             * ã€TAG】テーブルã®ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰ã‚«ãƒ©ãƒ¼ã®ã‚¯ãƒ©ã‚¹ã«æŒ?®šã™ã‚‹ã‚«ãƒ©ãƒ?を指定ã—ã¾ã™ã?
2145             *
2146             * @og.tag
2147             * 通常ã®ã‚¼ãƒ–ラ模様ã?ã€tr 属æ?ã®ã‚¯ãƒ©ã‚¹æŒ?®šã¨ã—ã¦ã€row_0ã€row_1 ãŒæŒ‡å®šã•れã¾ã™ã?
2148             * ãã?代ã‚りã«ã€ã“ã“ã§æŒ?®šã•れãŸã‚«ãƒ©ãƒ??値ãŒã‚¯ãƒ©ã‚¹å±žæ?ã¨ã—ã¦è¨­å®šã•れã¾ã™ã?
2149             * (æŒ?®šã™ã‚‹ã?ã¯ã‚«ãƒ©ãƒ?ã§ã™ã?行å˜ä½ã«ã‚¯ãƒ©ã‚¹å±žæ?ã®å€¤ã‚’変ãˆã‚‹ã“ã¨ãŒå¯èƒ½ã§ã™ã?)
2150             * é¸æŠžè¡?row_sel)ã¯ã€å„ªå…ˆã—ã¦ä½¿ç”¨ã•れã¾ã™ã?
2151             * 出力ã•れるクラスåã?ã€?row_" + 属æ?値 ã«ãªã‚Šã¾ã™ã?
2152             *
2153             * @og.rev 5.1.8.0 (2010/07/01) æ–°è¦è¿½åŠ?
2154             *
2155             * @param  clsClm ゼブラ模様ã?替ã‚ã‚Šã«æŒ?®šã™ã‚‹ã‚¯ãƒ©ã‚¹ã‚’æ?ç´ã—ãŸã‚«ãƒ©ãƒ?
2156             */
2157            public void setBgColorClsClm( final String clsClm ) {
2158                    bgColorClsClm = nval( getRequestParameter( clsClm ),bgColorClsClm );
2159            }
2160    
2161            /**
2162             * ã€TAG】スクロールãƒã?用ã®DIVè¦ç´?‚’出力ã™ã‚‹ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?
2163             *              (åˆæœŸå€¤:VIEW_USE_SCROLLBAR[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_SCROLLBAR}])ã€?
2164             *
2165             * @og.tag
2166             * スクロールãƒã?対応ã™ã‚‹ç‚ºã€ãƒ†ãƒ¼ãƒ–ルã®å…ˆé?ã«ã€DIVè¦ç´?‚’出力ã—ã¾ã™ã?
2167             * (åˆæœŸå€¤:ユーザー定数ã®VIEW_USE_SCROLLBAR[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_SCROLLBAR}])ã€?
2168             * ※ äº’æ›æ€§ã®é–¢ä¿‚よりã?false ã«ãªã£ã¦ã?¾ã™ã?
2169             *
2170             * @og.rev 3.5.6.3 (2004/07/12) æ–°è¦è¿½åŠ?
2171             *
2172             * @param  useBar  スクロールãƒã?用ã®DIVè¦ç´?‚’出力ã™ã‚‹ã‹ã©ã?‹[true:出力ã™ã‚?false:ã—ãªã„]
2173             * @see         org.opengion.hayabusa.common.SystemData#VIEW_USE_SCROLLBAR
2174             */
2175            public void setUseScrollBar( final String useBar ) {
2176                    useScrollBar = nval( getRequestParameter( useBar ),useScrollBar );
2177            }
2178    
2179            /**
2180             * ã€TAG】viewLink ã‚?viewMarker ã®æƒ??å–り込ã¿ã‚’制御ã™ã‚‹(åˆæœŸå€¤ã¯ã€NEW,RENEW,REVIEW,RESET)ã€?
2181             *
2182             * @og.tag
2183             * viewLink ã‚?viewMarker ã®æƒ??å–り込ã¿ã¯ã€command ãŒã?NEW,RENEW,REVIEW,RESET
2184             * ã®å ´åˆã?ã¿è¡Œã‚れã¦ã?¾ã™ã?
2185             * ã“ã?属æ?ã§ã€?true" を指定ã™ã‚‹ã¨ã€ã‚³ãƒžãƒ³ãƒ‰ã«ç„¡é–¢ä¿‚ã«å–り込ã¿ã¾ã™ã?
2186             * "false" ã®å ´åˆã?ã€form ã«ã‚­ãƒ£ãƒ?‚·ãƒ¥ã—ã¦ã?‚‹ãƒªãƒ³ã‚¯ã€ã?ーカーを削除ã—ã¾ã™ã?
2187             * å–ã‚Šè¾¼ã¿æ™‚ã«ã€viewLink ã‚?viewMarker オブジェクトãŒå­˜åœ¨ã—ãªã??åˆã?ã€?
2188             * 何もã—ã¾ã›ã‚“。ã“れã?ã€viewMarker オブジェクトè?身ãŒã™ã§ã«è¨­å®šæ¸ˆã¿ã®å ´å?VIEWãªã©)
2189             * NEXTã‚„PREVã§ã¯ã€viewMarkerオブジェクトã?ã€ãƒªã‚¯ã‚¨ã‚¹ãƒˆå¤‰æ•°ã«è¨­å®šã•れãªã?‚ºã§ã™ã?
2190             * ã“ã?å ´åˆã?ã€ç™»éŒ²ã—ã¾ã›ã‚“ãŒã?既存ã? viewMarkerオブジェクトをæŒã£ã¦ã?‚‹ã¯ãšãªã®ã§ã€?
2191             * ãªã«ã‚‚設定ã—ãªãã¦ã‚?viewMarker ã¯é©ç”¨ã•れã¾ã™ã?
2192             * åˆæœŸå€¤ã¯ã€NEW,RENEW,REVIEW,RESET ã§ã™ã?
2193             *
2194             * @og.rev 3.6.0.4 (2004/10/14) æ–°è¦è¿½åŠ?
2195             *
2196             * @param  load  viewLink ã‚?viewMarker ã®æƒ??å–り込ã¿ã‚’制御ã™ã‚‹
2197             */
2198            public void setLoadMarker( final String load ) {
2199                    loadMarker = nval( getRequestParameter( load ),loadMarker );
2200            }
2201    
2202            /**
2203             * ã€TAG】SEL_ROW機è?[true:有効/false:無効]を指定ã—ã¾ã?
2204             *              (åˆæœŸå€¤:VIEW_USE_SELECTED_ROW[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_SELECTED_ROW}])ã€?
2205             *
2206             * @og.tag
2207             * SEL_ROW機è?ã¯ã€æˆ»ã‚‹ãƒªãƒ³ã‚¯ã‹ã‚‰æˆ»ã£ãŸã¨ãã‚„ã€ç™»éŒ²ã—ãŸã¨ãã«ã€?¸æŠžã—ã¦ã?Ÿ
2208             * 行番å·ã‚??å…ˆã«ã‚¯ãƒªãƒ?‚¯ã•れãŸè¡Œç•ªå·ã‚’è¿”ã™æ©Ÿè?ã§ã€SEL_ROW リクエストã«è¨­å®šã•れãŸ
2209             * 行ãŒãƒžã?カーã•れã¾ã™ã?ã“ã?機è?ã®æœ‰åй(true)/無効(false)を指定ã—ã¾ã™ã?
2210             * ã“ã?属æ?ã§ã€?true" を指定ã™ã‚‹ã¨ã€æœ‰åйã«ãªã‚Šã¾ã™ã?
2211             * "false" ã®å ´åˆã?ã€ç„¡åйã§ã™ã?
2212             * (åˆæœŸå€¤:ユーザー定数ã®VIEW_USE_SELECTED_ROW[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_SELECTED_ROW}])ã€?
2213             *
2214             * @og.rev 3.7.1.1 (2005/05/23) æ–°è¦è¿½åŠ?
2215             *
2216             * @param  selRow  SEL_ROW機è?ã®æœ‰åй/無効を指å®?[true:有効/false:無効]
2217             * @see         org.opengion.hayabusa.common.SystemData#VIEW_USE_SELECTED_ROW
2218             */
2219            public void setUseSelectedRow( final String selRow ) {
2220                    useSelectedRow = nval( getRequestParameter( selRow ),useSelectedRow );
2221            }
2222    
2223            /**
2224             * ã€TAG】SEL_ROW使用時ã?é¸æŠžè¡Œè‰²å¤‰æ›´[true:有効/false:無効]を指定ã—ã¾ã?
2225             *              (åˆæœŸå€¤:VIEW_USE_SELROW_COLOR[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_SELROW_COLOR}])ã€?
2226             *
2227             * @og.tag
2228             * SEL_ROW機è?ã¯ã€ç¾åœ¨é¸æŠžã•れã¦ã?‚‹è¡Œã¾ã§ã€ã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«ã™ã‚‹æ©Ÿè?ã§ã™ãŒã€ãã®ã¨ãã?
2229             * é¸æŠžè¡Œã«ãƒžã?カーã™ã‚‹ã‹ã©ã?‹ã‚’ã?æŒ?®šã—ã¾ã™ã?
2230             * ã“ã?属æ?ã§ã€?true" を指定ã™ã‚‹ã¨ã€æœ‰åйã«ãªã‚Šã¾ã™ã?
2231             * "false" ã®å ´åˆã?ã€ç„¡åйã§ã™ã?
2232             * (åˆæœŸå€¤:ユーザー定数ã®VIEW_USE_SELROW_COLOR[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_SELROW_COLOR}])ã€?
2233             *
2234             * @og.rev 3.7.1.1 (2005/05/31) æ–°è¦è¿½åŠ?
2235             *
2236             * @param  selRowColor  SEL_ROW使用時ã?é¸æŠžè¡Œè‰²å¤‰æ›´ã®æœ‰åй/無効を指å®?[true:有効/false:無効]
2237             * @see         org.opengion.hayabusa.common.SystemData#VIEW_USE_SELROW_COLOR
2238             */
2239            public void setUseSelRowColor( final String selRowColor ) {
2240                    useSelRowColor = nval( getRequestParameter( selRowColor ),useSelRowColor );
2241            }
2242    
2243            /**
2244             * ã€TAGã€?処ç?™‚間やペã?ジサイズãªã©ã®æƒ??出力[true:有効/false:無効]を指定ã—ã¾ã?åˆæœŸå€¤:true)ã€?
2245             *
2246             * @og.tag
2247             * ViewForm ã§ã€CustomData ãªã©ã® éžHTML表示ビューを使用ã™ã‚‹å ´åˆã?
2248             * æœ?¾Œã«ã€å?ç?™‚é–“ã¨ãƒšã?ジサイズ(NEXT時ã«ä½¿ç”¨)ãªã©ã®æƒ??ã‚’ã?hidden ã§
2249             * 出力ã—ã¦ã?¾ã™ãŒã€ã“れを制御ã™ã‚‹ãƒ•ラグをセãƒ?ƒˆã—ã¾ã™ã?
2250             * true(有効)ã«ã™ã‚‹ã¨ã€ã“れらã®HTMLãŒå?力ã•れã¾ã™ã?false ã«ã™ã‚‹ã¨ã€å?力ã•れã¾ã›ã‚“ã€?
2251             * åˆæœŸå€¤ã¯ã€true(有効) ã§ã™ã?
2252             *
2253             * @og.rev 3.7.1.1 (2005/05/23) æ–°è¦è¿½åŠ?
2254             *
2255             * @param  useTag  æƒ??出力ã?有効/無効を指å®?[true:有効/false:無効]
2256             */
2257            public void setUseAfterHtmlTag( final String useTag ) {
2258                    useAfterHtmlTag = nval( getRequestParameter( useTag ),useAfterHtmlTag );
2259            }
2260    
2261            /**
2262             * ã€TAG】設定å?ã« "_" ãŒå«ã¾ã‚Œã¦ã?‚‹å ´åˆã«ãƒ¬ãƒ³ãƒ?ƒ©ãƒ¼ã‚’使用ã™ã‚‹ã‚«ãƒ©ãƒ?‚’CSVå½¢å¼ã§æŒ?®šã—ã¾ã™ã?
2263             *
2264             * @og.tag
2265             * ã“れã¯ã€å¾“æ¥ã® カラãƒ?®šç¾©ã® WRITABLE エãƒ?‚£ã‚¿ãƒ¼ã¨åŒç­‰ã?åƒãを行ã†ã‚ˆã†ã«
2266             * カラãƒ?±žæ?を指定ã—ã¾ã™ã?
2267             * WRITABLE エãƒ?‚£ã‚¿ãƒ¼ã¯ã€è¨­å®šå?ã«ã‚¢ãƒ³ãƒ??ãƒã? "_" ãŒå«ã¾ã‚Œã¦ã?‚‹å ´åˆã«ã€?
2268             * ãã?値を書込ã¿ç¦æ­¢ã«ã™ã‚‹æ©Ÿè?ã§ã™ã?ã“れã¯ã€ã‚¨ãƒ?‚£ã‚¿ãƒ¼è‡ªèº«ãŒå?を判断ã—ã¦
2269             * 書ãè¾¼ã¿è¨±å¯ã‹ç¦æ­¢ã‹ã‚’判断ã—ã¦ã?¾ã™ã?
2270             * ã“ã?å‹•ãを汎用çš?«ã™ã‚‹ãŸã‚ã€æŒ‡å®šã?カラãƒ?‚’カンマ区åˆ?‚Šæ–?­?CSV)ã§æŒ?®?
2271             * ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã€ãƒ¬ãƒ³ãƒ?ƒ©ãƒ¼ã¨ã‚¨ãƒ?‚£ã‚¿ãƒ¼ã‚’設定å?ã«ã‚ˆã£ã¦å‹•çš„ã«åˆ?‚Šæ›¿ãˆã‚‹
2272             * 機è?を実ç¾ã—ã¾ã™ã?
2273             * ãã?å ´åˆã?表示/ç·¨é›?¨ã‚‚ã«ã€å?é ­ã®ã‚¢ãƒ³ãƒ??ãƒã?ã¯å‰Šé™¤ã•れã¾ã™ã?
2274             * ã¾ãŸã?全カラãƒ?«ã¤ã?¦ã€æœ‰åйã«ã™ã‚‹å ´åˆã?ã€writableControl="*" を設定ã—ã¾ã™ã?
2275             *
2276             * @og.rev 3.8.0.9 (2005/10/17) æ–°è¦è¿½åŠ?
2277             *
2278             * @param  wrtCtrl 書ãè¾¼ã¿åˆ¶å¾¡ã‚’行ã„ãŸã„カラãƒ?‚’CSVå½¢å¼ã§æŒ?®?
2279             */
2280            public void setWritableControl( final String wrtCtrl ) {
2281                    writableControl = nval( getRequestParameter( wrtCtrl ),writableControl );
2282            }
2283    
2284            /**
2285             * ã€TAG】HILIGHT_ROW機è?[true:有効/false:無効]を指定ã—ã¾ã?
2286             *              (åˆæœŸå€¤:VIEW_USE_HILIGHT_ROW[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_HILIGHT_ROW}])ã€?
2287             *
2288             * @og.tag
2289             * HILIGHT_ROW機è?ã¯ã€ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã‚?ƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ã§è¡Œé¸æŠžã—ãŸéš›ã«ã€ã©ã®è¡ŒãŒé¸æŠžã•れãŸã?
2290             * 判るよã?«è¡Œã?ãƒã‚¤ãƒ©ã‚¤ãƒˆè¡¨ç¤ºã‚’è¡Œã†æ©Ÿè?ã§ã™ã?
2291             * ã•らã«ã€è¡Œã?ä»»æ„ã?ç®?‰€ã‚’クリãƒ?‚¯ã—ã¦ã‚‚ã?ãƒã‚§ãƒ?‚¯ãŒå?りã?ãƒã‚¤ãƒ©ã‚¤ãƒˆè¡¨ç¤ºã•れã¾ã™ã?
2292             * ã“ã?属æ?ã§ã€?true" を指定ã™ã‚‹ã¨ã€æœ‰åйã«ãªã‚Šã¾ã™ã?
2293             * "false" ã®å ´åˆã?ã€ç„¡åйã§ã™ã?
2294             * (åˆæœŸå€¤:ユーザー定数ã®VIEW_USE_HILIGHT_ROW[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_HILIGHT_ROW}])ã€?
2295             *
2296             * @og.rev 3.8.6.0 (2006/09/29) HILIGHT_ROW機è?ã®æœ‰åй/無効を指定ã—ã¾ã™ã?
2297             *
2298             * @param  hilightRow  HILIGHT_ROW機è?ã®æœ‰åй/無効を指å®?[true:有効/false:無効]
2299             * @see         org.opengion.hayabusa.common.SystemData#VIEW_USE_HILIGHT_ROW
2300             */
2301            public void setUseHilightRow( final String hilightRow ) {
2302                    useHilightRow = nval( getRequestParameter( hilightRow ),useHilightRow );
2303            }
2304    
2305            /**
2306             * ã€TAG】ogPopup ã§æ¤œç´¢çµæžœã®å€¤ã‚’è¿”ã™ã‚­ãƒ¼ã‚’ã?CSVå½¢å¼ã§æŒ?®šã—ã¾ã™ã?
2307             *
2308             * @og.tag
2309             * popup ã®æ¤œç´¢çµæžœã‚’è¿”ã™ç”»é¢ã§ã€çµæžœã®ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ã«ã‚¤ãƒ™ãƒ³ãƒˆã‚»ãƒ?ƒˆã—ã¾ã™ã?
2310             * ã“ã?å ´åˆã?オープンもã¨ã®window ã«å€¤ã‚’è¿”ã—ã¾ã™ãŒã€ãã®ã‚­ãƒ¼ã‚’CSVå½¢å¼ã§
2311             * æŒ?®šã—ã¾ã™ã?
2312             * ãªãŠã?ã“ã?メソãƒ?ƒ‰ã¯ã€ä¸?¦§è¡¨ç¤º(HTMLTable)関係ã?ビューã®ã¿ã§ã‚µãƒã?トã—ã¦
2313             * ã?¾ã™ãŒã€ãƒã‚§ãƒ?‚¯ãƒ¡ã‚½ãƒ?ƒ‰ã®é–¢ä¿‚ã§ã€ãれ以外ã?ビューã«é©ç”¨ã—ã¦ã‚‚ç´??ã‚?
2314             * ã™ã‚‹ã‚ˆã†ã«ã—ã¾ã™ã?(エラーã«ã—ã¾ã›ã‚“)
2315             *
2316             * @og.rev 3.8.6.1 (2006/10/20) æ–°è¦è¿½åŠ?
2317             *
2318             * @param  rtnKeys ogPopupã§å€¤ã‚’è¿”ã™ã‚«ãƒ©ãƒ?–‡å­—å?(CSVå½¢å¼?
2319             */
2320            public void setPopupReturnKeys( final String rtnKeys ) {
2321                    popupReturnKeys = nval( getRequestParameter( rtnKeys ),popupReturnKeys );
2322            }
2323    
2324            /**
2325             * ã€TAG】tableè¦ç´?«å¯¾ã—㦠class 属æ?を設定ã—ã¾ã?åˆæœŸå€¤:viewTable)ã€?
2326             *
2327             * @og.tag
2328             * Javaã®è¨?ªžä½¿ç”¨ä¸Šã?class ã§ä½œæ?ã§ããªã?Ÿã‚ã?代用ã¨ã—ã¦
2329             * clazz を使用ã—ã¦ã?‚‹ã€?
2330             * html ã§ä½œæ?ã•れる属æ?ã¯ã€?class ã§ä½œæ?ã•れるã?
2331             * åˆæœŸå€¤ã¯ã€?viewTable" ã§ã™ã?
2332             *
2333             * @og.rev 4.0.0.0 (2007/04/16) æ–°è¦è¿½åŠ?
2334             *
2335             * @param       cls     class属æ?ã‚’è¡¨ã™æ–‡å­—å?
2336             */
2337            public void setClazz( final String cls ) {
2338                    clazz = nval( getRequestParameter( cls ),clazz );
2339            }
2340    
2341            /**
2342             * ã€TAG】ビューã®é«˜ã•を指定ã—ã¾ã™ã?
2343             *
2344             * @og.tag
2345             * id=posDivã®DIVè¦ç´?«é«˜ã•を指定ã—ã¾ã™ã?
2346             * javascriptã‹ã‚‰ã“ã?高ã•を見ã¦ãƒ“ューã®é«˜ã•を決定ã—ã¾ã™ã?
2347             * å˜ä½ã‚‚æŒ?®šã—ã¦ä¸‹ã•ã??
2348             *
2349             * @og.rev 4.2.0.0 (2008/03/18) æ–°è¦è¿½åŠ?
2350             *
2351             * @param       high    class属æ?ã‚’è¡¨ã™æ–‡å­—å?
2352             */
2353            public void setHeight( final String high ) {
2354                    height = nval( getRequestParameter( high ), height );
2355            }
2356    
2357            /**
2358             * ã€TAG】ビューã®å¹?‚’æŒ?®šã—ã¾ã™ã?
2359             *
2360             * @og.tag
2361             * id=posDivã®DIVè¦ç´?«å¹?‚’æŒ?®šã—ã¾ã™ã?
2362             * javascriptã‹ã‚‰ã“ã?値を見ã¦ãƒ“ューã®å¹?‚’決定ã—ã¾ã™ã?
2363             * å˜ä½ã‚‚æŒ?®šã—ã¦ä¸‹ã•ã??(%æŒ?®šæŽ¨å¥¨)
2364             *
2365             * @og.rev 4.2.0.0 (2008/03/18) æ–°è¦è¿½åŠ?
2366             *
2367             * @param       wide    æŒ?®šã™ã‚‹ãƒ“ューã®å¹?
2368             */
2369            public void setWidth( final String wide ) {
2370                    width = nval( getRequestParameter( wide ), width );
2371            }
2372    
2373            /**
2374             * ã€TAG】ファイルãƒ?‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰æ™‚ã®æŠœå?カラãƒ?(CSVå½¢å¼?を指定ã—ã¾ã™ã?
2375             *
2376             * @og.tag
2377             * fileUDã®ãƒ•ァイル抜å?時ã?カラãƒ?‚’カンマ形å¼ã§æŒ?®šã—ã¾ã™ã?
2378             *
2379             * @og.rev 4.3.0.0 (2008/07/04) æ–°è¦è¿½åŠ?
2380             *
2381             * @param       dwnClms 抜å?カラãƒ?(CSVå½¢å¼?
2382             */
2383            public void setFileDwnClms( final String dwnClms ) {
2384                    fileDwnClms = nval( getRequestParameter( dwnClms ), fileDwnClms );
2385            }
2386    
2387            /**
2388             * ã€TAG】編é›?¡Œã?ã¿ã‚’表示ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã™ã?
2389             *
2390             * @og.tag
2391             * ç·¨é›?¡Œã?ã¿ã‚’表示ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã™ã?trueãŒã‚»ãƒ?ƒˆã•れãŸå?åˆã?ç·¨é›?¡?改廃CãŒã¤ã?¦ã?‚‹è¡?
2392             * ã®ã¿ãŒå?力ã•れã¾ã™ã?
2393             *
2394             * @og.rev 4.3.1.0 (2008/09/08)
2395             *
2396             * @param       sne     ç·¨é›?¡Œã?ã¿ã‚’å?力ã™ã‚‹ã‹
2397             */
2398            public void setSkipNoEdit( final String sne ) {
2399                    skipNoEdit = nval( getRequestParameter( sne ), skipNoEdit );
2400            }
2401    
2402            /**
2403             * ã€TAGã€?通常ã¯ä½¿ã?¾ã›ã‚“)ç”»é¢é·ç§»ã‚’行ã‚ãªã?½¢å¼ã?登録方法を使用ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã™ã?
2404             *
2405             * @og.tag
2406             * ç”»é¢é·ç§»ãªã—ã?登録を行ã†ã‹ã©ã?‹ã‚’指定ã—ã¾ã™ã?
2407             * trueãŒæŒ‡å®šã•れãŸå ´åˆã?HTML出力時ã«ã€å„行ã«å¯¾ã—ã¦ã€è¡Œç•ªå·ã¨æ”¹å»ƒCãŒå±žæ?æƒ??ã¨ã—ã¦ä»˜åŠ ã•れã¾ã™ã?
2408             * ã“ã“ã§å‡ºåŠ›ã•ã‚ŒãŸæƒ??ã‚’å?ã«ã€JavaScriptã®å…¥ã‚Œæ›¿ãˆå?ç?‚’行ã„ã¾ã™ã?
2409             *
2410             * ã“ã?値ã¯ã€og:headã‚¿ã‚°ã§è¨­å®šå?ã€ã¾ãŸã?å‰ç”»é¢ã‹ã‚‰ã®å€¤ã‚’継承ã™ã‚‹ãŸã‚ã€??常ã€ã“ã®å±žæ?ã§ã¯ã‚»ãƒ?ƒˆã—ã¾ã›ã‚“ã€?
2411             *
2412             * @og.rev 4.3.3.0 (2008/10/01) æ–°è¦è¿½åŠ?
2413             * @og.rev 5.1.3.0 (2010/02/01) noTransitionã€ajaxSubmitã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã¯ã€requestã§è¡Œã†ã€?
2414             *
2415             * @param   noTrnstn ç”»é¢é·ç§»ã‚’行ã‚ãªã?½¢å¼ã?登録方法を使用ã™ã‚‹ã?
2416             */
2417            public void setNoTransition( final String noTrnstn ) {
2418    //              noTransition = nval( getRequestParameter( noTrnstn ), noTransition );
2419                    setNoTransitionRequest( nval( getRequestParameter( noTrnstn ), isNoTransitionRequest() ) );
2420            }
2421    
2422            /**
2423             * ã€TAGã€‘é¸æŠžè¡Œãƒã‚¤ãƒ©ã‚¤ãƒˆã?制御をãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®ã¿ã§æœ‰åйã«ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã?
2424             *              (åˆæœŸå€¤:VIEW_USE_HILIGHT_CHECK_ONLY[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_HILIGHT_CHECK_ONLY}])ã€?
2425             *
2426             * @og.tag
2427             * é¸æŠžè¡Œãƒã‚¤ãƒ©ã‚¤ãƒˆã?制御をãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®ã¿ã§æœ‰åйã«ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã™ã?
2428             * trueã®å ´åˆã?ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®ã¿ã§æœ‰åйã«ãªã‚Šã¾ã™ã?
2429             * falseã®å ´åˆã?行å?体ã?å?¦ç´?§æœ‰åйã«ãªã‚Šã¾ã™ã?
2430             * trueã«ã—ãŸå ´åˆã?ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ãŒå­˜åœ¨ã—ãªã?¡Œã«å¯¾ã—ã¦ã¯ã€ãƒã‚¤ãƒ©ã‚¤ãƒˆã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“ã€?
2431             * (åˆæœŸå€¤:ユーザー定数ã®VIEW_USE_HILIGHT_CHECK_ONLY[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_HILIGHT_CHECK_ONLY}])ã€?
2432             *
2433             * @og.rev 4.3.7.0 (2009/06/01) æ–°è¦è¿½åŠ?
2434             *
2435             * @param   hiCkOnly é¸æŠžè¡Œãƒã‚¤ãƒ©ã‚¤ãƒˆã?制御をãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®ã¿ã§æœ‰åйã«ã™ã‚‹ã?
2436             * @see         org.opengion.hayabusa.common.SystemData#VIEW_USE_HILIGHT_CHECK_ONLY
2437             */
2438            public void setUseHilightCheckOnly( final String hiCkOnly ) {
2439                    useHilightCheckOnly = nval( getRequestParameter( hiCkOnly ), useHilightCheckOnly );
2440            }
2441    
2442            /**
2443             * ã€TAG】ä¸?‹¬å…¥åŠ›ã‚«ãƒ©ãƒ??アシスト機è?を利用ã™ã‚‹ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
2444             *
2445             * @og.tag
2446             * ã“れã¯ã€ã‚«ãƒ©ãƒ??書ãè¾¼ã¿æ™‚ã«ã€ä¸?‹¬å…¥åŠ›å¯èƒ½ãªã‚«ãƒ©ãƒ?‚’ヘッãƒ??ã«è¡¨ç¤ºã—ã?
2447             * ä¸?‹¬ç™»éŒ²ã§ãる機è?ã‚’æä¾›ã—ã¾ã™ã?
2448             * ã“ã?機è?ã¯ã€jsp/common/bulkSet.js JavaScript ã¨ã¨ã‚‚ã«æä¾›ã•れã¾ã™ã?
2449             * IE ã«ã¤ã?¦ã¯ã€ã‚¯ãƒªãƒ??ボã?ドも利用ã§ãã¾ã™ã?Ctrl-C 㨠Ctrl-V ã§ãれãžã‚Œ
2450             * ä¸??ã®ã‚«ãƒ©ãƒ??値ã®å–り出ã—ã¨æ›¸ãè¾¼ã¿ãŒå¯èƒ½ã«ãªã‚Šã¾ã™ã?
2451             * (プルãƒ?‚¦ãƒ³ã®å ´åˆã?オプションã«ä¸Šè¨˜ãŒè¿½åŠ?•れã¾ã?
2452             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(columnBulkSet)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
2453             *
2454             * シスãƒ?ƒ ãƒªã‚½ãƒ¼ã‚¹ã§ã€VIEW_USE_DEFAULT_BULKSET ã‚?true ã«è¨­å®šã™ã‚‹ã¨ã€å?期å?ã?"*"
2455             * ã«ãªã‚Šã¾ã™ã?ã§ã€å?別㮠view ã«è¨­å®šã—ãªãã¦ã‚‚ã“ã®æ©Ÿè?ãŒä½¿ç”¨ã§ãるよã†ã«ãªã‚Šã¾ã™ã?
2456             *
2457             * ã“ã?機è?ã¯ä¸?‹¬å…¥åŠ›ã?手間削減ãŒç›®çš?ªã®ã§ã€selectedType ã?radio ã®å ´åˆã?ã€?
2458             * ã“ã?機è?ã¯ç„¡åйã«ãªã‚Šã¾ã™ã?
2459             *
2460             * @og.rev 5.2.1.0 (2010/10/01) æ–°è¦ä½œæ?
2461             * @og.rev 5.4.4.0 (2012/02/01) コメント追�
2462             *
2463             * @param       columnName      例�OYA,KO,HJO,SU,DYSET,DYUPD"
2464             */
2465            public void setColumnBulkSet( final String columnName ) {
2466                    columnBulkSet = nval( getRequestParameter(columnName),columnBulkSet );
2467            }
2468    
2469            /**
2470             * ã‚¿ã‚°ã®åç§°ã‚’ã?è¿”ã—ã¾ã™ã?
2471             * 自åˆ??身ã®ã‚¯ãƒ©ã‚¹åよりã?自動的ã«å–り出ã›ãªã?Ÿã‚ã?ã“ã?メソãƒ?ƒ‰ã‚’オーãƒã?ライドã—ã¾ã™ã?
2472             *
2473             * @og.rev 4.0.0.0 (2005/01/31) æ–°è¦è¿½åŠ?
2474             *
2475             * @return  ã‚¿ã‚°ã®åç§°
2476             */
2477            @Override
2478            protected String getTagName() {
2479                    return "view" ;
2480            }
2481    
2482            /**
2483             * seqClmTableを使用ã™ã‚‹ã‹ã©ã?‹ã‚’ãƒã‚§ãƒ?‚¯ã—ã¾ã?
2484             *
2485             * ã“ã“ã§ã¯tableId,scope,é ?›®åãªã©ã§å޳å¯?«ãƒã‚§ãƒ?‚¯ã‚’行ã„ã€ã“れらãŒå?ã®æƒ??ã¨åˆè?ã—ãªã??åˆã?ã€?
2486             * ViewFormTypeã®ç½®ãæ›ãˆã‚’行ã‚ãªã?‚ˆã?«ã—ã¾ã™ã?
2487             *
2488             * @og.rev 5.1.6.0 (2010/05/01) æ–°è¦è¿½åŠ?
2489             * @og.rev 5.3.6.0 (2011/06/01) Edit機è?見直ã—ã«ã‚ˆã‚Šãƒ¡ã‚½ãƒ?ƒ‰å変更
2490             *
2491             * @param       config  DBEditConfigオブジェク�
2492             */
2493    //      private void checkUseSeqClmTable() {
2494            private void makeEditTable( final DBEditConfig config ) {
2495                    String userViewClms = config.getViewClms();
2496                    DBLastSql lastSql = (DBLastSql)getSessionAttribute( HybsSystem.DB_LAST_SQL_KEY );
2497                    if( lastSql != null && lastSql.isGuiMatch( getGUIInfoAttri( "KEY" ) ) && lastSql.isTableMatch( tableId, getScope() ) ) {
2498                            // 1Queryã«å¯¾ã—ã¦è¤?•°ViewãŒã‚ã‚‹å?å?å·¦å³åˆ?‰²ãªã©)ã€Viewã®å??目定義ã?|'ã§åˆ?‰²ã•れã¦ã‚»ãƒ?ƒˆã•れã¦ã?¾ã™ã?
2499                            int vwCnt = StringUtil.nval( (String)getRequestAttribute( "h_vwCnt" ), 0 );
2500                            String[] clmGroup = StringUtil.csv2Array( userViewClms, '|' );
2501                            if( clmGroup.length > vwCnt ) {
2502                                    // AAA,!BBB,CCC,DDD,!EEE ã‹ã‚‰!ãŒã¤ã?Ÿã‚«ãƒ©ãƒ??ã¿ã‚’å–り除ã?!ãŒã‚ã‚‹é?ç›®ã¯éžè¡¨ç¤º)
2503                                    String thisViewClms = ( "," + clmGroup[vwCnt] ).replaceAll( ",![^,]*", "" );
2504                                    // 行カウントカラãƒ?‚’表示ã™ã‚‹ã€?
2505                                    if( table.getColumnNo( "rowCount", false ) >= 0 ) {
2506                                            thisViewClms += ",rowCount";
2507                                    }
2508                                    if( thisViewClms.length() > 0 ) {
2509                                            thisViewClms = thisViewClms.substring( 1 );
2510                                    }
2511                                    String[] clm = StringUtil.csv2Array( thisViewClms );
2512                                    boolean isUse = true;
2513                                    for( int i=0; i<clm.length; i++ ) {
2514                                            if( table.getColumnNo( clm[i], false ) < 0 ) {
2515                                                    isUse = false;
2516                                                    break;
2517                                            }
2518                                    }
2519                                    if( isUse ) {
2520                                            viewFormType    = "HTMLSeqClmTable";
2521                                            columnDisplay   = thisViewClms;
2522                                            clmSeqDisplay   = thisViewClms;
2523                                            noDisplay               = null;
2524                                            setRequestAttribute( "h_vwCnt", String.valueOf( vwCnt+1 ) );
2525                                    }
2526                            }
2527                    }
2528            }
2529    
2530            /**
2531             * Viewã§è¡¨ç¤ºã—ãŸé ?›®ã‚’DBLastSqlã«ã‚»ãƒ?ƒˆã—ã¾ã™ã?
2532             *
2533             * ã“ã“ã§ã¯tableId,scopeãªã©ã§å޳å¯?«ãƒã‚§ãƒ?‚¯ã‚’行ã„ã€ã“れらãŒå?ã®æƒ??ã¨åˆè?ã—ãªã??åˆã?ã€?
2534             * DBLastSqlã¸ã®ã‚»ãƒ?ƒˆã‚’行ã‚ãªã?‚ˆã?«ã—ã¾ã™ã?
2535             *
2536             * @og.rev 5.1.6.0 (2010/05/01) æ–°è¦è¿½åŠ?
2537             * @og.rev 5.3.9.0 (2011/09/01) ヘッãƒ??ソートを行ã£ãŸå?åˆã?ç·¨é›?¯¾è±¡ã‚«ãƒ©ãƒ?Œæ­£ã—ã表示ã•れãªã?ƒã‚°ã‚’修正
2538             */
2539            private void setViewClms() {
2540                    // 4.3.0.0 (2008/07/04) fileUD 対応ã?抜ã出ã™ã‚«ãƒ©ãƒ?‚’æŒ?®šã—ã¾ã™ã?
2541    //              if( fileDwnClms != null ) {
2542                    DBLastSql lastSql = (DBLastSql)getSessionAttribute( HybsSystem.DB_LAST_SQL_KEY );
2543                    if( lastSql != null ) {
2544                            String guikey = getGUIInfoAttri( "KEY" );
2545                            if( lastSql.isGuiMatch( guikey ) && lastSql.isTableMatch( tableId, getScope() ) && lastSql.isViewEditable() ) {
2546                                    // 5.1.6.0 (2010/05/01) fileDwnClmsãŒæŒ‡å®šã•れãªã??åˆã?ã€Viewã§è¡¨ç¤ºã•れãŸã‚«ãƒ©ãƒ?‚’ã‚»ãƒ?ƒˆ
2547                                    if( form.isEditable() ) {
2548    
2549                                            // 5.3.9.0 (2011/09/01) リクエストã«å¯¾ã—ã¦åˆã‚ã¦å‡¦ç?™ã‚‹å?åˆã«å¯¾è±¡ã‚«ãƒ©ãƒ?‚’ä¸?—¦ã‚¯ãƒªã‚¢ã™ã‚‹ã€?
2550                                            boolean vwBln = StringUtil.nval( (String)getRequestAttribute( "h_vwBln" ), false );
2551                                            if( !vwBln ) {
2552                                                    lastSql.setViewClmNames( null );
2553                                                    lastSql.setClmNames( null );
2554                                                    setRequestAttribute( "h_vwBln", "true" );
2555                                            }
2556    
2557                                            String clmNames = lastSql.getViewClmNames();
2558                                            if( clmNames == null || clmNames.length() == 0 ) {
2559                                                    clmNames = StringUtil.nval( fileDwnClms, form.getViewClms() );
2560                                            }
2561                                            else {
2562                                                    // 1Queryã«å¯¾ã—ã¦è¤?•°ViewãŒã‚ã‚‹å?å?å·¦å³åˆ?‰²ãªã©)ã€Viewã®å??目定義ã?|'ã§åˆ?‰²ã•れã¦ã‚»ãƒ?ƒˆã—ã¾ã™ã?
2563                                                    clmNames += "|" + StringUtil.nval( fileDwnClms, form.getViewClms() );
2564                                            }
2565                                            lastSql.setViewClmNames( clmNames );
2566                                            lastSql.setClmNames( clmNames.replace( "|", "," ) );
2567                                            setSessionAttribute( HybsSystem.DB_LAST_SQL_KEY,lastSql );
2568                                    }
2569                                    else {
2570                                            lastSql.setViewNotEditable();
2571                                    }
2572                            }
2573                    }
2574    //              }
2575            }
2576            
2577            /**
2578             * ã€TAGã€?通常使ã?¾ã›ã‚“)Viewã«é–¢ã™ã‚‹æƒ??ã‚’ã‚»ãƒ?‚·ãƒ§ãƒ³ã«æƒ??を登録ã™ã‚‹ã‹ã©ã?‹ã‚’指定ã—ã¾ã?åˆæœŸå€¤:true)ã€?
2579             *
2580             * @og.tag
2581             * åŒä¸?”»é¢IDã§ã€è¤?•°ã®Viewを表示ã™ã‚‹å ´åˆã«åˆ©ç”¨ã—ã¾ã™ã?
2582             * Viewé–¢é€£ã®æƒ??ã‚’ã‚»ãƒ?‚·ãƒ§ãƒ³ã«ç™»éŒ²ã—利用ã—ã¦ã?¾ã™ãŒã€è¤?•°ã®ViewãŒå­˜åœ¨ã™ã‚‹å ´åˆã«å‰ã?æƒ??ãŒä¸Šæ›¸ãã•れã¦ã—ã¾ã?¾ã™ã?
2583             * è¤?•°ã®Viewを利用ã™ã‚‹éš›ã«ã€ãƒ¡ã‚¤ãƒ³ä»¥å¤–ã?Viewã®å€¤ã‚’falseã«æŒ?®šã™ã‚‹äº‹ã§ã‚»ãƒ?‚·ãƒ§ãƒ³ã¸ã®ä¿å­˜ã‚’ã—ã¾ã›ã‚“ã€?
2584             * (QueryTagã®mainTransã‚‚åŒæ™‚ã«è¨­å®šã™ã‚‹ã‹æ¤œè¨Žã—ã¦ãã ã•ã„??
2585             *
2586             * ç¾æ®µéšŽã§ã¯ã€ã‚»ãƒ?‚·ãƒ§ãƒ³ä¿å­˜æŠ‘制を行ã†å€¤ã¯startNoã®ã¿ã§ã™ã?
2587             *
2588             * @og.rev 5.7.6.1 (2010/05/09) æ–°è¦ä½œæ?
2589             *
2590             * @param  flag メイントランザクションã‹ã©ã?‹
2591             */
2592            public void setMainView( final String flag ) {
2593                    isMainView = nval( getRequestParameter( flag ),isMainView );
2594            }
2595    
2596            /**
2597             * シリアライズ用ã®ã‚«ã‚¹ã‚¿ãƒ?‚·ãƒªã‚¢ãƒ©ã‚¤ã‚ºæ›¸ãè¾¼ã¿ãƒ¡ã‚½ãƒ?ƒ‰
2598             *
2599             * @og.rev 4.0.0.0 (2006/09/31) æ–°è¦è¿½åŠ?
2600             * @serialData ä¸?ƒ¨ã®ã‚ªãƒ–ジェクトã?ã€ã‚·ãƒªã‚¢ãƒ©ã‚¤ã‚ºã•れã¾ã›ã‚“ã€?
2601             *
2602             * @param       strm    ObjectOutputStreamオブジェク�
2603             * @throws IOException  入出力エラーãŒç™ºç”Ÿã—ãŸå?å?
2604             */
2605            private void writeObject( final ObjectOutputStream strm ) throws IOException {
2606                    strm.defaultWriteObject();
2607            }
2608    
2609            /**
2610             * シリアライズ用ã®ã‚«ã‚¹ã‚¿ãƒ?‚·ãƒªã‚¢ãƒ©ã‚¤ã‚ºèª­ã¿è¾¼ã¿ãƒ¡ã‚½ãƒ?ƒ‰
2611             *
2612             * ã“ã“ã§ã¯ã€transient 宣è¨?•れãŸå†?ƒ¨å¤‰æ•°ã®å†??åˆæœŸåŒ–ãŒå¿?¦ãªãƒ•ィールドã?ã¿è¨­å®šã—ã¾ã™ã?
2613             *
2614             * @og.rev 4.0.0.0 (2006/09/31) æ–°è¦è¿½åŠ?
2615             * @serialData ä¸?ƒ¨ã®ã‚ªãƒ–ジェクトã?ã€ã‚·ãƒªã‚¢ãƒ©ã‚¤ã‚ºã•れã¾ã›ã‚“ã€?
2616             *
2617             * @param       strm    ObjectInputStreamオブジェク�
2618             * @see #release2()
2619             * @throws IOException  シリアライズã«é–¢ã™ã‚‹å…¥å‡ºåŠ›ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ãŸå?å?
2620             * @throws ClassNotFoundException       クラスを見ã¤ã‘ã‚‹ã“ã¨ãŒã§ããªã‹ã£ãŸå?å?
2621             */
2622            private void readObject( final ObjectInputStream strm ) throws IOException , ClassNotFoundException {
2623                    strm.defaultReadObject();
2624            }
2625    
2626            /**
2627             * ã“ã?オブジェクトã?æ–?­—å?表ç¾ã‚’è¿”ã—ã¾ã™ã?
2628             * 基本çš?«ãƒ?ƒãƒ?‚°ç›®çš?«ä½¿ç”¨ã—ã¾ã™ã?
2629             *
2630             * @return ã“ã?ã‚¯ãƒ©ã‚¹ã®æ–?­—å?表ç¾
2631             */
2632            @Override
2633            public String toString() {
2634                    return org.opengion.fukurou.util.ToString.title( this.getClass().getName() )
2635                                    .println( "VERSION"                     ,VERSION                        )
2636                                    .println( "tableId"                     ,tableId                        )
2637                                    .println( "viewFormId"          ,viewFormId                     )
2638                                    .println( "viewFormType"        ,viewFormType           )
2639                                    .println( "viewLinkId"          ,viewLinkId                     )
2640                                    .println( "viewMarkerId"        ,viewMarkerId           )
2641                                    .println( "command"                     ,command                        )
2642                                    .println( "startNo"                     ,startNo                        )
2643                                    .println( "tempStartNo"         ,tempStartNo            )
2644                                    .println( "pageSize"            ,pageSize                       )
2645                                    .println( "pagePlus"            ,pagePlus                       )
2646                                    .println( "columnWritable"      ,columnWritable         )
2647                                    .println( "noWritable"          ,noWritable                     )
2648                                    .println( "columnDisplay"       ,columnDisplay          )
2649                                    .println( "noDisplay"           ,noDisplay                      )
2650                                    .println( "columnGroup"         ,columnGroup            )
2651                                    .println( "noMessage"           ,noMessage                      )
2652                                    .println( "writable"            ,writable                       )
2653                                    .println( "checked"                     ,checked                        )
2654                                    .println( "skip"                        ,skip                           )
2655                                    .println( "rowspan"                     ,rowspan                        )
2656                                    .println( "selectedType"        ,selectedType           )
2657                                    .println( "numberType"          ,numberType                     )
2658                                    .println( "optTypeAttri"        ,optTypeAttri           )
2659    //                              .println( "changeLabelKeys"     ,changeLabelKeys        )
2660    //                              .println( "changeLabelVals"     ,changeLabelVals        )
2661                                    .println( "backLinkCount"       ,backLinkCount          )
2662                                    .println( "headerSkipCount"     ,headerSkipCount        )
2663                                    .println( "bodyString"          ,bodyString                     )
2664                                    .println( "useCheckControl"     ,useCheckControl        )
2665                                    .println( "useTableSorter"      ,useTableSorter         )
2666                                    .println( "useParam"            ,useParam                       )
2667                                    .println( "useConsistency"      ,useConsistency         )
2668                                    .println( "bgColorCycle"        ,bgColorCycle           )
2669                                    .println( "useScrollBar"        ,useScrollBar           )
2670                                    .println( "sortKeys"            ,sortKeys                       )
2671                                    .println( "loadMarker"          ,loadMarker                     )
2672                                    .println( "useSelectedRow"      ,useSelectedRow         )
2673                                    .println( "useSelRowColor"      ,useSelRowColor         )
2674                                    .println( "useAfterHtmlTag"     ,useAfterHtmlTag        )
2675                                    .println( "writableControl"     ,writableControl        )
2676                                    .println( "hight"                       ,height                         )
2677                                    .println( "width"                       ,width                          )
2678                                    .println( "skipNoEdit"          ,skipNoEdit                     )
2679                                    .println( "noTransition"        ,noTransition           )
2680                                    .println( "useHilightCheckOnly",useHilightCheckOnly)
2681                                    .println( "COMMAND_LIST"        ,COMMAND_LIST           )
2682                                    .println( "Other..."    ,getAttributes().getAttribute() )
2683                                    .fixForm().toString() ;
2684            }
2685    }