(empty log message)
@@ -21,7 +21,7 @@ | ||
21 | 21 | public static String JSP_SYSTEM_ERROR_PAGE = Config.getString(ConfigName.COMMON_JSP_PATH) + Config.getString(ConfigName.COMMON_JSP_SYSTEMERROR); |
22 | 22 | |
23 | 23 | /** JSPパス(メッセージページ) */ |
24 | - public static String JSP_MESSAGE_PAGE = Config.getString(ConfigName.COMMON_JSP_PATH) + Config.getString(StrutsConfigNames.STRUTS_SEND_STATUS_EXCEPTION); | |
24 | + public static String JSP_MESSAGE_PAGE = Config.getString(ConfigName.COMMON_JSP_PATH) + Config.getString(StrutsConfigNames.STRUTS_STATUS_EXCEPTION); | |
25 | 25 | |
26 | 26 | /** セッションキー(コンテナ保持キー) */ |
27 | 27 | public static final String SESSION_KEY_CONTAINER = SessionContainer.class.getName(); |
@@ -65,7 +65,7 @@ | ||
65 | 65 | * サーブレットパスが未指定の場合はディフォルトアクションパスとする |
66 | 66 | */ |
67 | 67 | if (!StrutsUtil.isExistActionClass(actionPath)) { |
68 | - actionPath = Config.getString(StrutsConfigNames.STRUTS_ACTION_INDEX); | |
68 | + actionPath = Config.getString(StrutsConfigNames.STRUTS_URL_INDEX); | |
69 | 69 | } |
70 | 70 | |
71 | 71 | /* |
@@ -9,11 +9,11 @@ | ||
9 | 9 | import java.util.Map; |
10 | 10 | |
11 | 11 | import org.apache.struts.action.ActionForward; |
12 | -import org.hibernate.annotations.Table; | |
13 | 12 | import org.phosphoresce.commons.util.ReflectionUtil; |
14 | 13 | import org.phosphoresce.commons.util.StringUtil; |
15 | 14 | import org.phosphoresce.webcore.ConfigName; |
16 | 15 | import org.phosphoresce.webcore.config.Config; |
16 | +import org.phosphoresce.webcore.struts.StrutsConfigNames; | |
17 | 17 | import org.phosphoresce.webcore.struts.StrutsConstants; |
18 | 18 | import org.phosphoresce.webcore.struts.exception.StrutsProcessInternalException; |
19 | 19 | import org.phosphoresce.webcore.struts.util.StrutsUtil; |
@@ -438,8 +438,8 @@ | ||
438 | 438 | { |
439 | 439 | String functionId = StrutsUtil.getRequestFunction(actionPath); |
440 | 440 | ActionForward actionForward = new ActionForward(); |
441 | - actionForward.setRedirect(isRedirect()); | |
442 | - actionForward.setPath(Config.getString(ConfigName.COMMON_JSP_PATH) + "/" + functionId + "/" + path); | |
441 | + actionForward.setRedirect(redirect); | |
442 | + actionForward.setPath(Config.getString(ConfigName.COMMON_JSP_PATH) + "/" + Config.getString(StrutsConfigNames.STRUTS_JSP_FUNCTION) + "/" + functionId + "/" + path); | |
443 | 443 | return actionForward; |
444 | 444 | } |
445 | 445 | } |
@@ -80,6 +80,9 @@ | ||
80 | 80 | // メッセージコンテナオブジェクト生成 |
81 | 81 | processCreateMessageContainer(actionContext); |
82 | 82 | |
83 | + // トランザクションコンテナオブジェクト生成 | |
84 | + processCreateTransactionContainer(actionContext); | |
85 | + | |
83 | 86 | // セッションコンテナタイムアウトチェック |
84 | 87 | processCheckSessionContainerTimeout(actionContext); |
85 | 88 |
@@ -86,8 +89,8 @@ | ||
86 | 89 | // セッションコンテナオブジェクト生成 |
87 | 90 | processCreateSessionContainer(actionContext); |
88 | 91 | |
89 | - // トランザクションコンテナオブジェクト生成 | |
90 | - processCreateTransactionContainer(actionContext); | |
92 | + // トランザクションマネージャ生成 | |
93 | + processCreateTransactionManager(actionContext); | |
91 | 94 | |
92 | 95 | // サーブレットコンテナオブジェクト生成 |
93 | 96 | processCreateServletContainer(actionContext); |
@@ -481,6 +484,30 @@ | ||
481 | 484 | } |
482 | 485 | |
483 | 486 | /** |
487 | + * トランザクションコンテナオブジェクトを生成します。<br> | |
488 | + * @param actionContext アクションコンテキストオブジェクト | |
489 | + */ | |
490 | + protected void processCreateTransactionContainer(ActionContext<L, F> actionContext) { | |
491 | + // 妥当性チェック | |
492 | + validateActionContext(actionContext // | |
493 | + , false // モジュール環境オブジェクト必須フラグ | |
494 | + , false // サーブレットコンテナオブジェクト必須フラグ | |
495 | + , false // セッションコンテナオブジェクト必須フラグ | |
496 | + , false // ウィンドウセッションコンテナオブジェクト必須フラグ | |
497 | + , false // メッセージコンテナオブジェクト必須フラグ | |
498 | + , false // トランザクションコンテナオブジェクト必須フラグ | |
499 | + , false // キャスト済みフォームオブジェクト必須フラグ | |
500 | + , false // フォワードオブジェクト必須フラグ | |
501 | + ); | |
502 | + | |
503 | + // トランザクションコンテナ生成 | |
504 | + TransactionContainer transactionContainer = new TransactionContainer(); | |
505 | + | |
506 | + // アクションコンテキスト設定 | |
507 | + actionContext.setTransactionContainer(transactionContainer); | |
508 | + } | |
509 | + | |
510 | + /** | |
484 | 511 | * セッションコンテナタイムアウトチェック処理を行います。<br> |
485 | 512 | * @param actionContext アクションコンテキストオブジェクト |
486 | 513 | */ |
@@ -565,10 +592,10 @@ | ||
565 | 592 | } |
566 | 593 | |
567 | 594 | /** |
568 | - * トランザクションコンテナオブジェクトを生成します。<br> | |
595 | + * トランザクションマネージャオブジェクトを生成します。<br> | |
569 | 596 | * @param actionContext アクションコンテキストオブジェクト |
570 | 597 | */ |
571 | - protected void processCreateTransactionContainer(ActionContext<L, F> actionContext) { | |
598 | + protected void processCreateTransactionManager(ActionContext<L, F> actionContext) { | |
572 | 599 | // 妥当性チェック |
573 | 600 | validateActionContext(actionContext // |
574 | 601 | , false // モジュール環境オブジェクト必須フラグ |
@@ -576,14 +603,17 @@ | ||
576 | 603 | , false // セッションコンテナオブジェクト必須フラグ |
577 | 604 | , false // ウィンドウセッションコンテナオブジェクト必須フラグ |
578 | 605 | , false // メッセージコンテナオブジェクト必須フラグ |
579 | - , false // トランザクションコンテナオブジェクト必須フラグ | |
606 | + , true // トランザクションコンテナオブジェクト必須フラグ | |
580 | 607 | , false // キャスト済みフォームオブジェクト必須フラグ |
581 | 608 | , false // フォワードオブジェクト必須フラグ |
582 | 609 | ); |
583 | - // TODO | |
584 | - TransactionContainer transactionContainer = new TransactionContainer(); | |
610 | + | |
611 | + // トランザクションコンテナ取得 | |
612 | + TransactionContainer transactionContainer = actionContext.getTransactionContainer(); | |
613 | + | |
614 | + // トランザクションオブジェクト設定 | |
615 | + // TODO メソッドアノテーションで動的生成する | |
585 | 616 | transactionContainer.add("test", new JDBCTransactionManager()); |
586 | - actionContext.setTransactionContainer(transactionContainer); | |
587 | 617 | } |
588 | 618 | |
589 | 619 | /** |
@@ -291,7 +291,7 @@ | ||
291 | 291 | String function = getRequestFunction(actionPath); |
292 | 292 | String className = EMPTY_STRING; |
293 | 293 | if (!StringUtil.isEmpty(function)) { |
294 | - className = function + Config.getString(StrutsConfigNames.STRUTS_ACTION_CLASS_SUFFIX_ACTION); | |
294 | + className = function + Config.getString(StrutsConfigNames.STRUTS_CLASS_SUFFIX_ACTION); | |
295 | 295 | } |
296 | 296 | return className; |
297 | 297 | } |
@@ -305,7 +305,7 @@ | ||
305 | 305 | String function = getRequestFunction(actionPath); |
306 | 306 | String className = EMPTY_STRING; |
307 | 307 | if (!StringUtil.isEmpty(function)) { |
308 | - className = Config.getString(StrutsConfigNames.STRUTS_ACTION_PACKAGE) + "." + function + "." + function + Config.getString(StrutsConfigNames.STRUTS_ACTION_CLASS_SUFFIX_ACTION); | |
308 | + className = Config.getString(StrutsConfigNames.STRUTS_ACTION_PACKAGE) + "." + function + "." + function + Config.getString(StrutsConfigNames.STRUTS_CLASS_SUFFIX_ACTION); | |
309 | 309 | } |
310 | 310 | return className; |
311 | 311 | } |
@@ -366,7 +366,7 @@ | ||
366 | 366 | String function = getRequestFunction(actionPath); |
367 | 367 | String className = EMPTY_STRING; |
368 | 368 | if (!StringUtil.isEmpty(function)) { |
369 | - className = function + Config.getString(StrutsConfigNames.STRUTS_ACTION_CLASS_SUFFIX_FORM); | |
369 | + className = function + Config.getString(StrutsConfigNames.STRUTS_CLASS_SUFFIX_FORM); | |
370 | 370 | } |
371 | 371 | return className; |
372 | 372 | } |
@@ -380,7 +380,7 @@ | ||
380 | 380 | String function = getRequestFunction(actionPath); |
381 | 381 | String className = EMPTY_STRING; |
382 | 382 | if (!StringUtil.isEmpty(function)) { |
383 | - className = Config.getString(StrutsConfigNames.STRUTS_ACTION_PACKAGE) + "." + function + "." + function + Config.getString(StrutsConfigNames.STRUTS_ACTION_CLASS_SUFFIX_FORM); | |
383 | + className = Config.getString(StrutsConfigNames.STRUTS_ACTION_PACKAGE) + "." + function + "." + function + Config.getString(StrutsConfigNames.STRUTS_CLASS_SUFFIX_FORM); | |
384 | 384 | } |
385 | 385 | return className; |
386 | 386 | } |
@@ -17,18 +17,33 @@ | ||
17 | 17 | /** アクション基底パッケージ */ |
18 | 18 | public static final StrutsConfigNames STRUTS_ACTION_PACKAGE = new StrutsConfigNames("strtus.action.package"); |
19 | 19 | |
20 | + /** ディフォルトアクションメソッド */ | |
21 | + public static final StrutsConfigNames STRUTS_ACTION_DEFAULT = new StrutsConfigNames("strtus.action.method.default"); | |
22 | + | |
20 | 23 | /** アクションクラスサフィックス */ |
21 | - public static final StrutsConfigNames STRUTS_ACTION_CLASS_SUFFIX_ACTION = new StrutsConfigNames("strtus.action.class.suffix.action"); | |
24 | + public static final StrutsConfigNames STRUTS_CLASS_SUFFIX_ACTION = new StrutsConfigNames("strtus.class.suffix.action"); | |
22 | 25 | |
23 | - /** アクションフォームクラスサフィックス */ | |
24 | - public static final StrutsConfigNames STRUTS_ACTION_CLASS_SUFFIX_FORM = new StrutsConfigNames("strtus.action.class.suffix.form"); | |
26 | + /** フォームクラスサフィックス */ | |
27 | + public static final StrutsConfigNames STRUTS_CLASS_SUFFIX_FORM = new StrutsConfigNames("strtus.class.suffix.form"); | |
25 | 28 | |
26 | - /** ディフォルトアクションメソッド */ | |
27 | - public static final StrutsConfigNames STRUTS_ACTION_DEFAULT = new StrutsConfigNames("strtus.action.method.default"); | |
29 | + /** 画面セッションクラスサフィックス */ | |
30 | + public static final StrutsConfigNames STRUTS_CLASS_SUFFIX_SESSION = new StrutsConfigNames("strtus.class.suffix.session"); | |
28 | 31 | |
29 | - /** ルートアクションパス(アクション未指定時にリダイレクトするパス) */ | |
30 | - public static final StrutsConfigNames STRUTS_ACTION_INDEX = new StrutsConfigNames("struts.action.index"); | |
32 | + /** ルートアクションURL(アクション未指定時にリダイレクトするパス) */ | |
33 | + public static final StrutsConfigNames STRUTS_URL_INDEX = new StrutsConfigNames("struts.url.index"); | |
31 | 34 | |
35 | + /** 機能JSPパス(基底パスからの相対パス指定) */ | |
36 | + public static final StrutsConfigNames STRUTS_JSP_FUNCTION = new StrutsConfigNames("strtus.jsp.function"); | |
37 | + | |
38 | + /** システムエラーページパス(基底パスからの相対パス指定) */ | |
39 | + public static final StrutsConfigNames STRUTS_JSP_ERROR = new StrutsConfigNames("strtus.jsp.error"); | |
40 | + | |
41 | + /** メッセージページパス(基底パスからの相対パス指定) */ | |
42 | + public static final StrutsConfigNames STRUTS_JSP_MESSAGE = new StrutsConfigNames("strtus.jsp.message"); | |
43 | + | |
44 | + /** メッセージコード表示 */ | |
45 | + public static final StrutsConfigNames STRUTS_MESSAGE_DISPLAY_CODE = new StrutsConfigNames("strtus.message.display.code"); | |
46 | + | |
32 | 47 | /** ウィンドウセッションタイムアウト時間(ミリ秒) */ |
33 | 48 | public static final StrutsConfigNames STRUTS_SESSION_WINDOW_TIMEOUT = new StrutsConfigNames("strtus.session.window.timeout"); |
34 | 49 |
@@ -35,33 +50,30 @@ | ||
35 | 50 | /** ウィンドウセッションタイムアウトチェック間隔(ミリ秒) */ |
36 | 51 | public static final StrutsConfigNames STRTUS_SESSION_WINDOW_CHECK_INTERVAL = new StrutsConfigNames("strtus.session.window.check.interval"); |
37 | 52 | |
38 | - /** メッセージページパス(基底パスからの相対パス指定) */ | |
39 | - public static final StrutsConfigNames STRUTS_JSP_MESSAGE = new StrutsConfigNames("strtus.jsp.message"); | |
40 | - | |
41 | 53 | /** 個別サーバステータス送信定義(内部例外発生時) */ |
42 | - public static final StrutsConfigNames STRUTS_SEND_STATUS_EXCEPTION = new StrutsConfigNames("struts.sendstatus.exception"); | |
54 | + public static final StrutsConfigNames STRUTS_STATUS_EXCEPTION = new StrutsConfigNames("struts.status.exception"); | |
43 | 55 | |
44 | 56 | /** 個別サーバステータス送信定義(セッションタイムアウトエラー時) */ |
45 | - public static final StrutsConfigNames STRUTS_SEND_STATUS_SESSIONTIMEOUT = new StrutsConfigNames("struts.sendstatus.sessiontimeout"); | |
57 | + public static final StrutsConfigNames STRUTS_STATUS_SESSIONTIMEOUT = new StrutsConfigNames("struts.status.sessiontimeout"); | |
46 | 58 | |
47 | 59 | /** 個別サーバステータス送信定義(トークンエラー時) */ |
48 | - public static final StrutsConfigNames STRUTS_SEND_STATUS_TOKENERROR = new StrutsConfigNames("struts.sendstatus.tokenerror"); | |
60 | + public static final StrutsConfigNames STRUTS_STATUS_TOKENERROR = new StrutsConfigNames("struts.status.tokenerror"); | |
49 | 61 | |
50 | 62 | /** 個別サーバステータス送信定義(未ログインチェックエラー時) */ |
51 | - public static final StrutsConfigNames STRUTS_SEND_STATUS_LOGINERROR = new StrutsConfigNames("struts.sendstatus.loginerror"); | |
63 | + public static final StrutsConfigNames STRUTS_STATUS_LOGINERROR = new StrutsConfigNames("struts.status.loginerror"); | |
52 | 64 | |
53 | 65 | /** 個別サーバステータス送信定義(バリデーションエラー時) */ |
54 | - public static final StrutsConfigNames STRUTS_SEND_STATUS_VALIDATIONERROR = new StrutsConfigNames("struts.sendstatus.validationerror"); | |
66 | + public static final StrutsConfigNames STRUTS_STATUS_VALIDATIONERROR = new StrutsConfigNames("struts.status.validationerror"); | |
55 | 67 | |
56 | 68 | /** 個別サーバステータス送信定義(アプリケーションエラーメッセージ存在時) */ |
57 | - public static final StrutsConfigNames STRUTS_SEND_STATUS_ERROR_MESSAGE = new StrutsConfigNames("struts.sendstatus.errormessage"); | |
69 | + public static final StrutsConfigNames STRUTS_STATUS_MESSAGE_ERROR = new StrutsConfigNames("struts.status.message.error"); | |
58 | 70 | |
59 | 71 | /** 個別サーバステータス送信定義(アプリケーション警告メッセージ存在時) */ |
60 | - public static final StrutsConfigNames STRUTS_SEND_WARN_MESSAGE = new StrutsConfigNames("struts.sendstatus.warningmessage"); | |
72 | + public static final StrutsConfigNames STRUTS_MESSAGE_WARN = new StrutsConfigNames("struts.status.message.warning"); | |
61 | 73 | |
62 | 74 | /** 個別サーバステータス送信定義(アプリケーション情報メッセージ存在時) */ |
63 | - public static final StrutsConfigNames STRUTS_STAUTS_INFO_MESSAGE = new StrutsConfigNames("struts.sendstatus.informationmessage"); | |
64 | - | |
75 | + public static final StrutsConfigNames STRUTS_MESSAGE_INFO = new StrutsConfigNames("struts.status.message.information"); | |
76 | + | |
65 | 77 | /** |
66 | 78 | * コンストラクタ<br> |
67 | 79 | * @param key プロパティキー |
@@ -77,10 +77,10 @@ | ||
77 | 77 | */ |
78 | 78 | @Override |
79 | 79 | public <L extends Serializable, F extends AbstractForm<L>> Integer createResponseStatus(ActionContext<L, F> actionContext) { |
80 | - if (Config.isEmpty(StrutsConfigNames.STRUTS_SEND_STATUS_VALIDATIONERROR)) { | |
80 | + if (Config.isEmpty(StrutsConfigNames.STRUTS_STATUS_VALIDATIONERROR)) { | |
81 | 81 | return null; |
82 | 82 | } else { |
83 | - return Config.getInteger(StrutsConfigNames.STRUTS_SEND_STATUS_VALIDATIONERROR); | |
83 | + return Config.getInteger(StrutsConfigNames.STRUTS_STATUS_VALIDATIONERROR); | |
84 | 84 | } |
85 | 85 | } |
86 | 86 | } |
@@ -116,10 +116,10 @@ | ||
116 | 116 | */ |
117 | 117 | @Override |
118 | 118 | public <L extends Serializable, F extends AbstractForm<L>> Integer createResponseStatus(ActionContext<L, F> actionContext) { |
119 | - if (Config.isEmpty(StrutsConfigNames.STRUTS_SEND_STATUS_EXCEPTION)) { | |
119 | + if (Config.isEmpty(StrutsConfigNames.STRUTS_STATUS_EXCEPTION)) { | |
120 | 120 | return null; |
121 | 121 | } else { |
122 | - return Config.getInteger(StrutsConfigNames.STRUTS_SEND_STATUS_EXCEPTION); | |
122 | + return Config.getInteger(StrutsConfigNames.STRUTS_STATUS_EXCEPTION); | |
123 | 123 | } |
124 | 124 | } |
125 | 125 | } |
@@ -82,10 +82,10 @@ | ||
82 | 82 | */ |
83 | 83 | @Override |
84 | 84 | public <L extends Serializable, F extends AbstractForm<L>> Integer createResponseStatus(ActionContext<L, F> actionContext) { |
85 | - if (Config.isEmpty(StrutsConfigNames.STRUTS_SEND_STATUS_LOGINERROR)) { | |
85 | + if (Config.isEmpty(StrutsConfigNames.STRUTS_STATUS_LOGINERROR)) { | |
86 | 86 | return null; |
87 | 87 | } else { |
88 | - return Config.getInteger(StrutsConfigNames.STRUTS_SEND_STATUS_LOGINERROR); | |
88 | + return Config.getInteger(StrutsConfigNames.STRUTS_STATUS_LOGINERROR); | |
89 | 89 | } |
90 | 90 | } |
91 | 91 | } |
@@ -82,10 +82,10 @@ | ||
82 | 82 | */ |
83 | 83 | @Override |
84 | 84 | public <L extends Serializable, F extends AbstractForm<L>> Integer createResponseStatus(ActionContext<L, F> actionContext) { |
85 | - if (Config.isEmpty(StrutsConfigNames.STRUTS_SEND_STATUS_TOKENERROR)) { | |
85 | + if (Config.isEmpty(StrutsConfigNames.STRUTS_STATUS_TOKENERROR)) { | |
86 | 86 | return null; |
87 | 87 | } else { |
88 | - return Config.getInteger(StrutsConfigNames.STRUTS_SEND_STATUS_TOKENERROR); | |
88 | + return Config.getInteger(StrutsConfigNames.STRUTS_STATUS_TOKENERROR); | |
89 | 89 | } |
90 | 90 | } |
91 | 91 | } |
@@ -82,10 +82,10 @@ | ||
82 | 82 | */ |
83 | 83 | @Override |
84 | 84 | public <L extends Serializable, F extends AbstractForm<L>> Integer createResponseStatus(ActionContext<L, F> actionContext) { |
85 | - if (Config.isEmpty(StrutsConfigNames.STRUTS_SEND_STATUS_SESSIONTIMEOUT)) { | |
85 | + if (Config.isEmpty(StrutsConfigNames.STRUTS_STATUS_SESSIONTIMEOUT)) { | |
86 | 86 | return null; |
87 | 87 | } else { |
88 | - return Config.getInteger(StrutsConfigNames.STRUTS_SEND_STATUS_SESSIONTIMEOUT); | |
88 | + return Config.getInteger(StrutsConfigNames.STRUTS_STATUS_SESSIONTIMEOUT); | |
89 | 89 | } |
90 | 90 | } |
91 | 91 | } |
@@ -34,6 +34,5 @@ | ||
34 | 34 | @Override |
35 | 35 | public void process() throws Throwable { |
36 | 36 | TransactionProcess transactionProcess = new TransactionProcess(null, 0); |
37 | -// new TestHibernateLogic(transactionProcess).execute(); | |
38 | 37 | } |
39 | 38 | } |
@@ -30,6 +30,6 @@ | ||
30 | 30 | @Override |
31 | 31 | @StrutsMethod(checkLogin = false, checkSesion = false, checkToken = false) |
32 | 32 | public Forward index(SampleForm form, WindowSessionContainer<SMUser> session, ServletContainer<SMUser> servlet) throws Throwable { |
33 | - return new Forward(Config.getString(StrutsConfigNames.STRUTS_ACTION_DEFAULT)); | |
33 | + return new Forward("C00001.jsp"); | |
34 | 34 | } |
35 | 35 | } |
@@ -11,8 +11,10 @@ | ||
11 | 11 | *--> |
12 | 12 | */ |
13 | 13 | * { |
14 | - font-family: Arial, Helvetica, sans-serif; | |
15 | - /*font-family: "MS UI Gothic", "MS Pゴシック", Arial, sans-serif;*/ | |
14 | + font-family: "Lucida Grande", "Lucida Sans Unicode", "Hiragino Kaku Gothic Pro", | |
15 | + "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "MS Pゴシック", Helvetica, Arial, Verdana, | |
16 | + sans-serif; | |
17 | + -webkit-font-smoothing: antialiased; | |
16 | 18 | } |
17 | 19 | |
18 | 20 | body { |
@@ -84,26 +86,31 @@ | ||
84 | 86 | margin: .38em .3em .38em 0em; |
85 | 87 | } |
86 | 88 | |
87 | -input[type=text][readonly],input[type=password][readonly],input[type=file][readonly],textarea[readonly],select[readonly],input[type=text]:disabled,input[type=password]:disabled,input[type=file]:disabled,textarea:disabled,select:disabled { | |
89 | +input[type=text][readonly],input[type=password][readonly],input[type=file][readonly],textarea[readonly],select[readonly],input[type=text]:disabled,input[type=password]:disabled,input[type=file]:disabled,textarea:disabled,select:disabled | |
90 | + { | |
88 | 91 | border: 1px #eeeeee solid; |
89 | 92 | color: #000000; |
90 | 93 | background: #ececec !important; |
91 | 94 | } |
92 | 95 | |
93 | -input[type=text]:hover,input[type=password]:hover,input[type=file]:hover,textarea:hover,select:hover { | |
94 | - /* border: 1px #ffaa00 solid !important; */ | |
96 | +input[type=text]:hover,input[type=password]:hover,input[type=file]:hover,textarea:hover,select:hover | |
97 | + { /* border: 1px #ffaa00 solid !important; */ | |
98 | + | |
95 | 99 | } |
96 | 100 | |
97 | -input[type=text][readonly]:hover,input[type=password][readonly]:hover,input[type=file][readonly]:hover,textarea[readonly],select[readonly]:hover,input[type=text]:disabled:hover,input[type=password]:disabled:hover,input[type=file]:disabled:hover,textarea:disabled,select:disabled:hover { | |
98 | - /* border: 1px #eeeeee solid; */ | |
101 | +input[type=text][readonly]:hover,input[type=password][readonly]:hover,input[type=file][readonly]:hover,textarea[readonly],select[readonly]:hover,input[type=text]:disabled:hover,input[type=password]:disabled:hover,input[type=file]:disabled:hover,textarea:disabled,select:disabled:hover | |
102 | + { /* border: 1px #eeeeee solid; */ | |
103 | + | |
99 | 104 | } |
100 | 105 | |
101 | -input[type=text]:focus,input[type=password]:focus,input[type=file]:focus,textarea:focus,select:focus { | |
106 | +input[type=text]:focus,input[type=password]:focus,input[type=file]:focus,textarea:focus,select:focus | |
107 | + { | |
102 | 108 | border: 1px #ffaa00 solid !important; |
103 | 109 | background: #ffffdd !important; |
104 | 110 | } |
105 | 111 | |
106 | -input[type=text][readonly]:focus,input[type=password][readonly]:focus,input[type=file][readonly]:focus,textarea[readonly],select[readonly]:focus,input[type=text]:disabled:focus,input[type=password]:disabled:focus,input[type=file]:disabled:focus,textarea:disabled,select:disabled:focus { | |
112 | +input[type=text][readonly]:focus,input[type=password][readonly]:focus,input[type=file][readonly]:focus,textarea[readonly],select[readonly]:focus,input[type=text]:disabled:focus,input[type=password]:disabled:focus,input[type=file]:disabled:focus,textarea:disabled,select:disabled:focus | |
113 | + { | |
107 | 114 | border: 1px #eeeeee solid; |
108 | 115 | background: #ececec !important; |
109 | 116 | } |
@@ -149,7 +156,8 @@ | ||
149 | 156 | background-color: #efefef; |
150 | 157 | } |
151 | 158 | |
152 | -input[type=button][readonly]:active,input[type=submit][readonly]:active { | |
159 | +input[type=button][readonly]:active,input[type=submit][readonly]:active | |
160 | + { | |
153 | 161 | border: 1px #aaaaaa solid; |
154 | 162 | color: #888888; |
155 | 163 | background-color: #efefef; |
@@ -10,89 +10,60 @@ | ||
10 | 10 | * 2012/07/02 Kitagawa 新規作成 |
11 | 11 | *--> |
12 | 12 | */ |
13 | +/* | |
14 | + * コンテンツ幅スタイル | |
15 | + */ | |
16 | +.contentUniform { | |
17 | + max-width: 960px; | |
18 | + margin: 0 auto 0 auto; | |
19 | +} | |
20 | + | |
13 | 21 | /** |
14 | - * ページヘッダー部スタイル | |
22 | + * ページヘッダースタイル | |
15 | 23 | */ |
16 | 24 | .pageHeader { |
17 | - z-index: 1000; | |
25 | + z-index: 100000; | |
18 | 26 | top: 0px; |
19 | - min-width: 900px; | |
20 | - height: 40px; | |
21 | - border-bottom: 1px #aaaaaa solid; | |
22 | - background: rgb(92, 156, 204) url(../scripts/jquery/theme/custom-lightblue/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png) 50% 50% repeat-x; | |
27 | + height: 100px; | |
23 | 28 | color: #ffffff; |
24 | - font-size: 12px !important; | |
25 | - font-weight: bold; | |
26 | 29 | } |
27 | 30 | |
28 | 31 | /** |
29 | - * ページヘッダータイトル部スタイル | |
32 | + * ページヘッダー上部スタイル | |
30 | 33 | */ |
31 | -.pageHeaderTitle { | |
32 | - height: 34px; | |
33 | - margin: 2px 5px 2px 0px; | |
34 | - font-size: 12px; | |
35 | - font-weight: normal; | |
36 | - border: 0px transparent solid; | |
34 | +.pageHeaderUpper { | |
35 | + height: 70px; | |
37 | 36 | } |
38 | 37 | |
39 | 38 | /** |
40 | - * ページヘッダータイトルイメージ部スタイル | |
39 | + * ページヘッダー下部スタイル | |
41 | 40 | */ |
42 | -.pageHeaderTitleImage { | |
43 | - max-height: 32px; | |
44 | - margin: 1px 0px 1px 5px; | |
45 | - border: 0px transparent solid; | |
41 | +.pageHeaderLower { | |
42 | + height: 30px; | |
43 | + background-color: #000000; | |
46 | 44 | } |
47 | 45 | |
48 | 46 | /** |
49 | - * ページヘッダータイトル文字列部スタイル | |
47 | + * ページヘッダーナビゲーションスタイル | |
50 | 48 | */ |
51 | -.pageHeaderTitleString { | |
52 | - max-height: 32px; | |
53 | - margin: 1px 0px 1px 5px; | |
54 | - border: 0px transparent solid; | |
55 | - font-size: 18px !important; | |
49 | +.pageHeaderNavigation { | |
50 | + line-height: 28px; | |
56 | 51 | } |
57 | 52 | |
58 | 53 | /** |
59 | - * ページヘッダーログイン情報部スタイル | |
60 | - */ | |
61 | -.pageHeaderLogin { | |
62 | - height: 34px; | |
63 | - margin: 2px 5px 2px 0px; | |
64 | - font-size: 12px; | |
65 | - font-weight: normal; | |
66 | - border: 0px transparent solid; | |
67 | -} | |
68 | - | |
69 | -/** | |
70 | - * ページヘッダーログインアイコン部スタイル | |
71 | - */ | |
72 | -.pageHeaderLoginIcon { | |
73 | - display: inline-block; | |
74 | - background-image: url("../images/icon_login_user.png"); | |
75 | - background-repeat: no-repeat; | |
76 | - background-color: #eeeeee; | |
77 | - border: 1px #cccccc solid; | |
78 | - width: 32px; | |
79 | - height: 32px; | |
80 | - vertical-align: top; | |
81 | -} | |
82 | - | |
83 | -/** | |
84 | 54 | * ページフッター部スタイル |
85 | 55 | */ |
86 | 56 | .pageFooter { |
87 | - z-index: 1000; | |
57 | + z-index: 100000; | |
88 | 58 | bottom: 0px; |
89 | - min-width: 900px; | |
90 | - height: 10px; | |
59 | + min-width: 800px; | |
60 | + height: 20px; | |
91 | 61 | padding: 4px; |
92 | - border-top: 1px #aaaaaa solid; | |
93 | - background-color: #eeeeee; | |
94 | - color: #aaaaaa; | |
62 | + border-top: 1px #bbbbbb solid; | |
63 | + background-color: transparent; | |
64 | + color: #bbbbbb; | |
95 | 65 | font-size: 12px; |
66 | + line-height: 20px; | |
96 | 67 | text-align: center; |
97 | 68 | } |
98 | 69 |
@@ -100,15 +71,14 @@ | ||
100 | 71 | * コンテンツヘッダー部スタイル |
101 | 72 | */ |
102 | 73 | .contentHeader { |
103 | - z-index: 1000; | |
104 | - top: 41px; | |
105 | - min-width: 900px; | |
106 | - height: 22px; | |
107 | - line-height: 22px; | |
108 | - border-bottom: 1px #aaaaaa solid; | |
109 | - background: rgb(92, 156, 204) url(../scripts/jquery/theme/custom-lightblue/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png) 50% 50% repeat-x; | |
110 | - color: #ffffff; | |
111 | - border-bottom: 1px #aaaaaa solid; | |
74 | + z-index: 100000; | |
75 | + top: 51px; | |
76 | + min-width: 800px; | |
77 | + height: 28px; | |
78 | + line-height: 28px; | |
79 | + border-bottom: 1px #bbbbbb solid; | |
80 | + background: #ffffff url(../images/bg_content_header.png) 50% 50% repeat-x; | |
81 | + color: #222222; | |
112 | 82 | } |
113 | 83 | |
114 | 84 | /** |
@@ -125,7 +95,7 @@ | ||
125 | 95 | * コンテンツコンテナ部スタイル |
126 | 96 | */ |
127 | 97 | .contentContainer { |
128 | - margin: 64px 0px 19px 0px; | |
98 | + margin: 100px 0px 29px 0px; | |
129 | 99 | padding: 8px 8px 8px 8px; |
130 | 100 | min-width: 900px; |
131 | 101 | overflow-y: scroll; |
@@ -145,7 +115,7 @@ | ||
145 | 115 | .fieldLine { |
146 | 116 | margin: .5em 0em .5em 0em; |
147 | 117 | clear: both; |
148 | - border-bottom: 1px #aaaaaa solid; | |
118 | + border-bottom: 1px #bbbbbb solid; | |
149 | 119 | } |
150 | 120 | |
151 | 121 | /** |
@@ -259,11 +259,6 @@ | ||
259 | 259 | * フレームワーク上の動作仕様と連携させるため、タグライブラリや共通インクルードJSP定義は基本的には変更不要です。 |
260 | 260 | */ |
261 | 261 | --> |
262 | - <taglib> | |
263 | - <taglib-uri>/WEB-INF/tld/f.tld</taglib-uri> | |
264 | - <taglib-location>/WEB-INF/tld/f.tld</taglib-location> | |
265 | - </taglib> | |
266 | - <!-- #===============================================================================================================================================# --> | |
267 | 262 | <jsp-property-group> |
268 | 263 | <icon> |
269 | 264 | <small-icon>/images/favicon-32x32.png</small-icon> |
@@ -272,8 +267,8 @@ | ||
272 | 267 | <url-pattern>*.jsp</url-pattern> |
273 | 268 | <el-ignored>false</el-ignored> |
274 | 269 | <scripting-invalid>false</scripting-invalid> |
275 | - <include-prelude>/WEB-INF/view/common/common_prelude.jsp</include-prelude> | |
276 | - <include-coda>/WEB-INF/view/common/common_coda.jsp</include-coda> | |
270 | + <include-prelude>/WEB-INF/view/common/jsp_preludeSource.jsp</include-prelude> | |
271 | + <include-coda>/WEB-INF/view/common/jsp_codaSource.jsp</include-coda> | |
277 | 272 | </jsp-property-group> |
278 | 273 | </jsp-config> |
279 | 274 |
@@ -7,7 +7,7 @@ | ||
7 | 7 | * |
8 | 8 | *<!-- |
9 | 9 | * 更新日 更新者 更新内容 |
10 | - * 2012/07/02 Kitagawa 新規作成 | |
10 | + * 2010/07/19 Kitagawa 新規作成 | |
11 | 11 | *--> |
12 | 12 | */ |
13 | 13 | var Environment = function() { |