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