About bindReply()

1 view
Skip to first unread message

acale...@gmail.com

unread,
Apr 11, 2008, 3:31:44 AM4/11/08
to buffalo与Amowa
如何把用bindReply()绑定:
<select>
<option value="value0">name0</option>
<option value="value1"> name1</option>
....
</select>

buffalo demo中只提供了绑定一个键值的例子,如"城市"或者"省份"名称.

acale...@gmail.com

unread,
Apr 11, 2008, 3:51:25 AM4/11/08
to buffalo与Amowa
这是http://buffalo.sourceforge.net/binding.html的帮助信息:
----------------------------------------------------
buffalo.bindReply("yourService.method", [parameters], "elementId")
Above will try to make a remote call to "yourService.method" with
"parameters", and bind the result to the "elementId".

If you don't want to make a remote call, you can also use binding:

Buffalo.Bind.bind(elementId, bindValue)
It will bind the "bindValue" to the "elementId".
----------------------------------------------------
但是我如何把一个LIST中的VALUE和NAME与elementId一次性绑定呢?



On 4月11日, 下午3時31分, "acaleph2...@gmail.com" <acaleph2...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages