beetl 取list下标的问题
生活随笔
收集整理的這篇文章主要介紹了
beetl 取list下标的问题
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
[DEBUG] 11:44:23.194 org.beetl.ext.nutz.LogErrorHandler.processExcption(LogErrorHandler.java:32) - 屬性訪問出錯
11:44:23:屬性獲取異常(ATTRIBUTE_INVALID):[] 位于21行 資源:/platform/wage/calculation/detail/edit.html
屬性訪問出錯
18|
19| <%for(item in map[‘record’]){%>
20|
21| map[′list′][itemLP.index]</label>22∣<divclass="col?sm?3">23∣<inputtype="text"id="{map['list'][itemLP.index]}</label> 22| <div class="col-sm-3"> 23| <input type="text" id="map[′list′][itemLP.index]</label>22∣<divclass="col?sm?3">23∣<inputtype="text"id="{item.key}" class=“form-control” name="item.key"24∣placeholder="{item.key}" 24| placeholder="item.key"24∣placeholder="{item.key}" value="${item.value}" >
java.lang.IndexOutOfBoundsException: Index: 28, Size: 28
map中有兩個集合record和list,循環record同時直接獲取list對應下標的值,需要怎么才能取到值?
http://www.nutz.cn/yvr/t/0apofs8ahuga8p51ik2k2g5jt7
總結
以上是生活随笔為你收集整理的beetl 取list下标的问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Vivado下的仿真入门
- 下一篇: Java Servlet API中的fo