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ã€?通常ã¯ä½¿ã?¾ã›ã‚“)çµæžœã®DBTableModelã‚’ã?sessionã«ç™»éŒ²ã™ã‚‹ã¨ãã?キーを指定ã—ã¾ã?
1018             *              (åˆæœŸå€¤:HybsSystem#TBL_MDL_KEY[={@og.value org.opengion.hayabusa.common.HybsSystem#TBL_MDL_KEY}])ã€?
1019             *
1020             * @og.tag
1021             * æ¤œç´¢çµæžœã‚ˆã‚Šã€DBTableModelオブジェクトを作æ?ã—ã¾ã™ã?ã“れをã?下æµã?viewã‚¿ã‚°ç­‰ã«
1022             * 渡ã™å?åˆã«ã€??常ã¯ã€session を利用ã—ã¾ã™ã?ãã?å ´åˆã?登録キーã§ã™ã?
1023             * query ã‚¿ã‚°ã‚’åŒæ™‚ã«å®Ÿè¡Œã—ã¦ã€çµæžœã‚’求ã‚ã‚‹å?åˆã?åŒä¸?ƒ¡ãƒ¢ãƒªã«é…ç½®ã•れる為ã€?
1024             * ã“ã? tableId 属æ?を利用ã—ã¦ã€ãƒ¡ãƒ¢ãƒªç©ºé–“ã‚’åˆ?‘ã¾ã™ã?
1025             *              (åˆæœŸå€¤:HybsSystem#TBL_MDL_KEY[={@og.value org.opengion.hayabusa.common.HybsSystem#TBL_MDL_KEY}])ã€?
1026             *
1027             * @param       id sessionã«ç™»éŒ²ã™ã‚‹æ™‚ã? ID
1028             */
1029            public void setTableId( final String id ) {
1030                    tableId   = nval( getRequestParameter( id ),tableId );  // 3.8.0.9 (2005/10/17)
1031            }
1032    
1033            /**
1034             * ã€TAGã€?通常使ã?¾ã›ã‚“)sessionã‹ã‚‰å–å¾—ã™ã‚?ViewForm オブジェクトã? IDã€?
1035             *
1036             * @og.tag
1037             * 表示処ç?¾Œã«??å†?ƒ¨ãƒã‚¤ãƒ³ã‚¿ã‚’æ›¸ãæ›ãˆãŸ)ViewForm オブジェクトを
1038             * åŒã˜ã‚­ãƒ¼ã§ã€sessionã«ç™»éŒ²ã—ã¾ã™ã?
1039             * åˆæœŸå€¤ã¯ã€HybsSystem.VIEWFORM_KEY ã§ã™ã?
1040             *
1041             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1042             * @og.rev 3.5.6.4 (2004/07/16) VIEW_ID を付加ã—ã¦ã€ä»–ã?id ã¨æ··åŒã—ãªã?‚ˆã?«ã—ã¾ã™ã?
1043             *
1044             * @param       id ViewForm オブジェク�D
1045             */
1046            public void setViewFormId( final String id ) {
1047                    String temp = getRequestParameter( id ) ;
1048                    if( temp != null && temp.length() > 0 ) {
1049                            viewFormId = temp + TaglibUtil.VIEW_ID;
1050                    }
1051            }
1052    
1053            /**
1054             * ã€TAGã€?通常ã¤ã‹ã„ã¾ã›ã‚“)requestã‹ã‚‰å–å¾—ã™ã‚?ViewLink ã«å¯¾å¿œã™ã‚?Attributes オブジェクトã? IDã€?
1055             *
1056             * @og.tag
1057             * ViewForm オブジェクトã«ã€ViewLink オブジェクトをã“ã?キーよりå–å¾—ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã€?
1058             * カラãƒ?«å¯¾ã—ã¦ã€ãƒªãƒ³ã‚¯æƒ??を付加ã—ã¦è¡¨ç¤ºã•ã›ã‚‹ã?
1059             * åˆæœŸå€¤ã¯ã€HybsSystem.VIEWLINK_KEY ã§ã™ã?
1060             *
1061             * @og.rev 3.1.4.0 (2003/04/18) åˆæœŸå€¤ã‚’è?æ…®ã—ã¦ã€å±žæ?登録を行ã†ã‚ˆã†ã«å¤‰æ›´ã€?
1062             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1063             * @og.rev 3.5.6.4 (2004/07/16) LINK_ID を付加ã—ã¦ã€ä»–ã?id ã¨æ··åŒã—ãªã?‚ˆã?«ã—ã¾ã™ã?
1064             *
1065             * @param       id ViewLink オブジェク�D
1066             */
1067            public void setViewLinkId( final String id ) {
1068                    String temp = getRequestParameter( id ) ;
1069                    if( temp != null && temp.length() > 0 ) {
1070                            viewLinkId = temp + TaglibUtil.LINK_ID;
1071                    }
1072            }
1073    
1074            /**
1075             * ã€TAGã€?通常使ã?¾ã›ã‚“)requestã‹ã‚‰å–å¾—ã™ã‚?ViewMarker ã«å¯¾å¿œã™ã‚?Attributes オブジェクトã? IDã€?
1076             *
1077             * @og.tag
1078             * ViewForm オブジェクトã«ã€ViewMarker オブジェクトをã“ã?キーよりå–å¾—ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã€?
1079             * カラãƒ?«å¯¾ã—ã¦ã€ã?ーカーæƒ??を付加ã—ã¦è¡¨ç¤ºã•ã›ã‚‹ã?
1080             * åˆæœŸå€¤ã¯ã€HybsSystem.VIEW_MARK_KEY ã§ã™ã?
1081             *
1082             * @og.rev 3.1.4.0 (2003/04/18) æ–°è¦è¿½åŠ?
1083             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1084             * @og.rev 3.5.6.4 (2004/07/16) MARK_ID を付加ã—ã¦ã€ä»–ã?id ã¨æ··åŒã—ãªã?‚ˆã?«ã—ã¾ã™ã?
1085             *
1086             * @param       id ViewMarker オブジェク�D
1087             */
1088            public void setViewMarkerId( final String id ) {
1089                    String temp = getRequestParameter( id ) ;
1090                    if( temp != null && temp.length() > 0 ) {
1091                            viewMarkerId = temp + TaglibUtil.MARK_ID;
1092                    }
1093            }
1094    
1095            /**
1096             * ã€TAGã€?通常使ã?¾ã›ã‚“)requestã‹ã‚‰å–å¾—ã™ã‚?EditMarker ã«å¯¾å¿œã™ã‚?Attributes オブジェクトã? IDã€?
1097             *
1098             * @og.tag
1099             * ViewForm オブジェクトã«ã€EditMarker オブジェクãƒ?実際ã¯ã€ViewMarker オブジェクãƒ?ã‚?
1100             * ã“ã?キーよりå–å¾—ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã€ã‚«ãƒ©ãƒ?«å¯¾ã—ã¦ã€ã?ーカーæƒ??を付加ã—ã¦è¡¨ç¤ºã•ã›ã‚‹ã?
1101             * åˆæœŸå€¤ã¯ã€HybsSystem.EDIT_MARK_KEY ã§ã™ã?
1102             *
1103             * @og.rev 3.8.6.1 (2006/10/20) æ–°è¦è¿½åŠ?
1104             *
1105             * @param       id EditMarker オブジェクãƒ?D(実際ã¯ã€ViewMarker オブジェクãƒ?
1106             */
1107            public void setEditMarkerId( final String id ) {
1108                    String temp = getRequestParameter( id ) ;
1109                    if( temp != null && temp.length() > 0 ) {
1110                            editMarkerId = temp + TaglibUtil.MARK_ID;
1111                    }
1112            }
1113    
1114            /**
1115             * ã€TAG】ViewForm オブジェクトを作æ?ã™ã‚‹ã‚¯ãƒ©ã‚¹({@og.doc03Link viewFormType ViewForm_**** クラス㮠****})を指定ã—ã¾ã™ã?
1116             *
1117             * @og.tag
1118             * ã“れã¯ã€org.opengion.hayabusa.html 以下ã? ViewForm_**** クラス㮠**** ã‚?
1119             * 与ãˆã¾ã™ã?ã“れらã?ã€ViewForm インターフェースを継承ã—ãŸã‚µãƒ–クラスã§ã™ã?
1120             * 属æ?クラス定義㮠{@link org.opengion.hayabusa.html.ViewForm  ViewForm} ã‚’å‚照願ã„ã¾ã™ã?
1121             * {@og.doc03Link viewFormType ViewForm_**** クラス}
1122             *
1123             * @param       id ViewForm タイ�
1124             * @see         org.opengion.hayabusa.html.ViewForm  ViewFormã®ã‚µãƒ–クラス
1125             */
1126            public void setViewFormType( final String id ) {
1127                    viewFormType = getRequestParameter( id );
1128    
1129                    if( viewFormType == null || viewFormType.length() == 0 ) {
1130                            String errMsg = "viewForm ã® id ãŒè¨­å®šã•れã¦ã?¾ã›ã‚“ã€?;
1131                            throw new HybsSystemException( errMsg );
1132                    }
1133            }
1134    
1135            /**
1136             * ã€TAG】コマンãƒ?PREV,NEXT,FIRST,LAST,NEW,RENEW,VIEW,REVIEW,RESET)ã‚’ã‚»ãƒ?ƒˆã—ã¾ã™ã?
1137             *
1138             * @og.tag
1139             * コマンドã?,HTMLã‹ã‚‰(get/post)æŒ?®šã•れã¾ã™ã?ã§,CMD_xxx ã§è¨­å®šã•れる
1140             * フィールド定数値ã®ã?¥ã‚Œã‹ã‚’ã?æŒ?®šã§ãã¾ã™ã?
1141             *
1142             * @og.rev 3.8.0.8 (2005/10/03) ãã?ä»–ã?コマンドを CMD_XXX ã«ã—ã¾ã™ã?
1143             *
1144             * @param       cmd コマンãƒ?public static final 宣è¨?•れã¦ã?‚‹æ–?­—å?)
1145             * @see         <a href="{&#064;docRoot}/constant-values.html#org.opengion.hayabusa.taglib.ViewFormTag.CMD_PREV">コマンド定数</a>
1146             */
1147            public void setCommand( final String cmd ) {
1148                    String cmd2 = getRequestParameter( cmd );
1149                    if( cmd2 != null && cmd2.length() > 0 ) { command = cmd2.toUpperCase(Locale.JAPAN); }
1150    
1151                    if( command == null ||
1152                             (command.trim()).length() == 0 ||
1153                            ! check( command, COMMAND_LIST ) ) {
1154                                    // 3.8.0.8 (2005/10/03) ãã?ä»–ã?コマンドを CMD_XXX ã«ã—ã¾ã™ã?
1155                                    command = CMD_XXX ;
1156                    }
1157            }
1158    
1159            /**
1160             * ã€TAG】表示ãƒ??タを作æ?ã™ã‚‹å ´åˆã?表示ã®é–‹å§‹è¡Œç•ªå·ã‚’ã‚»ãƒ?ƒˆã—ã¾ã™ã?
1161             *
1162             * @og.tag
1163             * ã‚»ãƒ?ƒˆã•れã¦ã?ªã??åˆã??Œå¤‰æ›´ã—ã¾ã›ã‚“ã€?
1164             *
1165             * @og.rev 3.0.1.3 (2003/03/11) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’ã€è¿½åŠ?
1166             *
1167             * @param       no 表示開始行番å·(å…ˆé?㯠??
1168             */
1169            public void setStartNo( final String no ) {
1170                    startNo = nval( getRequestParameter( no ),startNo );
1171                    tempStartNo = startNo;
1172            }
1173    
1174            /**
1175             * ã€TAG】表示ãƒ??タを作æ?ã™ã‚‹å ´åˆã??‘ã?ージã®è¡Œæ•°ã‚’ã‚»ãƒ?ƒˆã—ã¾ã™ã?
1176             *
1177             * @og.tag
1178             * ã‚»ãƒ?ƒˆã•れã¦ã?ªã??åˆã??Œå¤‰æ›´ã—ã¾ã›ã‚“ã€?
1179             *
1180             * @param       sz ?‘ã?ージã®è¡Œæ•°
1181             */
1182            public void   setPageSize( final String sz ) {
1183                    pageSize = nval( getRequestParameter( sz ),pageSize );
1184            }
1185    
1186            /**
1187             * ã€TAG】1ã?ージã®è¡Œæ•°ã®å¢—加åˆ?‚’ã‚»ãƒ?ƒˆã—ã¾ã?åˆæœŸå€¤:0)ã€?
1188             *
1189             * @og.tag
1190             * ã‚»ãƒ?ƒˆã•れã¦ã?ªã??åˆã??Œï¼?増加ãªã?ã§ã™ã?
1191             *
1192             * @param       pp ?‘ã?ージã®è¡Œæ•°
1193             */
1194            public void   setPagePlus( final String pp ) {
1195                    pagePlus = nval( getRequestParameter( pp ),pagePlus );
1196            }
1197    
1198            /**
1199             * ã€TAG】ã?ージã®å…ˆé?ã¸ã®ãƒªãƒ³ã‚¯ã®é–“隔をセãƒ?ƒˆã—ã¾ã?
1200             *              (åˆæœŸå€¤:VIEW_BACK_LINK_COUNT[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_BACK_LINK_COUNT}])ã€?
1201             *
1202             * @og.tag
1203             * 0 ã«ã‚»ãƒ?ƒˆã™ã‚‹ã¨ã€ãƒªãƒ³ã‚¯ã¯ä½œæ?ã•れã¾ã›ã‚“ã€?
1204             * ãƒ??ブルã®ãƒ˜ãƒƒãƒ??固定ãŒã§ããªã?‚±ãƒ¼ã‚¹ã§ã¯ã€ãƒ‡ãƒ¼ã‚¿ä»¶æ•°ãŒå¤šã„ã¨ã€ç™»éŒ²ãƒœã‚¿ãƒ³ãŒè¦‹ãˆãªããªã‚Šã¾ã™ã?
1205             * ãã?å ´åˆã?スクロールã—ã¦ä¸Šã«ä¸ŠãŒã‚‹ã‚ˆã‚Šã?行番å·ã«ä½œæ?ã•れリンクã§ã€ä¸?°—ã«ä¸Šã«æˆ»ã‚‹ã»ã?Œæ—©ãå?ç?§ãã¾ã™ã?
1206             * ãã?å ´åˆã?段çµ?¿ç­‰ã—ã¦ã?‚‹ã¨ã€?–“隔を少ãªãã—ã¦ãŠãå¿?¦ãŒå‡ºã¦ãã¾ã™ã?
1207             * ヘッãƒ??固定を利用ã™ã‚‹å ´åˆã?ã€ä¸è¦ã§ã™ã?
1208             * (åˆæœŸå€¤:シスãƒ?ƒ å®šæ•°ã®VIEW_BACK_LINK_COUNT[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_BACK_LINK_COUNT}])ã€?
1209             *
1210             * @param       blc リンクã®é–“éš”
1211             * @see         org.opengion.hayabusa.common.SystemData#VIEW_BACK_LINK_COUNT
1212             */
1213            public void   setBackLinkCount( final String blc ) {
1214                    backLinkCount = nval( getRequestParameter( blc ),backLinkCount );
1215            }
1216    
1217            /**
1218             * ã€TAG】ã?ãƒ?ƒ€ãƒ¼ã‚’å?力ã™ã‚‹é–“隔をセãƒ?ƒˆã—ã¾ã?
1219             *              (åˆæœŸå€¤:VIEW_HEADER_SKIP_COUNT[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_HEADER_SKIP_COUNT}])ã€?
1220             *
1221             * @og.tag
1222             * 0を指定ã™ã‚‹ã¨ã€ç¹°ã‚Šè¿”ã—ã¾ã›ã‚“(ã¤ã¾ã‚Šã?ヘッãƒ??を最åˆã«è¡¨ç¤ºã™ã‚‹ã?‘ã§ã™ã?)
1223             * æ•°å­—ã‚’æŒ?®šã™ã‚‹ã¨ã€ãã®å›žæ•°æ¯Žã«ã€ã?ãƒ?ƒ€ãƒ¼ã‚’データã®è¡Œã«æŒ¿å…¥ã—ã¾ã™ã?
1224             * (åˆæœŸå€¤:シスãƒ?ƒ å®šæ•°ã®VIEW_HEADER_SKIP_COUNT[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_HEADER_SKIP_COUNT}])ã€?
1225             *
1226             * @og.rev 3.5.2.0 (2003/10/20) æ–°è¦ä½œæ?
1227             *
1228             * @param       hsc ヘッãƒ??ã®è¡¨ç¤ºé–“éš” ( 0:通常ヘッãƒ??n:n回ã”ã¨ã«ç¾ã‚Œã‚‹ )
1229             * @see         org.opengion.hayabusa.common.SystemData#VIEW_HEADER_SKIP_COUNT
1230             */
1231            public void   setHeaderSkipCount( final String hsc ) {
1232                    headerSkipCount = nval( getRequestParameter( hsc ),headerSkipCount );
1233            }
1234    
1235            /**
1236             * ã€TAG】書ãè¾¼ã¿å¯èƒ½ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1237             *
1238             * @og.tag
1239             * ã“れã¯ã€æ›¸ãè¾¼ã¿ä¸å¯ã‚«ãƒ©ãƒ?ã®æŒ?®?noWritable)ã¨åŒæ™‚ã«ã‚»ãƒ?ƒˆã™ã‚‹
1240             * ã“ã¨ã¯å‡ºæ¥ã¾ã›ã‚“ã€?
1241             * <del>ãªãŠã?カラãƒ?ã®ä»£ã‚りã«ã€?null" を指定ã™ã‚‹ã¨ã€ãªã«ã‚‚指定ã—ãªã?“ã¨
1242             * ã«ãªã‚Šã¾ã™ã?ã¤ã¾ã‚Šã?noWritable ã«ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’æŒ?®šã™ã‚‹ã“ã¨ã¨
1243             * åŒã˜ã«ãªã‚Šã¾ã™ã?(ãƒ?ƒ•ォルトãªã®ã§ã€ã‚ã¾ã‚Šæ„味ã¯ã‚りã¾ã›ã‚“ã€?</del>
1244             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(columnWritable)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
1245             *
1246             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1247             * @og.rev 4.1.2.0 (2008/03/12) 引数ã«ã€?null" を指定å¯èƒ½ã¨ã™ã‚‹ã€?
1248             * @og.rev 4.2.1.0 (2008/04/11) null ãƒã‚§ãƒ?‚¯æ–¹æ³•変更
1249             * @og.rev 4.2.1.1 (2008/04/30) 引数ã«A,B,{&#064;XXXX}ç­‰ãŒæŒ?®šã•れãŸå ´åˆã«{&#064;XXXX}ã®å¤‰æ›ãŒè¡Œã‚れãªã?ƒã‚°ã‚’修正
1250             * @og.rev 5.1.8.0 (2010/07/01) noWritable åŒæ™‚ã‚»ãƒ?ƒˆãƒã‚§ãƒ?‚¯ã‚’ã?メソãƒ?ƒ‰ã§ã¯ãªãã?本体ã§è¡Œã†ã€?
1251             *
1252             * @param       columnName      例�OYA,KO,HJO,SU,DYSET,DYUPD"
1253             * @see         #setNoWritable( String )
1254             */
1255            public void setColumnWritable( final String columnName ) {
1256                    columnWritable = nval( getRequestParameter(columnName),null );
1257                    if( "null".equalsIgnoreCase( columnWritable ) ) { columnWritable = ""; }
1258    
1259    //              if( noWritable == null || noWritable.length() == 0 ) {
1260    //                      columnWritable = nval( getRequestParameter(columnName),null );
1261    //              }
1262    //              else {
1263    //                      String errMsg = "ã™ã§ã« noWritable ãŒè¨­å®šã•れã¦ã?¾ã™ã?[" + noWritable + "]";
1264    //                      throw new HybsSystemException( errMsg );
1265    //              }
1266    //
1267    //              if( "null".equalsIgnoreCase( columnWritable ) ) { columnWritable = ""; }
1268    
1269    ////            if( columnName != null && columnName.startsWith( "{@" ) ) {
1270    //              if( columnName != null && columnName.indexOf( "{@" ) >= 0 ) {
1271    //                      columnWritable = nval( getRequestParameter(columnName),null );
1272    //              }
1273    //              else {
1274    //                      columnWritable = columnName ;
1275    //              }
1276    //
1277    //              if( "null".equalsIgnoreCase( columnWritable ) ) { columnWritable = ""; }
1278    //
1279    ////            if( noWritable == null || noWritable.length() == 0 ) {
1280    ////                    columnWritable = nval( getRequestParameter(columnName),"" );
1281    ////            }
1282    ////            else {
1283    ////                    if( !"null".equalsIgnoreCase( noWritable ) ) {
1284    ////                            String errMsg = "ã™ã§ã« noWritable ãŒè¨­å®šã•れã¦ã?¾ã™ã?[" + noWritable + "]";
1285    ////                            throw new HybsSystemException( errMsg );
1286    ////                    }
1287    ////            }
1288            }
1289    
1290            /**
1291             * ã€TAG】書ãè¾¼ã¿ä¸å¯ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1292             *
1293             * @og.tag
1294             * ã“れã¯ã€æ›¸ãè¾¼ã¿å¯èƒ½ã‚«ãƒ©ãƒ?ã®æŒ?®?columnWritable)ã¨åŒæ™‚ã«ã‚»ãƒ?ƒˆã™ã‚‹
1295             * ã“ã¨ã¯å‡ºæ¥ã¾ã›ã‚“ã€?
1296             * <del>ãªãŠã?カラãƒ?ã®ä»£ã‚りã«ã€?null" を指定ã™ã‚‹ã¨ã€ãªã«ã‚‚指定ã—ãªã?“ã¨
1297             * ã«ãªã‚Šã¾ã™ã?ã¤ã¾ã‚Šã?columnWritable ã«ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’æŒ?®šã™ã‚‹ã“ã¨ã¨
1298             * åŒã˜ã«ãªã‚Šã¾ã™ã?</del>
1299             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(noWritable)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
1300             *
1301             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1302             * @og.rev 4.1.2.0 (2008/03/12) 引数ã«ã€?null" を指定å¯èƒ½ã¨ã™ã‚‹ã€?
1303             * @og.rev 4.2.1.0 (2008/04/11) null ãƒã‚§ãƒ?‚¯æ–¹æ³•変更
1304             * @og.rev 4.2.1.1 (2008/04/30) 引数ã«A,B,{&#064;XXXX}ç­‰ãŒæŒ?®šã•れãŸå ´åˆã«{&#064;XXXX}ã®å¤‰æ›ãŒè¡Œã‚れãªã?ƒã‚°ã‚’修正
1305             * @og.rev 5.1.8.0 (2010/07/01) noWritable åŒæ™‚ã‚»ãƒ?ƒˆãƒã‚§ãƒ?‚¯ã‚’ã?メソãƒ?ƒ‰ã§ã¯ãªãã?本体ã§è¡Œã†ã€?
1306             *
1307             * @param       columnName      例�OYA,KO,HJO,SU,DYSET,DYUPD"
1308             * @see         #setColumnWritable( String )
1309             */
1310            public void setNoWritable( final String columnName ) {
1311                    noWritable = nval( getRequestParameter(columnName),null );
1312                    if( "null".equalsIgnoreCase( noWritable ) ) { noWritable = ""; }
1313    
1314    //              if( columnWritable == null || columnWritable.length() == 0 ) {
1315    //                      noWritable = nval( getRequestParameter(columnName),null );
1316    //              }
1317    //              else {
1318    //                      String errMsg = "ã™ã§ã« columnWritable ãŒè¨­å®šã•れã¦ã?¾ã™ã?[" + columnWritable + "]";
1319    //                      throw new HybsSystemException( errMsg );
1320    //              }
1321    //
1322    //              if( "null".equalsIgnoreCase( noWritable ) ) { noWritable = ""; }
1323    
1324    ////            if( columnName != null && columnName.startsWith( "{@" ) ) {
1325    //              if( columnName != null && columnName.indexOf( "{@" ) >= 0 ) {
1326    //                      noWritable = nval( getRequestParameter(columnName),null );
1327    //              }
1328    //              else {
1329    //                      noWritable = columnName ;
1330    //              }
1331    //
1332    //              if( "null".equalsIgnoreCase( noWritable ) ) { noWritable = ""; }
1333    //
1334    ////            if( columnWritable == null || columnWritable.length() == 0 ) {
1335    ////                    noWritable = nval( getRequestParameter(columnName),"" );
1336    ////            }
1337    ////            else {
1338    ////                    if( !"null".equalsIgnoreCase( columnWritable ) ) {
1339    ////                            String errMsg = "ã™ã§ã« columnWritable ãŒè¨­å®šã•れã¦ã?¾ã™ã?[" + columnWritable + "]";
1340    ////                            throw new HybsSystemException( errMsg );
1341    ////                    }
1342    ////            }
1343            }
1344    
1345            /**
1346             * ã€TAG】表示å¯èƒ½ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1347             *
1348             * @og.tag
1349             * ã“れã¯ã€è¡¨ç¤ºä¸å¯ã‚«ãƒ©ãƒ?ã®æŒ?®?noDisplay)ã¨åŒæ™‚ã«ã‚»ãƒ?ƒˆã™ã‚‹
1350             * ã“ã¨ã¯å‡ºæ¥ã¾ã›ã‚“ã€?
1351             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(columnDisplay)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
1352             *
1353             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1354             * @og.rev 5.1.8.0 (2010/07/01) noWritable åŒæ™‚ã‚»ãƒ?ƒˆãƒã‚§ãƒ?‚¯ã‚’ã?メソãƒ?ƒ‰ã§ã¯ãªãã?本体ã§è¡Œã†ã€?
1355             *
1356             * @param       columnName      例�OYA,KO,HJO,SU,DYSET,DYUPD"
1357             * @see         #setNoDisplay( String )
1358             */
1359            public void setColumnDisplay( final String columnName ) {
1360                    columnDisplay = nval( getRequestParameter(columnName),null );
1361                    if( "null".equalsIgnoreCase( columnDisplay ) ) { columnDisplay = ""; }
1362    
1363    //              if( noDisplay == null ) {
1364    //                      this.columnDisplay = nval( getRequestParameter(columnName),"" );
1365    //              }
1366    //              else {
1367    //                      String errMsg = "ã™ã§ã« noDisplay ãŒè¨­å®šã•れã¦ã?¾ã™ã?[" + noDisplay + "]";
1368    //                      throw new HybsSystemException( errMsg );
1369    //              }
1370            }
1371    
1372            /**
1373             * ã€TAG】表示ä¸å¯ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1374             *
1375             * @og.tag
1376             * ã“れã¯ã€è¡¨ç¤ºå¯èƒ½ã‚«ãƒ©ãƒ?ã®æŒ?®?columnDisplay)ã¨åŒæ™‚ã«ã‚»ãƒ?ƒˆã™ã‚‹
1377             * ã“ã¨ã¯å‡ºæ¥ã¾ã›ã‚“ã€?
1378             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(noDisplay)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
1379             *
1380             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1381             * @og.rev 5.1.8.0 (2010/07/01) noWritable åŒæ™‚ã‚»ãƒ?ƒˆãƒã‚§ãƒ?‚¯ã‚’ã?メソãƒ?ƒ‰ã§ã¯ãªãã?本体ã§è¡Œã†ã€?
1382             *
1383             * @param       columnName      例�OYA,KO,HJO,SU,DYSET,DYUPD"
1384             * @see         #setColumnDisplay( String )
1385             */
1386            public void setNoDisplay( final String columnName ) {
1387                    noDisplay = nval( getRequestParameter(columnName),null );
1388                    if( "null".equalsIgnoreCase( noDisplay ) ) { noDisplay = ""; }
1389    
1390    //              if( columnDisplay == null ) {
1391    //                      this.noDisplay = nval( getRequestParameter(columnName),"" );
1392    //              }
1393    //              else {
1394    //                      String errMsg = "ã™ã§ã« columnDisplay ãŒè¨­å®šã•れã¦ã?¾ã™ã?[" + columnDisplay + "]";
1395    //                      throw new HybsSystemException( errMsg );
1396    //              }
1397            }
1398    
1399            /**
1400             * ã€TAG】表示å¯èƒ½ã‚«ãƒ©ãƒ?ã‚’ã?カラãƒ??ã«ã€ã‚«ãƒ³ãƒžåŒºåˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1401             *
1402             * @og.tag
1403             * ã“れã¯ã€ViewForm_HTMLSeqClmTable 用ã«ç‰¹åˆ¥ã«ç”¨æ„ã•れãŸå±žæ?ã§ã™ã?
1404             * 機è?çš?«ã¯ã€columnDisplay 属æ?ã§ã€ã‚«ãƒ©ãƒ??表示é ?¾ã§æŒ?®šã§ãる機è?ã‚?
1405             * 用æ„ã™ã¹ãã§ã™ãŒã€?ŽåŽ»ã®ã‚¿ã‚°ã¨ã®äº’æ›æ€§ã®é–¢ä¿‚ã§ã€åˆ¥ã«ç”¨æ„ã—ã¦ã?¾ã™ã?
1406             * (ã“ã?属æ?を使用ã™ã‚‹ã¨ã€??常ã®è¡¨ç¤ºã‚ˆã‚Šã€å?ç??度ãŒä½Žä¸‹ã—ã¾ã™ã?)
1407             *  例ï¼?OYA,KO,HJO,SU,DYSET,DYUPD" ã“ã?é ?•ªã§è¡¨ç¤ºã•ã‚Œã€æŒ‡å®šä»¥å¤–ã?カラãƒ??表示ã•れã¾ã›ã‚“ã€?
1408             *
1409             * @og.rev 5.1.6.0 (2010/05/01) clmSeqDisplay 属æ?を追åŠ?—ã¾ã™ã?
1410             *
1411             * @param       columnName      カラ�
1412             */
1413            public void setClmSeqDisplay( final String columnName ) {
1414                    clmSeqDisplay = nval( getRequestParameter(columnName),null );
1415            }
1416    
1417            /**
1418             * ã€TAG】åŒä¸?¡¨ç¤ºãƒ??ã‚¿ã‚’ã¾ã¨ã‚ã‚‹(表示ã—ãªã?カラãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1419             *
1420             * @og.tag
1421             * ã“れã¯ã€ã‚«ãƒ©ãƒ??グループ化æŒ?®šã‚’行ã„ã¾ã™ã?
1422             * åŒã˜ã‚«ãƒ©ãƒ?•ªå·ã§ä¸?¤ä¸Šã?行番å·ã¨åŒã˜å†?®¹ã®å ´åˆã«ã€ç‰¹æ®Šãªè¡¨ç¤ºæ–¹æ³•ã§è¡¨ç¤ºã—ã¾ã™ã?
1423             * 対応ã?ã€è¡¨ç¤º(Renderer)時ã?ã¿ã¨ã—ã¾ã™ã?
1424             * 特殊ãªè¡¨ç¤ºæ–¹æ³•ã?æŒ?®šã?ã€groupClass 属æ?ã§æŒ?®šã—ã¾ã™ã?
1425             * (例:groupClass ã«ã‚¢ãƒ«ãƒ•ァベット以外ã?æ–?­—ã?・ãã?ã¾ã¾è¡¨ç¤ºã€ã‚¢ãƒ«ãƒ•ァベットã?クラス属æ?を付与ã—ã¾ã™ã?)
1426             * カラãƒ?˜ä½ãªã®ã§ã€æ–°ã—ã„ゼブラã«ã‚ˆã‚‹è‰²åˆ?‘ã¯è¡Œã„ã¾ã›ã‚“ã€?ä»»æ„ã?カラãƒ?«é©ç”¨ã§ãる為)
1427             * ã¾ãŸã?ファイル出力ãªã©ã®ãƒ??タ自身ã¯å¤‰æ›´ã•れã¦ã?¾ã›ã‚“ã®ã§ã€ãã®ã¾ã¾ãƒ??ã‚¿ãŒè½ã¡ã¾ã™ã?
1428             *
1429             * ã“れã¯ã€åŒä¸?¡¨ç¤ºãƒ??ã‚¿ã‚’ã¾ã¨ã‚ãªã?‚«ãƒ©ãƒ?ã®æŒ?®?noGroup)ã¨åŒæ™‚ã«ã‚»ãƒ?ƒˆã™ã‚‹
1430             * ã“ã¨ã¯å‡ºæ¥ã¾ã›ã‚“ã€?
1431             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(columnGroup)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
1432             *
1433             * @og.rev 3.8.5.0 (2006/03/20) æ–°è¦è¿½åŠ?
1434             * @og.rev 5.1.8.0 (2010/07/01) noWritable åŒæ™‚ã‚»ãƒ?ƒˆãƒã‚§ãƒ?‚¯ã‚’ã?メソãƒ?ƒ‰ã§ã¯ãªãã?本体ã§è¡Œã†ã€?
1435             *
1436             * @param       group   例�OYA,KO,HJO,SU,DYSET,DYUPD"
1437             * @see         #setNoGroup( String )
1438             * @see         #setGroupClass( String )
1439             */
1440            public void setColumnGroup( final String group ) {
1441                    columnGroup = nval( getRequestParameter( group ),null );
1442                    if( "null".equalsIgnoreCase( columnGroup ) ) { columnGroup = ""; }
1443    
1444    //              if( noGroup == null || noGroup.length() == 0 ) {
1445    //                      columnGroup = nval( getRequestParameter(group),null );
1446    //              }
1447    //              else {
1448    //                      String errMsg = "ã™ã§ã« noGroup ãŒè¨­å®šã•れã¦ã?¾ã™ã?[" + noGroup + "]";
1449    //                      throw new HybsSystemException( errMsg );
1450    //              }
1451            }
1452    
1453            /**
1454             * ã€TAG】åŒä¸?¡¨ç¤ºãƒ??ã‚¿ã‚’ã¾ã¨ã‚ãªã?‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1455             *
1456             * @og.tag
1457             * ã“れã¯ã€ã‚«ãƒ©ãƒ??グループ化æŒ?®šã§ã€åŒä¸?§ã‚‚ã¾ã¨ã‚ãªã?‚«ãƒ©ãƒ?‚’æŒ?®šã™ã‚‹ã»ã?Œç°¡å˜ãªå ´åˆã«
1458             * 使用ã—ã¾ã™ã?例ãˆã°ã€ã‚­ãƒ¼æƒ??以外ã?ã€ã‚°ãƒ«ãƒ¼ãƒ—化æŒ?®šã—ãŸã„å ´åˆãªã©ã«ä¾¿åˆ©ã§ã™ã?
1459             * 動作ã?ã€columnGroup ã®å‹•ãã¨åŒã˜ã§ã™ã?(ã¾ã¨ã‚ãªã?‚«ãƒ©ãƒ?‚’æŒ?®šã™ã‚‹ã ã‘ã§ã™ã?)
1460    
1461             * ã“れã¯ã€åŒä¸?¡¨ç¤ºãƒ??ã‚¿ã‚’ã¾ã¨ã‚るカラãƒ?ã®æŒ?®?columnGroup)ã¨åŒæ™‚ã«ã‚»ãƒ?ƒˆã™ã‚‹
1462             * ã“ã¨ã¯å‡ºæ¥ã¾ã›ã‚“ã€?
1463             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(noGroup)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
1464             *
1465             * @og.rev 5.1.8.0 (2010/07/01) æ–°è¦è¿½åŠ?
1466             *
1467             * @param       group   例�OYA,KO,HJO,SU,DYSET,DYUPD"
1468             * @see         #setColumnGroup( String )
1469             * @see         #setGroupClass( String )
1470             */
1471            public void setNoGroup( final String group ) {
1472                    noGroup = nval( getRequestParameter( group ),null );
1473                    if( "null".equalsIgnoreCase( noGroup ) ) { noGroup = ""; }
1474            }
1475    
1476            /**
1477             * ã€TAG】åŒä¸?¡¨ç¤ºãƒ??ã‚¿ã‚’ã¾ã¨ã‚ã‚‹å ´åˆã?ã€è¡¨ç¤ºæ–¹æ³•ã‚’æŒ?®šã—ã¾ã™ã?
1478             *
1479             * @og.tag
1480             * ã“れã¯ã€ã‚«ãƒ©ãƒ??グループ化æŒ?®?columnGroup)を行ã†å ´åˆã?ã€ã¾ã¨ã‚è¡¨ç¤ºã®æ–¹æ³•ã‚’æŒ?®šã—ã¾ã™ã?
1481             * ãªã«ã‚‚指定ã—ãªã??åˆã?ã€ã¾ã¨ã‚カラãƒ??ã€è¡¨ç¤ºã—ãªã?ゼロæ–?­—å?)ã«ãªã‚Šã¾ã™ã?
1482             * ãã?å ´åˆã?å…ˆã?行ã¨åŒã˜å ´åˆã‚‚ã€å¤‰æ›´ã•れãŸã‚«ãƒ©ãƒ?Œã€NULL(ゼロæ–?­—å?)ã§ã‚ã£ãŸå?åˆã‚‚ã€?
1483             * åŒã˜ç”¨ã«è¡¨ç¤ºã•れるãŸã‚ã?区別ãŒä»˜ãã¾ã›ã‚“ã€?
1484             * ãã“ã§ã€å‰ã®è¡Œã¨åŒã˜ãƒ??ã‚¿ã®å ´åˆã«ã€ç‰¹æ®Šãªå‡¦ç?‚’行ã†ã“ã¨ã§ã€åŒºåˆ¥ã§ãるよã†ã«ã—ã¾ã™ã?
1485             * æŒ?®šæ–¹æ³•ãŒç‰¹æ®Šãªã®ã§ã€æ³¨æ„ãŒå¿?¦ã§ã™ã?
1486             *   記å·ã®å ´åˆï¼?
1487             *       記å·(-- , â†?, â†?, * ãªã©)ãŒæŒ‡å®šã•れãŸå ´åˆã?ã€ãã®ã¾ã¾ã®æ–?­—ã«ç½®ãæ›ãˆã‚‰ã‚Œã¾ã™ã?
1488             *       åˆæœŸå€¤ã¯ã€ç©ºæ–?­—å?(ゼロæ–?­—å?)ã§ã™ã?
1489             *   アルファベットã?å ´åˆï¼?
1490             *       アルファベッãƒ?a-z,A-Z)ã®å ´åˆã?ã€?lt;span class="アルファベッãƒ?&gt;å…??æ–?­?lt;/span&gt;
1491             * 例ãˆã°ã€ãƒãƒ?‚¯ã‚«ãƒ©ãƒ¼ã«è‰²ã‚’付ã‘ã‚‹ã?æ–?­—ã‚’è–?„ç°è‰²ã«ã™ã‚‹ã€ãªã©ã§ãã¾ã™ã?
1492             * ãŸã ã—ã?ãƒ??ã‚¿é‡ãŒåœ§å€’çš„ã«å¢—ãˆã‚‹ãŸã‚ã?大é‡ã?ãƒ??ã‚¿ç­‰ã§ä½¿ç”¨ã™ã‚‹ã®ã¯é¿ã‘ãŸã»ã?Œè‰¯ã?¨æ€ã„ã¾ã™ã?
1493             *
1494             * @og.rev 3.8.5.0 (2006/03/20) æ–°è¦è¿½åŠ?
1495             *
1496             * @param       grpCls ã¾ã¨ã‚è¡¨ç¤ºã®æ–¹æ³?
1497             */
1498            public void setGroupClass( final String grpCls ) {
1499                    groupClass = nval( getRequestParameter(grpCls),null );
1500            }
1501    
1502            /**
1503             * ã€TAG】カラãƒ?リンクソートを表示ã™ã‚‹ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
1504             *
1505             * @og.tag
1506             * ヘッãƒ??ã«ã‚½ãƒ¼ãƒˆç”¨ãƒªãƒ³ã‚¯ã‚’作æ?ã™ã‚‹ useTableSorter 属æ? ã«å¯¾ã—ã¦ã€?
1507             * カラãƒ??別ã«ä½œæ?ã™ã‚‹å ´åˆã?カラãƒ?をカンマ区åˆ?‚Šæ–?­—ã§æŒ?®šã—ã¾ã™ã?
1508             * ã“ã? sortKeys 属æ?ã¯ã€useTableSorter 属æ? ã¨ç„¡é–¢ä¿‚ã«ã€æŒ‡å®šã—ã?
1509             * カラãƒ??ã¿ã€ãƒªãƒ³ã‚¯ã‚’表示ã—ã¾ã™ã?
1510             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(tableSorterKeys)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
1511             * 例�OYA,KO,HJO,SU,DYSET,DYUPD"
1512             *
1513             * @og.rev 3.6.0.0 (2004/09/17) æ–°è¦ä½œæ?
1514             *
1515             * @param       columnName      カラ�
1516             */
1517            public void setTableSorterKeys( final String columnName ) {
1518                    sortKeys = nval( getRequestParameter(columnName),null );
1519            }
1520    
1521            /**
1522             * ã€TAGã€‘æ¤œç´¢çµæžœãƒ¡ãƒ?‚»ãƒ¼ã‚¸ã‚’表示ã—ãªã?‹ã©ã?‹[true/false]を設定ã—ã¾ã?åˆæœŸå€¤:false[表示ã™ã‚‹])ã€?
1523             *
1524             * @og.tag
1525             * åˆæœŸå€¤ã¯ã€è¡¨ç¤ºã™ã‚‹(true以å¤?ã§ã™ã?
1526             *
1527             * @param       flag æ¤œç´¢çµæžœãƒ¡ãƒ?‚»ãƒ¼ã‚¸ã®åˆ¶å¾¡ [true:表示ã—ãªã?ãれ以å¤?表示ã™ã‚‹]
1528             */
1529            public void setNoMessage( final String flag ) {
1530                    noMessage = nval( getRequestParameter( flag ),noMessage );
1531            }
1532    
1533            /**
1534             * ã€TAGã€‘è¡ŒãŒæ›¸ãè¾¼ã¿å¯èƒ½ã‹ã©ã?‹[true/false]を設定ã—ã¾ã?
1535             *              (åˆæœŸå€¤:DBTableModel#DEFAULT_WRITABLE[={@og.value DBTableModel#DEFAULT_WRITABLE}])ã€?
1536             *
1537             * @og.tag
1538             * 書込ã¿è¨±å¯ã™ã‚‹å ´åˆã?, trueã€è¨±å¯ã—ãªã??åˆã?, true 以外を設定ã—ã¾ã™ã?
1539             * ã“ã“ã§ã€false を設定ã™ã‚‹ã¨å…¨è¡Œæ›¸è¾¼ã¿ç¦æ­¢ã«ãªã‚Šã¾ã™ã?true を設定ã—ã?
1540             * å ´åˆã?ãƒ?ƒ•ã‚©ãƒ«ãƒˆã§æ›¸è¾¼ã¿è¨±å¯ãŒä¸Žãˆã‚‰ã‚Œã€å?頭カラãƒ?Œ writable ã§ã‚れã°ã€?
1541             * ãã?値をå–り込んã§ã€è¡Œã”ã¨ã®æ›¸è¾¼ã¿è¨±å¯/ä¸è¨±å¯ãŒæ±ºå®šã•れã¾ã™ã?
1542             * writable,checked,useCheckControl ã«ã¤ã?¦ã¯ã€writable ãŒæœ€å„ªå…ˆã§
1543             * 次ã«ã€useCheckControl="2"(ã¾ãŸã?ã€checked)ã€æ¬¡ã«ã€checked を判定ã—ã¾ã™ã?
1544             * checked="true"ã®å ´åˆã?ã€useCheckControl ãŒã?"1"(true)以上ã?å ´åˆã?
1545             * "2"(checked)ã«è¨­å®šã•れã¾ã™ã?
1546             * (åˆæœŸå€¤:DBTableModel#DEFAULT_WRITABLE[={@og.value DBTableModel#DEFAULT_WRITABLE}])ã€?
1547             *
1548             * @param       flag [true:書込ã¿è¨±å¯/true以å¤?書込ã¿ç¦æ­¢]
1549             * @see         org.opengion.hayabusa.db.DBTableModel#DEFAULT_WRITABLE
1550             */
1551            public void setWritable( final String flag ) {
1552                    writable = getRequestParameter( flag );
1553            }
1554    
1555            /**
1556             * ãƒ??ブルãƒ??ã‚¿ã«æ›¸è¾¼ã¿è¨±å¯?ãƒã‚§ãƒ?‚¯çŠ¶æ…‹ã‚’è¨­å®šã—ã¾ã™ã?
1557             *
1558             * @og.rev 3.6.0.0 (2004/09/17) writable ã?false ã®å ´åˆå?ä»¶ãƒã‚§ãƒ?‚¯ç”¨ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã‚’å?ã•ãªã??
1559             * @og.rev 3.7.0.1 (2005/01/31) 全件ãƒã‚§ãƒ?‚¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ãƒ­ã‚¸ãƒ?‚¯å¤‰æ›´(useCheckControl)
1560             * @og.rev 3.8.8.5 (2007/03/09) 全件ãƒã‚§ãƒ?‚¯(useCheckControl)ã¨ã€å?別ãƒã‚§ãƒ?‚¯(checked)ã®æ•´åˆæ?
1561             * @og.rev 5.5.5.6 (2012/08/31) ユーザーã¨ç”»é¢ã®é–¢ä¿‚ãŒã€ãƒªãƒ¼ãƒ‰ã‚ªãƒ³ãƒªãƒ¼ã®å ´åˆã?ã€writable=falseã‚’å?部設定ã™ã‚‹ã?
1562             * @og.rev 5.5.6.1 (2012/09/03) writable自動セãƒ?ƒˆã¯æŒ?®šã‚³ãƒžãƒ³ãƒ‰ã?ã¿
1563             *
1564             * @param       table   DBTableModelオブジェク�
1565             */
1566            private void setTableRowWritable( final DBTableModel table ) {
1567    
1568                    // 5.5.5.6 (2012/08/31) リードオンリーã®å ´åˆã?ã€writable=falseã‚’å?部設定ã™ã‚‹ã?
1569                    // ã“ã?ã‚¿ã‚°ã§ã€writable ãŒæŒ‡å®šã•れãŸå ´åˆã?ã€ãã¡ã‚‰ã‚’優先ã™ã‚‹ã?(ã¤ã¾ã‚Šã?null ã®å ´åˆã?ã€å?部設定ã™ã‚‹ã?)
1570                    // 5.5.6.1 (2012/09/03) ã“ã?処ç?‚’行ã†ã®ã¯æŒ?®šã‚³ãƒžãƒ³ãƒ‰ã?ã¿
1571    //              if( writable == null || writable.length() == 0 ) {
1572                    if( ( writable == null || writable.length() == 0 ) && check( command, COMMAND_LIST ) ) {
1573                            GUIInfo guiInfo = (GUIInfo)getSessionAttribute( HybsSystem.GUIINFO_KEY );
1574                            if ( ! guiInfo.isWrite() ){
1575                                    writable = "FALSE" ;
1576                            }
1577                    }
1578    
1579                    if( writable != null && writable.length() > 0 ) {
1580                            boolean flag = "TRUE".equalsIgnoreCase( writable );
1581                            table.setDefaultRowWritable( flag );
1582                            if( ! flag ) { useCheckControl = 0; }                   // 3.7.0.1 (2005/01/31)
1583                    }
1584    
1585                    // å…¨ãƒã‚§ãƒ?‚¯ONã®å ´åˆã?ã€å?別ãƒã‚§ãƒ?‚¯ã‚‚ONã«ã™ã‚‹ã€?
1586                    if( useCheckControl == 2 ) { checked = "true"; }        // 3.8.8.5 (2007/03/09)
1587    
1588                    if( checked != null && checked.length() > 0 ) {
1589                            boolean flag = "TRUE".equalsIgnoreCase( checked );
1590                            table.setDefaultRowChecked( flag );
1591                            // 個別ãƒã‚§ãƒ?‚¯ONã®å ´åˆã?ã€å?ãƒã‚§ãƒ?‚¯ã‚‚ONã«ã™ã‚‹ã€?
1592                            if( flag && useCheckControl >= 1 ) { useCheckControl = 2; }                  // 3.8.8.5 (2007/03/09)
1593                    }
1594            }
1595    
1596            /**
1597             * ã€TAG】行ã?ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®åˆæœŸå€¤ã‚’設定ã™ã‚‹ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?åˆæœŸå€¤:null)ã€?
1598             *
1599             * @og.tag
1600             * 書ãè¾¼ã¿å¯èƒ½ãªè¡?rowWritable == true)ã®ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã«å¯¾ã—ã¦
1601             * åˆæœŸå€¤ã‚?é¸æŠžæ¸ˆã¿ã«ã™ã‚‹ã‹ã?éžé¸æŠžæ¸ˆã¿ã«ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã™ã?
1602             * writable,checked,useCheckControl ã«ã¤ã?¦ã¯ã€writable ãŒæœ€å„ªå…ˆã§
1603             * 次ã«ã€useCheckControl="2"(ã¾ãŸã?ã€checked)ã€æ¬¡ã«ã€checked を判定ã—ã¾ã™ã?
1604             * checked="true"ã®å ´åˆã?ã€useCheckControl ãŒã?"1"(true)以上ã?å ´åˆã?
1605             * "2"(checked)ã«è¨­å®šã•れã¾ã™ã?
1606             *
1607             * @param       flag [true:書込ã¿è¨±å¯/ãれ以å¤?書込ã¿ç¦æ­¢]
1608             */
1609            public void setChecked( final String flag ) {
1610                    checked = getRequestParameter( flag );
1611            }
1612    
1613            /**
1614             * ã€TAG】NEXTç­‰ã§ã€?¸æŠžè¡Œä»¥å¤–をスキãƒ??ã™ã‚‹ã®ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?
1615             *              (åˆæœŸå€¤:ViewForm#DEFAULT_SKIP[={@og.value ViewForm#DEFAULT_SKIP}])ã€?
1616             *
1617             * @og.tag
1618             * 明細æƒ??ã®ç™»éŒ²/ç·¨é›?™‚ã«ã€å¿?¦ãªå€‹æ‰€ã®ã¿ã‚’é?番ã«å‡¦ç?™ã‚‹å?åˆã«ä½¿ç”¨ã—ã¾ã™ã?
1619             * (åˆæœŸå€¤:ViewForm#DEFAULT_SKIP[={@og.value ViewForm#DEFAULT_SKIP}])ã€?
1620             *
1621             * @param       flag スキãƒ??  [true:ã™ã‚‹/ãれ以å¤?ã—ãªã„]
1622             * @see         org.opengion.hayabusa.html.ViewForm#DEFAULT_SKIP
1623             */
1624            public void setSkip( final String flag ) {
1625                    skip = nval( getRequestParameter( flag ),skip );
1626            }
1627    
1628            /**
1629             * ã€TAG】表示ãƒ??タを作æ?ã™ã‚‹å ´åˆã?フォーマットã?行数をセãƒ?ƒˆã—ã¾ã?åˆæœŸå€¤:2)ã€?
1630             *
1631             * @og.tag 表示ãƒ??タを作æ?ã™ã‚‹å ´åˆã?フォーマットã?行数をセãƒ?ƒˆã—ã¾ã™ã?
1632             *
1633             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1634             *
1635             * @param       rowspan フォーマットã?行数
1636             */
1637            public void setRowspan( final String rowspan ) {
1638                    this.rowspan = getRequestParameter(rowspan);
1639            }
1640    
1641            /**
1642             * ã€TAG】表示時ã?é¸æŠžç”¨ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã?タイプ[checkbox/radio/hidden]を指定ã—ã¾ã?åˆæœŸå€¤:checkbox)ã€?
1643             *
1644             * @og.tag
1645             * è¤?•°é¸æŠžå¯èƒ½æ™‚ã? "checkbox" を指定ã—ã¾ã™ã?
1646             * ä¸?¤ã?‘é¸ã°ã›ã‚‹å ´åˆã?, "radio" を指定ã—ã¾ã™ã?
1647             * éš?—フィールドã§å…¨ä»¶ã‚’é¸ã¶å ´åˆã?ã€?hidden" を指定ã—ã¾ã™ã?
1648             * åˆæœŸå€¤ã¯ã€?checkbox" ã§ã™ã?
1649             *
1650             * @og.rev 3.3.1.1 (2003/07/03) {&#064;XXXX} 変数ãŒä½¿ç”¨ã§ãるよã†ã«ä¿®æ­£ã€?
1651             *
1652             * @param       type é¸æŠžç”¨ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã?タイプ[checkbox:è¤?•°é¸æŠ?radio:ä¸?¤ã?‘/hidden:å…¨ä»¶é¸æŠž]
1653             */
1654            public void setSelectedType( final String type ) {
1655                    selectedType = nval( getRequestParameter(type),selectedType );
1656            }
1657    
1658            /**
1659             * ã€TAG】表示時ã?行番å·ã®è¡¨ç¤ºæ–¹æ³•[sequence/none/delete/skip=カラãƒ?/view=カラãƒ?]を指定ã—ã¾ã?åˆæœŸå€¤:sequence)ã€?
1660             *
1661             * @og.tag
1662             * ・sequenceã¯ã€?¼‘ã‹ã‚‰å§‹ã¾ã‚‹é?番ã§ã™ã?
1663             * ・none を指定ã™ã‚‹ã¨ã€ç•ªå·ã¯è¡¨ç¤ºã•れã¾ã›ã‚“ã€?
1664             * ・delete を指定ã™ã‚‹ã¨ã€è¡Œç•ªå·è¡¨ç¤ºãã?ã‚‚ã?ã®ã‚¿ã‚°ã‚’å–り除ãã¾ã™ã?(3.5.5.0 追åŠ?
1665             * ・skip=カラãƒ?を指定ã™ã‚‹ã¨ã€ãã®ã‚«ãƒ©ãƒ??値ã?NULL ã®å ´åˆã?ã€ç•ªå·ã‚’スキãƒ??ã—ã¾ã™ã?
1666             * ・view=カラãƒ?を指定ã™ã‚‹ã¨ã€ãã®ã‚«ãƒ©ãƒ??値ãŒã?使用ã•れã¾ã™ã?(ラベルã¯ä»˜ãã¾ã›ã‚“)
1667             * skip=XX ã¨ã€view=XX ã¯ã€?ã®å‰å¾Œã«ã‚¹ãƒšã?スをå?れãªã?§ä¸‹ã•ã??
1668             * åˆæœŸå€¤ã¯ã€?sequence" ã§ã™ã?
1669             *
1670             * @og.rev 3.5.1.0 (2003/10/03) æ–°è¦ä½œæ?
1671             *
1672             * @param       type 行番å·ã®è¡¨ç¤ºæ–¹æ³•ã?タイãƒ?[sequence:連番/none:éžè¡¨ç¤º/delete:タグ削除/skip=カラãƒ?/view=カラãƒ?]
1673             */
1674            public void setNumberType( final String type ) {
1675                    numberType = nval( getRequestParameter(type),numberType );
1676            }
1677    
1678            /**
1679             * ã€TAG】テーブル等ã?ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã«å±žæ?を付加ã—ã¾ã™ã?
1680             *
1681             * @og.tag
1682             * JavaScript ãªã©ã® HTML基本タグ以外ã?属æ?ã‚’ã?ãã?ã¾ã¾
1683             * ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹/ラジオボタン等ã«ä½¿ç”¨ã—ã¾ã™ã?
1684             * ãã?ã¨ãã«ã€?')ã¯ã€?")ã«ç½®ãæ›ãˆã¾ã™ã?
1685             *
1686             * @param       attributes HTML基本タグ以外ã?属æ?
1687             */
1688            public void setOptionTypeAttributes( final String attributes ) {
1689                    String optAttri = getRequestParameter( attributes );
1690                    if( optAttri != null && optAttri.length() > 0 ) {
1691                            optTypeAttri = optAttri.replace( '\'', '\"' );
1692                    }
1693            }
1694    
1695    //      /**
1696    //       * ã€å»?­¢ã€‘表示時ã?ラベルを変更ã™ã‚‹æ™‚ã?カラãƒ?‚­ãƒ¼(å‚ç??šcolumnEditor ã‚¿ã‚°)ã€?
1697    //       *
1698    //       * @og.tag
1699    //       * changeLabelVal ã¨ã‚»ãƒ?ƒˆã§ä½¿ç”¨ã•れã¾ã™ã?
1700    //       * 通常ã®ãƒ©ãƒ™ãƒ«å®šç¾©ã•れã¦ã?‚‹é ?›®ã¨ç½®ãæ›ãˆãŸã??åˆã?ã€?
1701    //       * ?³?±?¬æ–??ä»®é ?›®ã§æŒ?®šã—ã¾ã™ã?
1702    //       * åˆ?§£æ–¹æ³•ã?ã€CSV変数をå?ã«åˆ?§£ã—ã¦ã‹ã‚‰ã€getRequestParameter ã§å€¤ã‚’å–å¾—ã—ã¾ã™ã?
1703    //       * ã“ã†ã—ãªã?¨ãƒ??タ自身ã«ã‚«ãƒ³ãƒžã‚’æŒã£ã¦ã?‚‹å ´åˆã«åˆ?§£ã‚’ミスる為ã§ã™ã?
1704    //       *
1705    //       * @og.rev 3.5.6.2 (2004/07/05) å…ˆã«é…å?ã«åˆ?§£ã—ã¦ã‹ã‚‰ãƒªã‚¯ã‚¨ã‚¹ãƒˆå¤‰æ•°ã®å€¤ã‚’å–å¾?
1706    //       *
1707    //       * @param       key カラãƒ?‚­ãƒ¼
1708    //       * @deprecated  columnEditor ã‚¿ã‚°ã§ã€ãƒ©ãƒ™ãƒ«ã‚’å?れ替ãˆã‚‹æ–¹æ³•ã§ã€ä»£æ›¿ã—ã¦ãã ã•ã„ã€?
1709    //       */
1710    //      @Deprecated public void setChangeLabelKeys( final String key ) {
1711    //              changeLabelKeys = getCSVParameter( key );
1712    //      }
1713    
1714    //      /**
1715    //       * ã€å»?­¢ã€‘表示時ã?ラベルを変更ã™ã‚‹æ™‚ã?ラベル(å‚ç??šcolumnEditor ã‚¿ã‚°)ã€?
1716    //       *
1717    //       * @og.tag
1718    //       * changeLabelKey ã¨ã‚»ãƒ?ƒˆã§ä½¿ç”¨ã•れã¾ã™ã?
1719    //       * åˆ?§£æ–¹æ³•ã?ã€CSV変数をå?ã«åˆ?§£ã—ã¦ã‹ã‚‰ã€getRequestParameter ã§å€¤ã‚’å–å¾—ã—ã¾ã™ã?
1720    //       * ã“ã†ã—ãªã?¨ãƒ??タ自身ã«ã‚«ãƒ³ãƒžã‚’æŒã£ã¦ã?‚‹å ´åˆã«åˆ?§£ã‚’ミスる為ã§ã™ã?
1721    //       *
1722    //       * @og.rev 3.5.6.2 (2004/07/05) CommonTagSupport#getCSVParameter を使用
1723    //       *
1724    //       * @param       val ラベル
1725    //       * @deprecated columnEditor ã‚¿ã‚°ã§ã€ãƒ©ãƒ™ãƒ«ã‚’å?れ替ãˆã‚‹æ–¹æ³•ã§ã€ä»£æ›¿ã—ã¦ãã ã•ã„ã€?
1726    //       */
1727    //      @Deprecated public void setChangeLabelVals( final String val ) {
1728    //              changeLabelVals = getCSVParameter( val );
1729    //      }
1730    
1731            /**
1732             * ã€TAG】ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®å…¨ãƒã‚§ãƒ?‚¯ã‚’é¸æŠžã™ã‚‹JavaScript ã®æ©Ÿè?を使用ã™ã‚‹ã‹ã©ã?‹ã‚’指定ã—ã¾ã?
1733             *              (åˆæœŸå€¤:VIEW_USE_CHECK_CONTROL[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_CHECK_CONTROL}])ã€?
1734             *
1735             * @og.tag
1736             * "true" ã§ã€ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ç”¨ã®ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ãŒç¾ã‚Œã¦ã€ã“ã®æ©Ÿè?を使用ã™ã‚‹ã“ã¨ãŒã§ãるよã†ã«ãªã‚Šã¾ã™ã?
1737             * false ã¯ã€å¾“æ¥ã©ãŠã‚Šã§ã™ã?
1738             * 使用ã™ã‚‹ã«ã‚ãŸã‚Šã?jsp/commpn/default.js ã«JavaScriptを設定ã—ã¦ãŠãã¾ã™ã?(設定済ã¿)
1739             * false ã¯ã€?ã§ã‚‚代用å¯èƒ½ã§ã™ã?true ã¯ã€?ã§ã‚‚代用å¯èƒ½ã§ã™ã?
1740             * checked ã¯ã€?ã§ã‚‚代用å¯èƒ½ã§ã™ã?checked ã¯ã€å?期å?ã‚’ã?ãƒã‚§ãƒ?‚¯æ¸ˆã¿ã«ã—ã¾ã™ã?
1741             * 注æ„ï¼?,1,2,true,false,checked 以外ã?æ–?­—ã‚’ã‚»ãƒ?ƒˆã™ã‚‹ã¨ã€ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã™ã?
1742             * writable,checked,useCheckControl ã«ã¤ã?¦ã¯ã€writable ãŒæœ€å„ªå…ˆã§
1743             * 次ã«ã€useCheckControl="2"(ã¾ãŸã?ã€checked)ã€æ¬¡ã«ã€checked を判定ã—ã¾ã™ã?
1744             * checked="true"ã®å ´åˆã?ã€useCheckControl ãŒã?"1"(true)以上ã?å ´åˆã?
1745             * "2"(checked)ã«è¨­å®šã•れã¾ã™ã?
1746             * (åˆæœŸå€¤:ユーザー定数ã®VIEW_USE_CHECK_CONTROL[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_CHECK_CONTROL}])ã€?
1747             *
1748             * @og.rev 3.5.4.3 (2004/01/05) æ–°è¦è¿½åŠ?
1749             * @og.rev 3.7.0.1 (2005/01/31) 全件ãƒã‚§ãƒ?‚¯ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã®ãƒ­ã‚¸ãƒ?‚¯å¤‰æ›´(useCheckControl)
1750             *
1751             * @param       flag ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®å…¨ãƒã‚§ãƒ?‚¯ã‚’é¸æŠžã™ã‚‹æ©Ÿè?を使用ã™ã‚‹ã‹ã©ã?‹
1752             *                      (true,1:使用ã™ã‚‹/false,0:使用ã—ãªã?checked,2:åˆæœŸå€¤ãƒã‚§ãƒ?‚¯æ¸ˆã¿)
1753             * @see         org.opengion.hayabusa.common.SystemData#VIEW_USE_CHECK_CONTROL
1754             */
1755            public void setUseCheckControl( final String flag ) {
1756                    useCheckControl = intCase( getRequestParameter(flag) );
1757    
1758                    if( useCheckControl < 0 ) {
1759                            String errMsg = "useCheckControl ã¯ã€false(0)/true(1)/2 ã®ã?šã‚Œã‹ã—ã‹ç™»éŒ²ã§ãã¾ã›ã‚“ã€?"
1760                                                     + flag + "]";
1761                            throw new HybsSystemException( errMsg );
1762                    }
1763            }
1764    
1765            /**
1766             * ã€TAG】ã?ãƒ?ƒ€ãƒ¼ã«ã‚½ãƒ¼ãƒˆç”¨ãƒªãƒ³ã‚¯ã‚’作æ?ã™ã‚‹ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?
1767             *              (åˆæœŸå€¤:VIEW_USE_TABLE_SORTER[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_TABLE_SORTER}])ã€?
1768             *
1769             * @og.tag
1770             * "true" ã§ã€ã?ãƒ?ƒ€ãƒ¼ã«ã‚½ãƒ¼ãƒˆç”¨ãƒªãƒ³ã‚¯ã‚’作æ?ã—ã¾ã™ã?
1771             * false ã¯ã€å¾“æ¥ã©ãŠã‚Šã§ã™ã?
1772             * 検索済ã¿ã®DBTableModelã‚’ã?メモリ上ã§ã‚½ãƒ¼ãƒˆã—ã€å?表示ã•ã›ã¾ã™ã?
1773             *              (åˆæœŸå€¤:ユーザー定数ã®VIEW_USE_TABLE_SORTER[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_TABLE_SORTER}])ã€?
1774             *
1775             * @og.rev 3.5.4.7 (2004/02/06) æ–°è¦è¿½åŠ?
1776             *
1777             * @param       flag ヘッãƒ??ã«ã‚½ãƒ¼ãƒˆç”¨ãƒªãƒ³ã‚¯ã‚’作æ?ã™ã‚‹ã‹ã©ã?‹ [true:作æ?ã™ã‚‹/false:作æ?ã—ãªã„]
1778             * @see         org.opengion.hayabusa.common.SystemData#VIEW_USE_TABLE_SORTER
1779             */
1780            public void setUseTableSorter( final String flag ) {
1781                    useTableSorter = nval( getRequestParameter(flag),useTableSorter );
1782            }
1783    
1784            /**
1785             * 表示ãƒ??ã‚¿ã‚’ã?レビューå¯èƒ½ã‹ã©ã?‹ã‚’è¿”ã—ã¾ã™ã?
1786             *
1787             * ä¸å¯èƒ½ãªçŠ¶æ…‹ã¨ã¯,ã™ã§ã«ä¸?•ªå…ˆé?ã‹ã‚‰è¡¨ç¤ºã•れã¦ã?‚‹å ´åˆã§ã™ã?
1788             *
1789             * @return      プレビューå¯èƒ½(true)?ä¸å¯èƒ½(false)
1790             */
1791            private boolean isPrev() {
1792                    if( startNo <= 0 ) {
1793                            return false;
1794                    }
1795                    return true;
1796            }
1797    
1798            /**
1799             * 表示ãƒ??ã‚¿ã‚’ãƒã‚¯ã‚¹ãƒˆå¯èƒ½ã‹ã©ã?‹ã‚’è¿”ã—ã¾ã™ã?
1800             *
1801             * ä¸å¯èƒ½ãªçŠ¶æ…‹ã¨ã¯,ã™ã§ã«ä¸?•ªå¾Œã‚ãŒè¡¨ç¤ºã•れã¦ã?‚‹å ´åˆã§ã™ã?
1802             *
1803             * @return      ãƒã‚¯ã‚¹ãƒˆå¯èƒ½(true)?ä¸å¯èƒ½(false)
1804             */
1805            private boolean  isNext() {
1806                    if( (startNo + pageSize) >= table.getRowCount() ) {
1807                            return false;
1808                    }
1809                    return true;
1810            }
1811    
1812            /**
1813             * コマンドを実行ã—ã¾ã™ã?
1814             *
1815             * コマンドã?,HTMLã‹ã‚‰(get/post)æŒ?®šã•れã¾ã™ã?ã§,setCommand()メソãƒ?ƒ‰ã§
1816             * 登録ã—ã¾ã™ã?
1817             * コマンドを登録ã™ã‚‹ã¨åŒæ™‚ã«,実行も行ãªã?¾ã™ã?
1818             *
1819             * @og.rev 3.8.0.8 (2005/10/03) ãã?ä»–ã?コマンドを CMD_XXX ã«ã—ã¾ã™ã?
1820             *
1821             * @param       command コマンãƒ?public static final 宣è¨?•れã¦ã?‚‹æ–?­—å?)
1822             * @see         <a href="{&#064;docRoot}/constant-values.html#org.opengion.hayabusa.taglib.ViewFormTag.CMD_PREV">コマンド定数</a>
1823             */
1824            private void commandExec( final String command ) {
1825                    if(      CMD_PREV.equals(       command ) ) { prev() ;  }
1826                    else if( CMD_NEXT.equals(       command ) ) { next() ;  }
1827                    else if( CMD_FIRST.equals(      command ) ) { first() ; }
1828                    else if( CMD_LAST.equals(       command ) ) { last() ;  }
1829            //      else if( CMD_NEW.equals(        command ) ) {}          // 何もã—ãªã?
1830            //      else if( CMD_REVIEW.equals( command ) ) {}              // 何もã—ãªã?
1831            //      else if( CMD_RESET.equals(      command ) ) {}          // 何もã—ãªã?
1832                    else if( CMD_VIEW.equals(       command ) ) { view() ;  }
1833                    // 3.8.0.8 (2005/10/03) ãã?ä»–ã?コマンドを CMD_XXX ã«ã—ã¾ã™ã?
1834                    else if( CMD_XXX.equals(        command ) ) { view() ;  }
1835                    this.command = null;
1836            }
1837    
1838            /**
1839             * HTMLãƒ??ã‚¿ã®è¡¨ç¤ºã‚’ã?レビュー(戻ã?ã—ã¾ã™ã?
1840             *
1841             * @og.rev 3.0.1.3 (2003/03/11) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’ã€è¿½åŠ?
1842             *
1843             */
1844            private void prev() {
1845                    if( ! isPrev() ) { return ; }                   // prev 出æ¥ãªã??
1846                    tempStartNo = tempStartNo - pageSize;
1847                    if( tempStartNo < 0 ) { tempStartNo = 0; }
1848                    if( skip ) {
1849                            for( int i=startNo-1; i>=0; i-- ) {
1850                                    if( form.isMarked( i ) ) {
1851                                            startNo = i;
1852                                            break;
1853                                    }
1854                            }
1855                            return ;
1856                    }
1857    
1858                    startNo = startNo - pageSize;
1859                    if( startNo < 0 ) {
1860                            startNo = 0;
1861                    }
1862            }
1863    
1864            /**
1865             * HTMLãƒ??ã‚¿ã®è¡¨ç¤ºã‚’ãƒã‚¯ã‚¹ãƒ?å…ˆé?ã‚?ã—ã¾ã™ã?
1866             *
1867             * @og.rev 3.0.1.3 (2003/03/11) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’ã€è¿½åŠ?
1868             *
1869             */
1870            private void next() {
1871                    if( ! isNext() ) { return ; }                   // next 出æ¥ãªã??
1872                    tempStartNo = tempStartNo + pageSize;
1873                    if( skip ) {
1874                            int end  = table.getRowCount();
1875                            for( int i=startNo+1; i<end; i++ ) {
1876                                    if( form.isMarked( i ) ) {
1877                                            startNo = i;
1878                                            break;
1879                                    }
1880                            }
1881                            return ;
1882                    }
1883    
1884                    startNo = startNo + pageSize;
1885            }
1886    
1887            /**
1888             * HTMLãƒ??ã‚¿ã®è¡¨ç¤ºã‚’ファースãƒ?æœ??)ã—ã¾ã™ã?
1889             *
1890             * @og.rev 3.0.1.3 (2003/03/11) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’ã€è¿½åŠ?
1891             *
1892             */
1893            private void first() {
1894                    tempStartNo = 0;
1895                    if( tempStartNo < 0 ) { tempStartNo = 0; }
1896                    if( skip ) {
1897                            int end  = table.getRowCount();
1898                            for( int i=startNo; i<end; i++ ) {
1899                                    if( form.isMarked( i ) ) {
1900                                            startNo = i;
1901                                            break;
1902                                    }
1903                            }
1904                            return ;
1905                    }
1906    
1907                    startNo = 0;
1908            }
1909    
1910            /**
1911             * HTMLãƒ??ã‚¿ã®è¡¨ç¤ºã‚’ラスãƒ?æœ?¾?ã—ã¾ã™ã?
1912             *
1913             * @og.rev 3.0.1.3 (2003/03/11) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’ã€è¿½åŠ?
1914             *
1915             */
1916            private void last() {
1917                    tempStartNo = table.getRowCount() - pageSize;
1918                    if( tempStartNo < 0 ) { tempStartNo = 0; }
1919                    if( skip ) {
1920                            for( int i=startNo; i>=0; i-- ) {
1921                                    if( form.isMarked( i ) ) {
1922                                            startNo = i;
1923                                            break;
1924                                    }
1925                            }
1926                            return ;
1927                    }
1928    
1929                    startNo = table.getRowCount() - pageSize;
1930                    if( startNo < 0 ) { startNo = 0; }
1931            }
1932    
1933            /**
1934             * HTMLãƒ??ã‚¿ã®è¡¨ç¤ºã‚’ã—ã¾ã™ã?
1935             *
1936             */
1937            private void view() {
1938                    if( skip ) {
1939                            int end  = table.getRowCount();
1940                            for( int i=startNo; i<end; i++ ) {
1941                                    if( form.isMarked( i ) ) {
1942                                            startNo = i;
1943                                            break;
1944                                    }
1945                            }
1946                            return ;
1947                    }
1948            }
1949    
1950            /**
1951             * startNo,pageSize,pagePlus ã®åˆæœŸå€¤ã‚’設定ã™ã‚‹ã?
1952             *
1953             * @og.rev 3.0.1.3 (2003/03/11) startNo ã‚’éš ã—ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã«æŒã¤å‡¦ç?‚’ã€è¿½åŠ?
1954             * @og.rev 3.5.4.1 (2003/12/01) startNo をキャãƒ?‚·ãƒ¥ã‹ã‚‰å–り出ã™ã‚ˆã?«å¤‰æ›´ã€?
1955             * @og.rev 3.5.4.7 (2004/02/06) getStartNoKeyメソãƒ?ƒ‰ã®å»?­¢(getRequestCacheDataを利用)
1956             * @og.rev 3.7.0.2 (2005/02/14) NEXT 時ã«ä½•ã‚‚é¸æŠžã—ãªã?§è¿½åŠ?—ãŸå?åˆã?ã€?¼‘ä»¶ç›®ã‹ã‚‰è¡¨ç¤ºã™ã‚‹ã€?
1957             * @og.rev 3.8.0.8 (2005/10/03) ãã?ä»–ã?コマンドを CMD_XXX ã«ã—ã¾ã™ã?
1958             *
1959             */
1960            private void setDefaultParameter() {
1961                    // 3.7.0.2 (2005/02/14)
1962                    // 3.8.0.8 (2005/10/03) ãã?ä»–ã?コマンドを CMD_XXX ã«ã—ã¾ã™ã?
1963                    if( CMD_XXX.equals( command ) ) {
1964                            String[] selected = getRequestValues( HybsSystem.ROW_SEL_KEY ) ;
1965                            if( selected == null || selected.length == 0 ) {
1966                                    startNo = 0;
1967                                    tempStartNo = startNo;
1968                            }
1969                    }
1970    
1971                    if( startNo<0 ) {
1972                            startNo = nval( getRequestCacheData( START_NO_KEY ),form.getStartNo() ) ;
1973                            tempStartNo = startNo;
1974                    }
1975    
1976                    if( pageSize<0 ) {
1977                            pageSize = nval( getRequestValue( PAGE_SIZE_KEY ),form.getPageSize() ) ;
1978                    }
1979    
1980                    if( pagePlus<0 ) {
1981                            pagePlus = nval( getRequestValue( PAGE_PLUS_KEY ),0 ) ;
1982                    }
1983    
1984            }
1985    
1986            /**
1987             * å†?ƒ¨ã‚¿ã‚°ã® TheadTag / TbodyTag / TfootTag よりã€å?ã€??フォーマットを定義ã™ã‚‹
1988             * 為ã®TableFormatter オブジェクトをå—ã‘å–ã‚‹ã€?
1989             *
1990             * @og.rev 3.5.4.0 (2003/11/25) æ–°è¦ç™»éŒ²(setAttributes メソãƒ?ƒ‰ã‚ˆã‚Šç§»è¡?
1991             *
1992             * @param       form TableFormatterオブジェク�
1993             */
1994            protected void addFormatter( final TableFormatter form ) {
1995                    if( values == null ) { values = new ArrayList<TableFormatter>(); }
1996                    values.add( form );
1997            }
1998    
1999            /**
2000             * pageSize ã‚’hidden属æ?ã§å‡ºåŠ›ã™ã‚‹ã‚¿ã‚°ã‚’作æ?ã—ã¾ã™ã?
2001             *
2002             * @og.rev 3.5.4.0 (2003/11/25) command="RESET"時ã«ã€æˆ»ã£ãŸç”»é¢ã®pageSize ãŒã‚¯ãƒªã‚¢ã•れã¦ã—ã¾ã?¯¾å¿œã?
2003             * @og.rev 3.5.5.5 (2004/04/23) hidden ã®å‡ºåŠ›ã«ã€XHTMLTag.hidden を使用ã—ã¾ã™ã?
2004             *
2005             * @param       pageSize        ペã?ジサイズ
2006             *
2007             * @return      hidden属æ?ã§å‡ºåŠ›ã™ã‚‹ã‚¿ã‚°
2008             */
2009            private String makePageSize( final int pageSize ) {
2010                    String name   = PAGE_SIZE_KEY;
2011                    String value  = String.valueOf( pageSize );
2012    
2013                    return XHTMLTag.hidden( name,value );   // 3.5.5.5 (2004/04/23)
2014            }
2015    
2016            /**
2017             * consistencyKey ã‚’hidden属æ?ã§å‡ºåŠ›ã™ã‚‹ã‚¿ã‚°ã‚’作æ?ã—ã¾ã™ã?
2018             * 出力ã™ã‚‹æ¡ä»¶ã¯ã€useConsistency="true" (åˆæœŸå€¤)ã€ã§
2019             * scope ãŒã? request 以外ã?å ´åˆã§ã™ã?
2020             * tableId ãŒè¨­å®šã•れãŸå ´åˆã?ã€consistencyKey ã«ã€tableId を加ãˆãŸ
2021             * キーã«ã—ã¾ã™ã?
2022             *
2023             * @og.rev 3.5.5.5 (2004/04/23) DBTableModel ã®æ•´åˆæ?パラメータã‚?hidden ã§å‡ºåŠ›ã—ã¾ã™ã?
2024             * @og.rev 3.5.5.5 (2004/04/23) hidden ã®å‡ºåŠ›ã«ã€XHTMLTag.hidden を使用ã—ã¾ã™ã?
2025             * @og.rev 3.5.5.8 (2004/05/20) makeConsistencyKey メソãƒ?ƒ‰ã«å‡¦ç?ƒ­ã‚¸ãƒ?‚¯ã‚’ç§»ã—ã¾ã™ã?
2026             *
2027             */
2028            private void makeConsistencyKey() {
2029                    if( useConsistency && ! "request".equals( getScope() ) ) {
2030                            String name   = HybsSystem.CONSISTENCY_KEY;
2031                            String value  = table.getConsistencyKey() ;
2032    
2033                            jspPrint( XHTMLTag.hidden( name,value ) );
2034                    }
2035            }
2036    
2037            /**
2038             * "false","true","checked" ã®æ–?­—å?ã‚’ã?ãれãžã‚Œã€?,1,2 ã«å¯¾å¿œã—ãŸæ•°å­—ã«å¤‰æ›ã—ã¾ã™ã?
2039             * ãれ以外ã?æ–?­—å?ã¯ã€?1 ã«ã—ã¾ã™ã?
2040             *
2041             * @og.rev 3.7.0.1 (2005/01/31) æ–°è¦ä½œæ?
2042             *
2043             * @param    flag æ–?­—å? (true=1 , false=0 , checked=2) ã®æ–?­—å?
2044             *
2045             * @return   設定å?(0,1,2ã®æ•°å­—ã?䏿­£ãªå ´åˆã?ã€?1 ã‚’è¿”ã™ã€?
2046             */
2047            private static int intCase( final String flag ) {
2048                    int rtn = -1;
2049                    if( "FALSE".equalsIgnoreCase( flag ) || "0".equalsIgnoreCase( flag ) ) {
2050                            rtn = 0;
2051                    }
2052                    else if( "TRUE".equalsIgnoreCase( flag ) || "1".equalsIgnoreCase( flag ) ) {
2053                            rtn = 1;
2054                    }
2055                    else if( "CHECKED".equalsIgnoreCase( flag ) || "2".equalsIgnoreCase( flag ) ) {
2056                            rtn = 2;
2057                    }
2058                    return rtn ;
2059            }
2060    
2061            /**
2062             * ViewForm ã®ã‚µãƒ–ã‚¯ãƒ©ã‚¹ã«æ¸¡ã™ãƒ‘ラメータマッãƒ?
2063             *
2064             * @og.rev 3.5.4.8 (2004/02/23) ViewParamTag ã®ãƒ‘ラメータを追åŠ?—ã¾ã™ã?
2065             *
2066             * @param       map パラメータマッ�
2067             */
2068            protected void setParam( final Map<String,String> map ) {
2069                    viewParam = map ;
2070            }
2071            
2072            /**
2073             * ViewForm ã®ã‚µãƒ–ã‚¯ãƒ©ã‚¹ã«æ¸¡ã™ãƒ‘ラメータ(æ–?­—å?é…å?ã®ArrayList)を設定ã—ã¾ã™ã?
2074             *
2075             * @og.rev 5.5.8.3 (2012/11/17) æ–°è¦ä½œæ??ˆã‚¹ã‚¿ãƒ?‚¯ã‚¬ãƒ³ãƒˆå¯¾å¿œï¼?
2076             * @og.rev 5.5.9.0 (2012/12/03) objectã‹ã‚‰ArrayListã«å¤‰æ›´
2077             *
2078             * @param       list æ–?­—å?é…å?ã®ArrayList
2079             */
2080    //      protected void setViewObject( final Map<String,Object> map ) {
2081            protected void setViewArrayList( final ArrayList<String[]> list ) {
2082                    viewArrayList = list;
2083            }
2084    
2085            /**
2086             * ã€TAG】パラメーターファイルã®ä½¿ç”¨ã‚’ã™ã‚‹ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?åˆæœŸå€¤:false)ã€?
2087             *
2088             * @og.tag
2089             * "true" ã§ã€ãƒ‘ラメータファイルを読ã¿è¾¼ã‚?Ÿã‚ã?BODY部をå?ç?—ã¾ã™ã?
2090             * false ã¯ã€ãƒ‘ラメータファイã?‚’使用ã—ã¾ã›ã‚“ã€?
2091             * パラメータファイルã¯ã€å„ViewFormã®ã‚µãƒ–クラス用ã«ç”¨æ„ã—ã¾ã™ã?
2092             * åˆæœŸå€¤ã¯ã€false ã§ã™ã?(false)
2093             *
2094             * @og.rev 3.5.4.8 (2004/02/23) æ–°è¦è¿½åŠ?
2095             *
2096             * @param       flag パラメーターファイルを使用 [true:使用ã™ã‚‹/false:使用ã—ãªã„]
2097             */
2098            public void setUseParam( final String flag ) {
2099                    useParam = nval( getRequestParameter(flag),useParam );
2100            }
2101    
2102            /**
2103             * ã€TAG】Consistency キー ã«ã‚ˆã‚‹æ•´åˆæ?ãƒã‚§ãƒ?‚¯ã‚’行ã†ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?åˆæœŸå€¤:true)ã€?
2104             *
2105             * @og.tag
2106             * æ¤œç´¢çµæžœã‚?DBTableModel ã«ã‚»ãƒ?ƒˆã™ã‚‹æ™‚ã«ã€æ•´åˆæ?キー㮠Consistency キーã‚?
2107             * 作æ?ã—ã¾ã™ã?ã“れをã?Viewã‚¿ã‚°ã§hidden出力ã—ã¦ãŠãã€Entryã‚¿ã‚°ã§ãƒ??ã‚¿æ›¸ãæ›ãˆæ™‚ã«
2108             * æ•´åˆæ?ãƒã‚§ãƒ?‚¯ã‚’行ã„ã¾ã™ã?ã“れã¯ã€IEã®æˆ»ã‚‹ã?ã‚¿ãƒ³ã§æˆ»ã£ãŸå?åˆã«ã€ç”»é¢ã®
2109             * ã‚­ãƒ¼ã¨æ¤œç´¢çµæžœã® DBTableModel ã®å†?®¹ãŒä¸??ã—ãªã??åˆã?エラーãƒã‚§ãƒ?‚¯ã«
2110             * ãªã‚Šã¾ã™ã?
2111             * ã“ã?属æ?ã¯ã€ä½•らã‹ã?ケースã§ã€ã“ã®ã‚¨ãƒ©ãƒ¼ãƒã‚§ãƒ?‚¯ã‚’行ã„ãŸããªã??åˆã«ã€?
2112             * false ã«è¨­å®šã™ã‚‹ã“ã¨ã§ã€æ•´åˆæ?ãƒã‚§ãƒ?‚¯ã‚’行ã„ã¾ã›ã‚“ã€?
2113             * åˆæœŸå€¤ã¯ã€true(æ•´åˆæ?ãƒã‚§ãƒ?‚¯ã‚’行ã†)ã§ã™ã?
2114             *
2115             * @og.rev 3.5.5.7 (2004/05/10) æ–°è¦ç™»éŒ²
2116             *
2117             * @param       ck      Consistency Key ã®ä½¿ç”¨ã™ã‚‹ã‹ã©ã?‹ [true:行ã†/false:行ã‚ãªã„]
2118             */
2119            public void setUseConsistency( final String ck ) {
2120                    useConsistency = nval( getRequestParameter( ck ),useConsistency );
2121            }
2122    
2123            /**
2124             * ã€TAG】テーブルã®ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰ã‚«ãƒ©ãƒ¼ã®å…¥ã‚Œæ›¿ãˆã?サイクルをセãƒ?ƒˆã—ã¾ã?åˆæœŸå€¤ã¯ã€?:ゼブラ)ã€?
2125             *
2126             * @og.tag
2127             * 0(ゼブラãªã?ã€?1(ワーニング)ã€?2以ä¸?エラー)ã€?(ゼブラ)ã€?以ä¸?行数ã¾ã¨ã‚?
2128             * åˆæœŸå€¤ã¯ã€?(ゼブラ)ã§ã™ã?
2129             *
2130             * @og.rev 3.5.6.2 (2004/07/05) æ–°è¦è¿½åŠ?
2131             *
2132             * @param  sycle  0(ゼブラãªã?ã€?1(ワーニング)ã€?2以ä¸?エラー)ã€?(ゼブラ)ã€?以ä¸?行数ã¾ã¨ã‚?
2133             */
2134            public void setBgColorCycle( final String sycle ) {
2135                    bgColorCycle = nval( getRequestParameter( sycle ),bgColorCycle );
2136            }
2137    
2138            /**
2139             * ã€TAG】テーブルã®ãƒãƒƒã‚¯ã‚°ãƒ©ã‚¦ãƒ³ãƒ‰ã‚«ãƒ©ãƒ¼ã®ã‚¯ãƒ©ã‚¹ã«æŒ?®šã™ã‚‹ã‚«ãƒ©ãƒ?を指定ã—ã¾ã™ã?
2140             *
2141             * @og.tag
2142             * 通常ã®ã‚¼ãƒ–ラ模様ã?ã€tr 属æ?ã®ã‚¯ãƒ©ã‚¹æŒ?®šã¨ã—ã¦ã€row_0ã€row_1 ãŒæŒ‡å®šã•れã¾ã™ã?
2143             * ãã?代ã‚りã«ã€ã“ã“ã§æŒ?®šã•れãŸã‚«ãƒ©ãƒ??値ãŒã‚¯ãƒ©ã‚¹å±žæ?ã¨ã—ã¦è¨­å®šã•れã¾ã™ã?
2144             * (æŒ?®šã™ã‚‹ã?ã¯ã‚«ãƒ©ãƒ?ã§ã™ã?行å˜ä½ã«ã‚¯ãƒ©ã‚¹å±žæ?ã®å€¤ã‚’変ãˆã‚‹ã“ã¨ãŒå¯èƒ½ã§ã™ã?)
2145             * é¸æŠžè¡?row_sel)ã¯ã€å„ªå…ˆã—ã¦ä½¿ç”¨ã•れã¾ã™ã?
2146             * 出力ã•れるクラスåã?ã€?row_" + 属æ?値 ã«ãªã‚Šã¾ã™ã?
2147             *
2148             * @og.rev 5.1.8.0 (2010/07/01) æ–°è¦è¿½åŠ?
2149             *
2150             * @param  clsClm ゼブラ模様ã?替ã‚ã‚Šã«æŒ?®šã™ã‚‹ã‚¯ãƒ©ã‚¹ã‚’æ?ç´ã—ãŸã‚«ãƒ©ãƒ?
2151             */
2152            public void setBgColorClsClm( final String clsClm ) {
2153                    bgColorClsClm = nval( getRequestParameter( clsClm ),bgColorClsClm );
2154            }
2155    
2156            /**
2157             * ã€TAG】スクロールãƒã?用ã®DIVè¦ç´?‚’出力ã™ã‚‹ã‹ã©ã?‹[true/false]を指定ã—ã¾ã?
2158             *              (åˆæœŸå€¤:VIEW_USE_SCROLLBAR[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_SCROLLBAR}])ã€?
2159             *
2160             * @og.tag
2161             * スクロールãƒã?対応ã™ã‚‹ç‚ºã€ãƒ†ãƒ¼ãƒ–ルã®å…ˆé?ã«ã€DIVè¦ç´?‚’出力ã—ã¾ã™ã?
2162             * (åˆæœŸå€¤:ユーザー定数ã®VIEW_USE_SCROLLBAR[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_SCROLLBAR}])ã€?
2163             * ※ äº’æ›æ€§ã®é–¢ä¿‚よりã?false ã«ãªã£ã¦ã?¾ã™ã?
2164             *
2165             * @og.rev 3.5.6.3 (2004/07/12) æ–°è¦è¿½åŠ?
2166             *
2167             * @param  useBar  スクロールãƒã?用ã®DIVè¦ç´?‚’出力ã™ã‚‹ã‹ã©ã?‹[true:出力ã™ã‚?false:ã—ãªã„]
2168             * @see         org.opengion.hayabusa.common.SystemData#VIEW_USE_SCROLLBAR
2169             */
2170            public void setUseScrollBar( final String useBar ) {
2171                    useScrollBar = nval( getRequestParameter( useBar ),useScrollBar );
2172            }
2173    
2174            /**
2175             * ã€TAG】viewLink ã‚?viewMarker ã®æƒ??å–り込ã¿ã‚’制御ã™ã‚‹(åˆæœŸå€¤ã¯ã€NEW,RENEW,REVIEW,RESET)ã€?
2176             *
2177             * @og.tag
2178             * viewLink ã‚?viewMarker ã®æƒ??å–り込ã¿ã¯ã€command ãŒã?NEW,RENEW,REVIEW,RESET
2179             * ã®å ´åˆã?ã¿è¡Œã‚れã¦ã?¾ã™ã?
2180             * ã“ã?属æ?ã§ã€?true" を指定ã™ã‚‹ã¨ã€ã‚³ãƒžãƒ³ãƒ‰ã«ç„¡é–¢ä¿‚ã«å–り込ã¿ã¾ã™ã?
2181             * "false" ã®å ´åˆã?ã€form ã«ã‚­ãƒ£ãƒ?‚·ãƒ¥ã—ã¦ã?‚‹ãƒªãƒ³ã‚¯ã€ã?ーカーを削除ã—ã¾ã™ã?
2182             * å–ã‚Šè¾¼ã¿æ™‚ã«ã€viewLink ã‚?viewMarker オブジェクトãŒå­˜åœ¨ã—ãªã??åˆã?ã€?
2183             * 何もã—ã¾ã›ã‚“。ã“れã?ã€viewMarker オブジェクトè?身ãŒã™ã§ã«è¨­å®šæ¸ˆã¿ã®å ´å?VIEWãªã©)
2184             * NEXTã‚„PREVã§ã¯ã€viewMarkerオブジェクトã?ã€ãƒªã‚¯ã‚¨ã‚¹ãƒˆå¤‰æ•°ã«è¨­å®šã•れãªã?‚ºã§ã™ã?
2185             * ã“ã?å ´åˆã?ã€ç™»éŒ²ã—ã¾ã›ã‚“ãŒã?既存ã? viewMarkerオブジェクトをæŒã£ã¦ã?‚‹ã¯ãšãªã®ã§ã€?
2186             * ãªã«ã‚‚設定ã—ãªãã¦ã‚?viewMarker ã¯é©ç”¨ã•れã¾ã™ã?
2187             * åˆæœŸå€¤ã¯ã€NEW,RENEW,REVIEW,RESET ã§ã™ã?
2188             *
2189             * @og.rev 3.6.0.4 (2004/10/14) æ–°è¦è¿½åŠ?
2190             *
2191             * @param  load  viewLink ã‚?viewMarker ã®æƒ??å–り込ã¿ã‚’制御ã™ã‚‹
2192             */
2193            public void setLoadMarker( final String load ) {
2194                    loadMarker = nval( getRequestParameter( load ),loadMarker );
2195            }
2196    
2197            /**
2198             * ã€TAG】SEL_ROW機è?[true:有効/false:無効]を指定ã—ã¾ã?
2199             *              (åˆæœŸå€¤:VIEW_USE_SELECTED_ROW[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_SELECTED_ROW}])ã€?
2200             *
2201             * @og.tag
2202             * SEL_ROW機è?ã¯ã€æˆ»ã‚‹ãƒªãƒ³ã‚¯ã‹ã‚‰æˆ»ã£ãŸã¨ãã‚„ã€ç™»éŒ²ã—ãŸã¨ãã«ã€?¸æŠžã—ã¦ã?Ÿ
2203             * 行番å·ã‚??å…ˆã«ã‚¯ãƒªãƒ?‚¯ã•れãŸè¡Œç•ªå·ã‚’è¿”ã™æ©Ÿè?ã§ã€SEL_ROW リクエストã«è¨­å®šã•れãŸ
2204             * 行ãŒãƒžã?カーã•れã¾ã™ã?ã“ã?機è?ã®æœ‰åй(true)/無効(false)を指定ã—ã¾ã™ã?
2205             * ã“ã?属æ?ã§ã€?true" を指定ã™ã‚‹ã¨ã€æœ‰åйã«ãªã‚Šã¾ã™ã?
2206             * "false" ã®å ´åˆã?ã€ç„¡åйã§ã™ã?
2207             * (åˆæœŸå€¤:ユーザー定数ã®VIEW_USE_SELECTED_ROW[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_SELECTED_ROW}])ã€?
2208             *
2209             * @og.rev 3.7.1.1 (2005/05/23) æ–°è¦è¿½åŠ?
2210             *
2211             * @param  selRow  SEL_ROW機è?ã®æœ‰åй/無効を指å®?[true:有効/false:無効]
2212             * @see         org.opengion.hayabusa.common.SystemData#VIEW_USE_SELECTED_ROW
2213             */
2214            public void setUseSelectedRow( final String selRow ) {
2215                    useSelectedRow = nval( getRequestParameter( selRow ),useSelectedRow );
2216            }
2217    
2218            /**
2219             * ã€TAG】SEL_ROW使用時ã?é¸æŠžè¡Œè‰²å¤‰æ›´[true:有効/false:無効]を指定ã—ã¾ã?
2220             *              (åˆæœŸå€¤:VIEW_USE_SELROW_COLOR[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_SELROW_COLOR}])ã€?
2221             *
2222             * @og.tag
2223             * SEL_ROW機è?ã¯ã€ç¾åœ¨é¸æŠžã•れã¦ã?‚‹è¡Œã¾ã§ã€ã‚¹ã‚¯ãƒ­ãƒ¼ãƒ«ã™ã‚‹æ©Ÿè?ã§ã™ãŒã€ãã®ã¨ãã?
2224             * é¸æŠžè¡Œã«ãƒžã?カーã™ã‚‹ã‹ã©ã?‹ã‚’ã?æŒ?®šã—ã¾ã™ã?
2225             * ã“ã?属æ?ã§ã€?true" を指定ã™ã‚‹ã¨ã€æœ‰åйã«ãªã‚Šã¾ã™ã?
2226             * "false" ã®å ´åˆã?ã€ç„¡åйã§ã™ã?
2227             * (åˆæœŸå€¤:ユーザー定数ã®VIEW_USE_SELROW_COLOR[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_SELROW_COLOR}])ã€?
2228             *
2229             * @og.rev 3.7.1.1 (2005/05/31) æ–°è¦è¿½åŠ?
2230             *
2231             * @param  selRowColor  SEL_ROW使用時ã?é¸æŠžè¡Œè‰²å¤‰æ›´ã®æœ‰åй/無効を指å®?[true:有効/false:無効]
2232             * @see         org.opengion.hayabusa.common.SystemData#VIEW_USE_SELROW_COLOR
2233             */
2234            public void setUseSelRowColor( final String selRowColor ) {
2235                    useSelRowColor = nval( getRequestParameter( selRowColor ),useSelRowColor );
2236            }
2237    
2238            /**
2239             * ã€TAGã€?処ç?™‚間やペã?ジサイズãªã©ã®æƒ??出力[true:有効/false:無効]を指定ã—ã¾ã?åˆæœŸå€¤:true)ã€?
2240             *
2241             * @og.tag
2242             * ViewForm ã§ã€CustomData ãªã©ã® éžHTML表示ビューを使用ã™ã‚‹å ´åˆã?
2243             * æœ?¾Œã«ã€å?ç?™‚é–“ã¨ãƒšã?ジサイズ(NEXT時ã«ä½¿ç”¨)ãªã©ã®æƒ??ã‚’ã?hidden ã§
2244             * 出力ã—ã¦ã?¾ã™ãŒã€ã“れを制御ã™ã‚‹ãƒ•ラグをセãƒ?ƒˆã—ã¾ã™ã?
2245             * true(有効)ã«ã™ã‚‹ã¨ã€ã“れらã®HTMLãŒå?力ã•れã¾ã™ã?false ã«ã™ã‚‹ã¨ã€å?力ã•れã¾ã›ã‚“ã€?
2246             * åˆæœŸå€¤ã¯ã€true(有効) ã§ã™ã?
2247             *
2248             * @og.rev 3.7.1.1 (2005/05/23) æ–°è¦è¿½åŠ?
2249             *
2250             * @param  useTag  æƒ??出力ã?有効/無効を指å®?[true:有効/false:無効]
2251             */
2252            public void setUseAfterHtmlTag( final String useTag ) {
2253                    useAfterHtmlTag = nval( getRequestParameter( useTag ),useAfterHtmlTag );
2254            }
2255    
2256            /**
2257             * ã€TAG】設定å?ã« "_" ãŒå«ã¾ã‚Œã¦ã?‚‹å ´åˆã«ãƒ¬ãƒ³ãƒ?ƒ©ãƒ¼ã‚’使用ã™ã‚‹ã‚«ãƒ©ãƒ?‚’CSVå½¢å¼ã§æŒ?®šã—ã¾ã™ã?
2258             *
2259             * @og.tag
2260             * ã“れã¯ã€å¾“æ¥ã® カラãƒ?®šç¾©ã® WRITABLE エãƒ?‚£ã‚¿ãƒ¼ã¨åŒç­‰ã?åƒãを行ã†ã‚ˆã†ã«
2261             * カラãƒ?±žæ?を指定ã—ã¾ã™ã?
2262             * WRITABLE エãƒ?‚£ã‚¿ãƒ¼ã¯ã€è¨­å®šå?ã«ã‚¢ãƒ³ãƒ??ãƒã? "_" ãŒå«ã¾ã‚Œã¦ã?‚‹å ´åˆã«ã€?
2263             * ãã?値を書込ã¿ç¦æ­¢ã«ã™ã‚‹æ©Ÿè?ã§ã™ã?ã“れã¯ã€ã‚¨ãƒ?‚£ã‚¿ãƒ¼è‡ªèº«ãŒå?を判断ã—ã¦
2264             * 書ãè¾¼ã¿è¨±å¯ã‹ç¦æ­¢ã‹ã‚’判断ã—ã¦ã?¾ã™ã?
2265             * ã“ã?å‹•ãを汎用çš?«ã™ã‚‹ãŸã‚ã€æŒ‡å®šã?カラãƒ?‚’カンマ区åˆ?‚Šæ–?­?CSV)ã§æŒ?®?
2266             * ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã€ãƒ¬ãƒ³ãƒ?ƒ©ãƒ¼ã¨ã‚¨ãƒ?‚£ã‚¿ãƒ¼ã‚’設定å?ã«ã‚ˆã£ã¦å‹•çš„ã«åˆ?‚Šæ›¿ãˆã‚‹
2267             * 機è?を実ç¾ã—ã¾ã™ã?
2268             * ãã?å ´åˆã?表示/ç·¨é›?¨ã‚‚ã«ã€å?é ­ã®ã‚¢ãƒ³ãƒ??ãƒã?ã¯å‰Šé™¤ã•れã¾ã™ã?
2269             * ã¾ãŸã?全カラãƒ?«ã¤ã?¦ã€æœ‰åйã«ã™ã‚‹å ´åˆã?ã€writableControl="*" を設定ã—ã¾ã™ã?
2270             *
2271             * @og.rev 3.8.0.9 (2005/10/17) æ–°è¦è¿½åŠ?
2272             *
2273             * @param  wrtCtrl 書ãè¾¼ã¿åˆ¶å¾¡ã‚’行ã„ãŸã„カラãƒ?‚’CSVå½¢å¼ã§æŒ?®?
2274             */
2275            public void setWritableControl( final String wrtCtrl ) {
2276                    writableControl = nval( getRequestParameter( wrtCtrl ),writableControl );
2277            }
2278    
2279            /**
2280             * ã€TAG】HILIGHT_ROW機è?[true:有効/false:無効]を指定ã—ã¾ã?
2281             *              (åˆæœŸå€¤:VIEW_USE_HILIGHT_ROW[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_HILIGHT_ROW}])ã€?
2282             *
2283             * @og.tag
2284             * HILIGHT_ROW機è?ã¯ã€ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã‚?ƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ã§è¡Œé¸æŠžã—ãŸéš›ã«ã€ã©ã®è¡ŒãŒé¸æŠžã•れãŸã?
2285             * 判るよã?«è¡Œã?ãƒã‚¤ãƒ©ã‚¤ãƒˆè¡¨ç¤ºã‚’è¡Œã†æ©Ÿè?ã§ã™ã?
2286             * ã•らã«ã€è¡Œã?ä»»æ„ã?ç®?‰€ã‚’クリãƒ?‚¯ã—ã¦ã‚‚ã?ãƒã‚§ãƒ?‚¯ãŒå?りã?ãƒã‚¤ãƒ©ã‚¤ãƒˆè¡¨ç¤ºã•れã¾ã™ã?
2287             * ã“ã?属æ?ã§ã€?true" を指定ã™ã‚‹ã¨ã€æœ‰åйã«ãªã‚Šã¾ã™ã?
2288             * "false" ã®å ´åˆã?ã€ç„¡åйã§ã™ã?
2289             * (åˆæœŸå€¤:ユーザー定数ã®VIEW_USE_HILIGHT_ROW[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_HILIGHT_ROW}])ã€?
2290             *
2291             * @og.rev 3.8.6.0 (2006/09/29) HILIGHT_ROW機è?ã®æœ‰åй/無効を指定ã—ã¾ã™ã?
2292             *
2293             * @param  hilightRow  HILIGHT_ROW機è?ã®æœ‰åй/無効を指å®?[true:有効/false:無効]
2294             * @see         org.opengion.hayabusa.common.SystemData#VIEW_USE_HILIGHT_ROW
2295             */
2296            public void setUseHilightRow( final String hilightRow ) {
2297                    useHilightRow = nval( getRequestParameter( hilightRow ),useHilightRow );
2298            }
2299    
2300            /**
2301             * ã€TAG】ogPopup ã§æ¤œç´¢çµæžœã®å€¤ã‚’è¿”ã™ã‚­ãƒ¼ã‚’ã?CSVå½¢å¼ã§æŒ?®šã—ã¾ã™ã?
2302             *
2303             * @og.tag
2304             * popup ã®æ¤œç´¢çµæžœã‚’è¿”ã™ç”»é¢ã§ã€çµæžœã®ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ã«ã‚¤ãƒ™ãƒ³ãƒˆã‚»ãƒ?ƒˆã—ã¾ã™ã?
2305             * ã“ã?å ´åˆã?オープンもã¨ã®window ã«å€¤ã‚’è¿”ã—ã¾ã™ãŒã€ãã®ã‚­ãƒ¼ã‚’CSVå½¢å¼ã§
2306             * æŒ?®šã—ã¾ã™ã?
2307             * ãªãŠã?ã“ã?メソãƒ?ƒ‰ã¯ã€ä¸?¦§è¡¨ç¤º(HTMLTable)関係ã?ビューã®ã¿ã§ã‚µãƒã?トã—ã¦
2308             * ã?¾ã™ãŒã€ãƒã‚§ãƒ?‚¯ãƒ¡ã‚½ãƒ?ƒ‰ã®é–¢ä¿‚ã§ã€ãれ以外ã?ビューã«é©ç”¨ã—ã¦ã‚‚ç´??ã‚?
2309             * ã™ã‚‹ã‚ˆã†ã«ã—ã¾ã™ã?(エラーã«ã—ã¾ã›ã‚“)
2310             *
2311             * @og.rev 3.8.6.1 (2006/10/20) æ–°è¦è¿½åŠ?
2312             *
2313             * @param  rtnKeys ogPopupã§å€¤ã‚’è¿”ã™ã‚«ãƒ©ãƒ?–‡å­—å?(CSVå½¢å¼?
2314             */
2315            public void setPopupReturnKeys( final String rtnKeys ) {
2316                    popupReturnKeys = nval( getRequestParameter( rtnKeys ),popupReturnKeys );
2317            }
2318    
2319            /**
2320             * ã€TAG】tableè¦ç´?«å¯¾ã—㦠class 属æ?を設定ã—ã¾ã?åˆæœŸå€¤:viewTable)ã€?
2321             *
2322             * @og.tag
2323             * Javaã®è¨?ªžä½¿ç”¨ä¸Šã?class ã§ä½œæ?ã§ããªã?Ÿã‚ã?代用ã¨ã—ã¦
2324             * clazz を使用ã—ã¦ã?‚‹ã€?
2325             * html ã§ä½œæ?ã•れる属æ?ã¯ã€?class ã§ä½œæ?ã•れるã?
2326             * åˆæœŸå€¤ã¯ã€?viewTable" ã§ã™ã?
2327             *
2328             * @og.rev 4.0.0.0 (2007/04/16) æ–°è¦è¿½åŠ?
2329             *
2330             * @param       cls     class属æ?ã‚’è¡¨ã™æ–‡å­—å?
2331             */
2332            public void setClazz( final String cls ) {
2333                    clazz = nval( getRequestParameter( cls ),clazz );
2334            }
2335    
2336            /**
2337             * ã€TAG】ビューã®é«˜ã•を指定ã—ã¾ã™ã?
2338             *
2339             * @og.tag
2340             * id=posDivã®DIVè¦ç´?«é«˜ã•を指定ã—ã¾ã™ã?
2341             * javascriptã‹ã‚‰ã“ã?高ã•を見ã¦ãƒ“ューã®é«˜ã•を決定ã—ã¾ã™ã?
2342             * å˜ä½ã‚‚æŒ?®šã—ã¦ä¸‹ã•ã??
2343             *
2344             * @og.rev 4.2.0.0 (2008/03/18) æ–°è¦è¿½åŠ?
2345             *
2346             * @param       high    class属æ?ã‚’è¡¨ã™æ–‡å­—å?
2347             */
2348            public void setHeight( final String high ) {
2349                    height = nval( getRequestParameter( high ), height );
2350            }
2351    
2352            /**
2353             * ã€TAG】ビューã®å¹?‚’æŒ?®šã—ã¾ã™ã?
2354             *
2355             * @og.tag
2356             * id=posDivã®DIVè¦ç´?«å¹?‚’æŒ?®šã—ã¾ã™ã?
2357             * javascriptã‹ã‚‰ã“ã?値を見ã¦ãƒ“ューã®å¹?‚’決定ã—ã¾ã™ã?
2358             * å˜ä½ã‚‚æŒ?®šã—ã¦ä¸‹ã•ã??(%æŒ?®šæŽ¨å¥¨)
2359             *
2360             * @og.rev 4.2.0.0 (2008/03/18) æ–°è¦è¿½åŠ?
2361             *
2362             * @param       wide    æŒ?®šã™ã‚‹ãƒ“ューã®å¹?
2363             */
2364            public void setWidth( final String wide ) {
2365                    width = nval( getRequestParameter( wide ), width );
2366            }
2367    
2368            /**
2369             * ã€TAG】ファイルãƒ?‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰æ™‚ã®æŠœå?カラãƒ?(CSVå½¢å¼?を指定ã—ã¾ã™ã?
2370             *
2371             * @og.tag
2372             * fileUDã®ãƒ•ァイル抜å?時ã?カラãƒ?‚’カンマ形å¼ã§æŒ?®šã—ã¾ã™ã?
2373             *
2374             * @og.rev 4.3.0.0 (2008/07/04) æ–°è¦è¿½åŠ?
2375             *
2376             * @param       dwnClms 抜å?カラãƒ?(CSVå½¢å¼?
2377             */
2378            public void setFileDwnClms( final String dwnClms ) {
2379                    fileDwnClms = nval( getRequestParameter( dwnClms ), fileDwnClms );
2380            }
2381    
2382            /**
2383             * ã€TAG】編é›?¡Œã?ã¿ã‚’表示ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã™ã?
2384             *
2385             * @og.tag
2386             * ç·¨é›?¡Œã?ã¿ã‚’表示ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã™ã?trueãŒã‚»ãƒ?ƒˆã•れãŸå?åˆã?ç·¨é›?¡?改廃CãŒã¤ã?¦ã?‚‹è¡?
2387             * ã®ã¿ãŒå?力ã•れã¾ã™ã?
2388             *
2389             * @og.rev 4.3.1.0 (2008/09/08)
2390             *
2391             * @param       sne     ç·¨é›?¡Œã?ã¿ã‚’å?力ã™ã‚‹ã‹
2392             */
2393            public void setSkipNoEdit( final String sne ) {
2394                    skipNoEdit = nval( getRequestParameter( sne ), skipNoEdit );
2395            }
2396    
2397            /**
2398             * ã€TAGã€?通常ã¯ä½¿ã?¾ã›ã‚“)ç”»é¢é·ç§»ã‚’行ã‚ãªã?½¢å¼ã?登録方法を使用ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã™ã?
2399             *
2400             * @og.tag
2401             * ç”»é¢é·ç§»ãªã—ã?登録を行ã†ã‹ã©ã?‹ã‚’指定ã—ã¾ã™ã?
2402             * trueãŒæŒ‡å®šã•れãŸå ´åˆã?HTML出力時ã«ã€å„行ã«å¯¾ã—ã¦ã€è¡Œç•ªå·ã¨æ”¹å»ƒCãŒå±žæ?æƒ??ã¨ã—ã¦ä»˜åŠ ã•れã¾ã™ã?
2403             * ã“ã“ã§å‡ºåŠ›ã•ã‚ŒãŸæƒ??ã‚’å?ã«ã€JavaScriptã®å…¥ã‚Œæ›¿ãˆå?ç?‚’行ã„ã¾ã™ã?
2404             *
2405             * ã“ã?値ã¯ã€og:headã‚¿ã‚°ã§è¨­å®šå?ã€ã¾ãŸã?å‰ç”»é¢ã‹ã‚‰ã®å€¤ã‚’継承ã™ã‚‹ãŸã‚ã€??常ã€ã“ã®å±žæ?ã§ã¯ã‚»ãƒ?ƒˆã—ã¾ã›ã‚“ã€?
2406             *
2407             * @og.rev 4.3.3.0 (2008/10/01) æ–°è¦è¿½åŠ?
2408             * @og.rev 5.1.3.0 (2010/02/01) noTransitionã€ajaxSubmitã®ã‚³ãƒ³ãƒˆãƒ­ãƒ¼ãƒ«ã¯ã€requestã§è¡Œã†ã€?
2409             *
2410             * @param   noTrnstn ç”»é¢é·ç§»ã‚’行ã‚ãªã?½¢å¼ã?登録方法を使用ã™ã‚‹ã?
2411             */
2412            public void setNoTransition( final String noTrnstn ) {
2413    //              noTransition = nval( getRequestParameter( noTrnstn ), noTransition );
2414                    setNoTransitionRequest( nval( getRequestParameter( noTrnstn ), isNoTransitionRequest() ) );
2415            }
2416    
2417            /**
2418             * ã€TAGã€‘é¸æŠžè¡Œãƒã‚¤ãƒ©ã‚¤ãƒˆã?制御をãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®ã¿ã§æœ‰åйã«ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã?
2419             *              (åˆæœŸå€¤:VIEW_USE_HILIGHT_CHECK_ONLY[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_HILIGHT_CHECK_ONLY}])ã€?
2420             *
2421             * @og.tag
2422             * é¸æŠžè¡Œãƒã‚¤ãƒ©ã‚¤ãƒˆã?制御をãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®ã¿ã§æœ‰åйã«ã™ã‚‹ã‹ã‚’æŒ?®šã—ã¾ã™ã?
2423             * trueã®å ´åˆã?ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®ã¿ã§æœ‰åйã«ãªã‚Šã¾ã™ã?
2424             * falseã®å ´åˆã?行å?体ã?å?¦ç´?§æœ‰åйã«ãªã‚Šã¾ã™ã?
2425             * trueã«ã—ãŸå ´åˆã?ãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ãŒå­˜åœ¨ã—ãªã?¡Œã«å¯¾ã—ã¦ã¯ã€ãƒã‚¤ãƒ©ã‚¤ãƒˆã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“ã€?
2426             * (åˆæœŸå€¤:ユーザー定数ã®VIEW_USE_HILIGHT_CHECK_ONLY[={@og.value org.opengion.hayabusa.common.SystemData#VIEW_USE_HILIGHT_CHECK_ONLY}])ã€?
2427             *
2428             * @og.rev 4.3.7.0 (2009/06/01) æ–°è¦è¿½åŠ?
2429             *
2430             * @param   hiCkOnly é¸æŠžè¡Œãƒã‚¤ãƒ©ã‚¤ãƒˆã?制御をãƒã‚§ãƒ?‚¯ãƒœãƒƒã‚¯ã‚¹ã®ã¿ã§æœ‰åйã«ã™ã‚‹ã?
2431             * @see         org.opengion.hayabusa.common.SystemData#VIEW_USE_HILIGHT_CHECK_ONLY
2432             */
2433            public void setUseHilightCheckOnly( final String hiCkOnly ) {
2434                    useHilightCheckOnly = nval( getRequestParameter( hiCkOnly ), useHilightCheckOnly );
2435            }
2436    
2437            /**
2438             * ã€TAG】ä¸?‹¬å…¥åŠ›ã‚«ãƒ©ãƒ??アシスト機è?を利用ã™ã‚‹ã‚«ãƒ©ãƒ?ã‚’ã?カンマ区åˆ?‚Šã§ä¸Žãˆã¾ã™ã?
2439             *
2440             * @og.tag
2441             * ã“れã¯ã€ã‚«ãƒ©ãƒ??書ãè¾¼ã¿æ™‚ã«ã€ä¸?‹¬å…¥åŠ›å¯èƒ½ãªã‚«ãƒ©ãƒ?‚’ヘッãƒ??ã«è¡¨ç¤ºã—ã?
2442             * ä¸?‹¬ç™»éŒ²ã§ãる機è?ã‚’æä¾›ã—ã¾ã™ã?
2443             * ã“ã?機è?ã¯ã€jsp/common/bulkSet.js JavaScript ã¨ã¨ã‚‚ã«æä¾›ã•れã¾ã™ã?
2444             * IE ã«ã¤ã?¦ã¯ã€ã‚¯ãƒªãƒ??ボã?ドも利用ã§ãã¾ã™ã?Ctrl-C 㨠Ctrl-V ã§ãれãžã‚Œ
2445             * ä¸??ã®ã‚«ãƒ©ãƒ??値ã®å–り出ã—ã¨æ›¸ãè¾¼ã¿ãŒå¯èƒ½ã«ãªã‚Šã¾ã™ã?
2446             * (プルãƒ?‚¦ãƒ³ã®å ´åˆã?オプションã«ä¸Šè¨˜ãŒè¿½åŠ?•れã¾ã?
2447             * "*" を指定ã™ã‚‹ã¨ã€ã™ã¹ã¦ã®ã‚«ãƒ©ãƒ?‚’(columnBulkSet)æŒ?®šã—ãŸã“ã¨ã«ãªã‚Šã¾ã™ã?
2448             *
2449             * シスãƒ?ƒ ãƒªã‚½ãƒ¼ã‚¹ã§ã€VIEW_USE_DEFAULT_BULKSET ã‚?true ã«è¨­å®šã™ã‚‹ã¨ã€å?期å?ã?"*"
2450             * ã«ãªã‚Šã¾ã™ã?ã§ã€å?別㮠view ã«è¨­å®šã—ãªãã¦ã‚‚ã“ã®æ©Ÿè?ãŒä½¿ç”¨ã§ãるよã†ã«ãªã‚Šã¾ã™ã?
2451             *
2452             * ã“ã?機è?ã¯ä¸?‹¬å…¥åŠ›ã?手間削減ãŒç›®çš?ªã®ã§ã€selectedType ã?radio ã®å ´åˆã?ã€?
2453             * ã“ã?機è?ã¯ç„¡åйã«ãªã‚Šã¾ã™ã?
2454             *
2455             * @og.rev 5.2.1.0 (2010/10/01) æ–°è¦ä½œæ?
2456             * @og.rev 5.4.4.0 (2012/02/01) コメント追�
2457             *
2458             * @param       columnName      例�OYA,KO,HJO,SU,DYSET,DYUPD"
2459             */
2460            public void setColumnBulkSet( final String columnName ) {
2461                    columnBulkSet = nval( getRequestParameter(columnName),columnBulkSet );
2462            }
2463    
2464            /**
2465             * ã‚¿ã‚°ã®åç§°ã‚’ã?è¿”ã—ã¾ã™ã?
2466             * 自åˆ??身ã®ã‚¯ãƒ©ã‚¹åよりã?自動的ã«å–り出ã›ãªã?Ÿã‚ã?ã“ã?メソãƒ?ƒ‰ã‚’オーãƒã?ライドã—ã¾ã™ã?
2467             *
2468             * @og.rev 4.0.0.0 (2005/01/31) æ–°è¦è¿½åŠ?
2469             *
2470             * @return  ã‚¿ã‚°ã®åç§°
2471             */
2472            @Override
2473            protected String getTagName() {
2474                    return "view" ;
2475            }
2476    
2477            /**
2478             * seqClmTableを使用ã™ã‚‹ã‹ã©ã?‹ã‚’ãƒã‚§ãƒ?‚¯ã—ã¾ã?
2479             *
2480             * ã“ã“ã§ã¯tableId,scope,é ?›®åãªã©ã§å޳å¯?«ãƒã‚§ãƒ?‚¯ã‚’行ã„ã€ã“れらãŒå?ã®æƒ??ã¨åˆè?ã—ãªã??åˆã?ã€?
2481             * ViewFormTypeã®ç½®ãæ›ãˆã‚’行ã‚ãªã?‚ˆã?«ã—ã¾ã™ã?
2482             *
2483             * @og.rev 5.1.6.0 (2010/05/01) æ–°è¦è¿½åŠ?
2484             * @og.rev 5.3.6.0 (2011/06/01) Edit機è?見直ã—ã«ã‚ˆã‚Šãƒ¡ã‚½ãƒ?ƒ‰å変更
2485             *
2486             * @param       config  DBEditConfigオブジェク�
2487             */
2488    //      private void checkUseSeqClmTable() {
2489            private void makeEditTable( final DBEditConfig config ) {
2490                    String userViewClms = config.getViewClms();
2491                    DBLastSql lastSql = (DBLastSql)getSessionAttribute( HybsSystem.DB_LAST_SQL_KEY );
2492                    if( lastSql != null && lastSql.isGuiMatch( getGUIInfoAttri( "KEY" ) ) && lastSql.isTableMatch( tableId, getScope() ) ) {
2493                            // 1Queryã«å¯¾ã—ã¦è¤?•°ViewãŒã‚ã‚‹å?å?å·¦å³åˆ?‰²ãªã©)ã€Viewã®å??目定義ã?|'ã§åˆ?‰²ã•れã¦ã‚»ãƒ?ƒˆã•れã¦ã?¾ã™ã?
2494                            int vwCnt = StringUtil.nval( (String)getRequestAttribute( "h_vwCnt" ), 0 );
2495                            String[] clmGroup = StringUtil.csv2Array( userViewClms, '|' );
2496                            if( clmGroup.length > vwCnt ) {
2497                                    // AAA,!BBB,CCC,DDD,!EEE ã‹ã‚‰!ãŒã¤ã?Ÿã‚«ãƒ©ãƒ??ã¿ã‚’å–り除ã?!ãŒã‚ã‚‹é?ç›®ã¯éžè¡¨ç¤º)
2498                                    String thisViewClms = ( "," + clmGroup[vwCnt] ).replaceAll( ",![^,]*", "" );
2499                                    // 行カウントカラãƒ?‚’表示ã™ã‚‹ã€?
2500                                    if( table.getColumnNo( "rowCount", false ) >= 0 ) {
2501                                            thisViewClms += ",rowCount";
2502                                    }
2503                                    if( thisViewClms.length() > 0 ) {
2504                                            thisViewClms = thisViewClms.substring( 1 );
2505                                    }
2506                                    String[] clm = StringUtil.csv2Array( thisViewClms );
2507                                    boolean isUse = true;
2508                                    for( int i=0; i<clm.length; i++ ) {
2509                                            if( table.getColumnNo( clm[i], false ) < 0 ) {
2510                                                    isUse = false;
2511                                                    break;
2512                                            }
2513                                    }
2514                                    if( isUse ) {
2515                                            viewFormType    = "HTMLSeqClmTable";
2516                                            columnDisplay   = thisViewClms;
2517                                            clmSeqDisplay   = thisViewClms;
2518                                            noDisplay               = null;
2519                                            setRequestAttribute( "h_vwCnt", String.valueOf( vwCnt+1 ) );
2520                                    }
2521                            }
2522                    }
2523            }
2524    
2525            /**
2526             * Viewã§è¡¨ç¤ºã—ãŸé ?›®ã‚’DBLastSqlã«ã‚»ãƒ?ƒˆã—ã¾ã™ã?
2527             *
2528             * ã“ã“ã§ã¯tableId,scopeãªã©ã§å޳å¯?«ãƒã‚§ãƒ?‚¯ã‚’行ã„ã€ã“れらãŒå?ã®æƒ??ã¨åˆè?ã—ãªã??åˆã?ã€?
2529             * DBLastSqlã¸ã®ã‚»ãƒ?ƒˆã‚’行ã‚ãªã?‚ˆã?«ã—ã¾ã™ã?
2530             *
2531             * @og.rev 5.1.6.0 (2010/05/01) æ–°è¦è¿½åŠ?
2532             * @og.rev 5.3.9.0 (2011/09/01) ヘッãƒ??ソートを行ã£ãŸå?åˆã?ç·¨é›?¯¾è±¡ã‚«ãƒ©ãƒ?Œæ­£ã—ã表示ã•れãªã?ƒã‚°ã‚’修正
2533             */
2534            private void setViewClms() {
2535                    // 4.3.0.0 (2008/07/04) fileUD 対応ã?抜ã出ã™ã‚«ãƒ©ãƒ?‚’æŒ?®šã—ã¾ã™ã?
2536    //              if( fileDwnClms != null ) {
2537                    DBLastSql lastSql = (DBLastSql)getSessionAttribute( HybsSystem.DB_LAST_SQL_KEY );
2538                    if( lastSql != null ) {
2539                            String guikey = getGUIInfoAttri( "KEY" );
2540                            if( lastSql.isGuiMatch( guikey ) && lastSql.isTableMatch( tableId, getScope() ) && lastSql.isViewEditable() ) {
2541                                    // 5.1.6.0 (2010/05/01) fileDwnClmsãŒæŒ‡å®šã•れãªã??åˆã?ã€Viewã§è¡¨ç¤ºã•れãŸã‚«ãƒ©ãƒ?‚’ã‚»ãƒ?ƒˆ
2542                                    if( form.isEditable() ) {
2543    
2544                                            // 5.3.9.0 (2011/09/01) リクエストã«å¯¾ã—ã¦åˆã‚ã¦å‡¦ç?™ã‚‹å?åˆã«å¯¾è±¡ã‚«ãƒ©ãƒ?‚’ä¸?—¦ã‚¯ãƒªã‚¢ã™ã‚‹ã€?
2545                                            boolean vwBln = StringUtil.nval( (String)getRequestAttribute( "h_vwBln" ), false );
2546                                            if( !vwBln ) {
2547                                                    lastSql.setViewClmNames( null );
2548                                                    lastSql.setClmNames( null );
2549                                                    setRequestAttribute( "h_vwBln", "true" );
2550                                            }
2551    
2552                                            String clmNames = lastSql.getViewClmNames();
2553                                            if( clmNames == null || clmNames.length() == 0 ) {
2554                                                    clmNames = StringUtil.nval( fileDwnClms, form.getViewClms() );
2555                                            }
2556                                            else {
2557                                                    // 1Queryã«å¯¾ã—ã¦è¤?•°ViewãŒã‚ã‚‹å?å?å·¦å³åˆ?‰²ãªã©)ã€Viewã®å??目定義ã?|'ã§åˆ?‰²ã•れã¦ã‚»ãƒ?ƒˆã—ã¾ã™ã?
2558                                                    clmNames += "|" + StringUtil.nval( fileDwnClms, form.getViewClms() );
2559                                            }
2560                                            lastSql.setViewClmNames( clmNames );
2561                                            lastSql.setClmNames( clmNames.replace( "|", "," ) );
2562                                            setSessionAttribute( HybsSystem.DB_LAST_SQL_KEY,lastSql );
2563                                    }
2564                                    else {
2565                                            lastSql.setViewNotEditable();
2566                                    }
2567                            }
2568                    }
2569    //              }
2570            }
2571    
2572            /**
2573             * シリアライズ用ã®ã‚«ã‚¹ã‚¿ãƒ?‚·ãƒªã‚¢ãƒ©ã‚¤ã‚ºæ›¸ãè¾¼ã¿ãƒ¡ã‚½ãƒ?ƒ‰
2574             *
2575             * @og.rev 4.0.0.0 (2006/09/31) æ–°è¦è¿½åŠ?
2576             * @serialData
2577             *
2578             * @param       strm    ObjectOutputStreamオブジェク�
2579             */
2580            private void writeObject( final ObjectOutputStream strm ) throws IOException {
2581                    strm.defaultWriteObject();
2582            }
2583    
2584            /**
2585             * シリアライズ用ã®ã‚«ã‚¹ã‚¿ãƒ?‚·ãƒªã‚¢ãƒ©ã‚¤ã‚ºèª­ã¿è¾¼ã¿ãƒ¡ã‚½ãƒ?ƒ‰
2586             *
2587             * ã“ã“ã§ã¯ã€transient 宣è¨?•れãŸå†?ƒ¨å¤‰æ•°ã®å†??åˆæœŸåŒ–ãŒå¿?¦ãªãƒ•ィールドã?ã¿è¨­å®šã—ã¾ã™ã?
2588             *
2589             * @og.rev 4.0.0.0 (2006/09/31) æ–°è¦è¿½åŠ?
2590             * @serialData
2591             *
2592             * @param       strm    ObjectInputStreamオブジェク�
2593             * @see #release2()
2594             */
2595            private void readObject( final ObjectInputStream strm ) throws IOException , ClassNotFoundException {
2596                    strm.defaultReadObject();
2597            }
2598    
2599            /**
2600             * ã“ã?オブジェクトã?æ–?­—å?表ç¾ã‚’è¿”ã—ã¾ã™ã?
2601             * 基本çš?«ãƒ?ƒãƒ?‚°ç›®çš?«ä½¿ç”¨ã—ã¾ã™ã?
2602             *
2603             * @return ã“ã?ã‚¯ãƒ©ã‚¹ã®æ–?­—å?表ç¾
2604             */
2605            @Override
2606            public String toString() {
2607                    return org.opengion.fukurou.util.ToString.title( this.getClass().getName() )
2608                                    .println( "VERSION"                     ,VERSION                        )
2609                                    .println( "tableId"                     ,tableId                        )
2610                                    .println( "viewFormId"          ,viewFormId                     )
2611                                    .println( "viewFormType"        ,viewFormType           )
2612                                    .println( "viewLinkId"          ,viewLinkId                     )
2613                                    .println( "viewMarkerId"        ,viewMarkerId           )
2614                                    .println( "command"                     ,command                        )
2615                                    .println( "startNo"                     ,startNo                        )
2616                                    .println( "tempStartNo"         ,tempStartNo            )
2617                                    .println( "pageSize"            ,pageSize                       )
2618                                    .println( "pagePlus"            ,pagePlus                       )
2619                                    .println( "columnWritable"      ,columnWritable         )
2620                                    .println( "noWritable"          ,noWritable                     )
2621                                    .println( "columnDisplay"       ,columnDisplay          )
2622                                    .println( "noDisplay"           ,noDisplay                      )
2623                                    .println( "columnGroup"         ,columnGroup            )
2624                                    .println( "noMessage"           ,noMessage                      )
2625                                    .println( "writable"            ,writable                       )
2626                                    .println( "checked"                     ,checked                        )
2627                                    .println( "skip"                        ,skip                           )
2628                                    .println( "rowspan"                     ,rowspan                        )
2629                                    .println( "selectedType"        ,selectedType           )
2630                                    .println( "numberType"          ,numberType                     )
2631                                    .println( "optTypeAttri"        ,optTypeAttri           )
2632    //                              .println( "changeLabelKeys"     ,changeLabelKeys        )
2633    //                              .println( "changeLabelVals"     ,changeLabelVals        )
2634                                    .println( "backLinkCount"       ,backLinkCount          )
2635                                    .println( "headerSkipCount"     ,headerSkipCount        )
2636                                    .println( "bodyString"          ,bodyString                     )
2637                                    .println( "useCheckControl"     ,useCheckControl        )
2638                                    .println( "useTableSorter"      ,useTableSorter         )
2639                                    .println( "useParam"            ,useParam                       )
2640                                    .println( "useConsistency"      ,useConsistency         )
2641                                    .println( "bgColorCycle"        ,bgColorCycle           )
2642                                    .println( "useScrollBar"        ,useScrollBar           )
2643                                    .println( "sortKeys"            ,sortKeys                       )
2644                                    .println( "loadMarker"          ,loadMarker                     )
2645                                    .println( "useSelectedRow"      ,useSelectedRow         )
2646                                    .println( "useSelRowColor"      ,useSelRowColor         )
2647                                    .println( "useAfterHtmlTag"     ,useAfterHtmlTag        )
2648                                    .println( "writableControl"     ,writableControl        )
2649                                    .println( "hight"                       ,height                         )
2650                                    .println( "width"                       ,width                          )
2651                                    .println( "skipNoEdit"          ,skipNoEdit                     )
2652                                    .println( "noTransition"        ,noTransition           )
2653                                    .println( "useHilightCheckOnly",useHilightCheckOnly)
2654                                    .println( "COMMAND_LIST"        ,COMMAND_LIST           )
2655                                    .println( "Other..."    ,getAttributes().getAttribute() )
2656                                    .fixForm().toString() ;
2657            }
2658    }