-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Affects Version/s: None
-
Component/s: None
-
None
Validationエラー後にConditionによる条件分岐がうまくいきません。
Validationエラー後の分岐がtrueまたはfalseのどちらかとなってしまいます。
prerenderでflgInfoItemsを毎回生成する。
flgInfoItemsには、isDispがtrueとfalseを交互に返すように設定している。
例)flgInfoItemsに true,false,true を返す3つのitemを設定
<結果 初期表示や再表示>
メッセージあり
メッセージなし
メッセージあり
<Validationエラー後>
メッセージあり
メッセージあり
メッセージあり
---------------------------------------------------------------------
<span id="allMessages"></span>
<table id="flgInfoGrid">
<thead>
<tr><td>タイトル</td></tr>
</thead>
<tbody>
<tr>
<td>
<div id="isDisp"><span>メッセージあり</span></div>
<div id="isNotDisp"><span>メッセージなし</span></div>
</td>
</tr>
</tbody>
</table>
<table>
<tr>
<td>■必須項目</td>
<td><input type="text" id="name" label="名称" /></td>
</tr>
</table>
<input type="submit" id="doCheck" value="確認"/>
—
pageクラスのValidation
@Required(target = "doCheck")
public void setName(String name)
---------------------------------------------------------------------
[TEEDA-241] [Seasar-user:5910] Validationエラー後の条件分岐(Condition)
Status | Original: Reopened [ 4 ] | New: Resolved [ 5 ] |
Resolution | New: Fixed [ 1 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Fix Version/s | New: 1.0.8 [ 10437 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Resolution | New: Fixed [ 1 ] |
Assignee | Original: shot [ shot ] | New: higa [ higa ] |