1
我使用Struts 2的問題:沒有headerValue當列表爲空<s:select>
我有一個標籤
<s:select list="list" headerKey="All"
headerValue="All" multiple="true" name="selectedList"
listKey="id" multiple="false" theme="simple"
listValue="Name" size="20">
</s:select>
當列表爲空則顯示「ALL」,在下拉,我不當「列表」爲空(list.size == 0)時,希望headerValue進入下拉菜單 另外我不想從服務器提供headerKey和headerValue。
任何幫助??????
沒有足夠的幫助:(不要任何人有什麼要提醒 – 2009-12-06 13:21:14