d:commandButton
Renders an HTML "input" element.
Decode 時の動作
このボタンが押されるとJSFの
decodeフェーズで通常のcommandButtonと同様にActionが生成されますが、このボタンでは
ORマッピングを呼び出すための特殊なActionが生成されます。
sessionやサーブレットコンテキストから、targetMapで指定したMapを取り出して、
ORマッピングに渡します
Encode 時の動作
| Tag Information |
| Tag Class | dwarf.component.OrmCommandButton |
| Action Class | dwarf.component.OrmMethodBindingImpl |
| Display Name | None |
| Attributes |
| Name | Required | Request-time | Type | Description |
| targetMap | true | false | java.lang.String |
画面からpostされたデータを書き込むバッキングビーンを指定します。
このバッキングビーンはMap型でなければ、なりません。
HibSessionFactoryでDBに書き込む際にMap型を利用しているからです。
|
| mode | false | false | java.lang.String |
画面からpostされたデータをDBに書き込む際、insertで書き込むのかupdateで
書き込むのかを指定します
|
| value | false | false | java.lang.String |
ボタン上に表示する文字列を指定します
|
| successString | false | false | java.lang.String |
DB登録が成功した時、ナビゲーションハンドラに渡す文字列を指定します。
|
| Variables |
No Variables Defined. |
Output Generated by
Tag Library Documentation Generator.
Java, JSP, and JavaServer Pages are trademarks or
registered trademarks of Sun Microsystems, Inc. in the US and other
countries. Copyright 2002-4 Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054, U.S.A.
All Rights Reserved.