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