acale...@gmail.com
unread,Apr 18, 2008, 11:30:31 PM4/18/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to buffalo与Amowa, ch...@zhoujin.com
Buffalo Call Java 函數,獲取返回值是一個二維數組,即 re= reply.getResult(),然後將re與JST
Page 綁定即:{datas:re},在進行頁面渲染的時候, 數組的第一行,縂出現一個int值,如下:
JAVA 構造數據:
int[2][6] days = {0,1,2,3,4,5,6,7,8,9,10,11}
Buffalo re = reply.getResult()之後,re = {0,1,2,3,4,5,6,7,8,9,10,11}
傳入JST Page進行渲染:{datas:re}
{for a in datas}
{for b in a}
<span>${b}</span>
{/for}
{/for}
結果縂出現: int 0 1 2 3 4 5 int 6 7 8 9 10 11 ,爲什麽縂有一個int出現呢?如何不顯示int?