リスト形式の入力値を取得する時のActionFormの書き方
logic:iterateを使った場合。
忘れやすいのでメモ。
private List
hogeList; public Bean getId(int index) {
return (Bean)hogeList.get(index);
}getter・setter略
getId の Id には、logic:iterate タグのid属性のvalueを指定。
logic:iterateを使った場合。
忘れやすいのでメモ。
private List
hogeList; public Bean getId(int index) {
return (Bean)hogeList.get(index);
}getter・setter略
getId の Id には、logic:iterate タグのid属性のvalueを指定。