[Seasar-user:17796] [Kumu.FormHelperでItemsの値をセットする]

thomas [E-MAIL ADDRESS DELETED]
2009年 6月 19日 (金) 18:53:15 JST


Hai,

<script>
function a(){
var form = Kumu.FormHelper.create('Form', 't');
var items = form['fooItems']
var item = items[0];

*item['ccc']="CCC";*
items[0]=item;

alert(items[0]['ccc']);

}
</script>
</head>
<body>
<form id="Form">

<input type="hidden" id="fooItemsSave" />

<table border="1">
       <div id="fooItems">
       <tr>
         <td><span id="fooNo">100</span></td>

               <td><input type="text" id="aaa" title="AAA" /></td>
               <td><input type="text" id="bbb" title="BBB" /></td>
               <td><input type="text" id="ccc"></input></td>

       </tr>
       </div>
</table>


This is my teeda Html coding.I am trying to set the value for 'ccc' in the
item using kumu.Formhelper API.
After setting the value if i put alert(items[0]['ccc']); i got the
value.Where as in the screen there is no change for the value for 'ccc'

How can i achieve this.....?

Thanks in advance,
トマス

Here i set the
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://ml.seasar.org/archives/seasar-user/attachments/20090619/861ea591/attachment.html>


Seasar-user メーリングリストの案内