發表文章

目前顯示的是 2012的文章

stripes:options-collection

From Evernote: stripes:options-collection stripes:option   forEach      public List<MenuItem> getMenuItems() {           return menuItems ;  } < th > 上層程式 </ th >   < td colspan = "4" >                 < stripes:select id = "menuItemPk" name = "createMenuItem.parentMenuItem.menuItemPk"  disabled = "true" >                          < stripes:option value = "" label = "-- 請選擇 --" />                          < c:forEach items = " ${actionBean.menuItems } " var = "menuItem" varStatus = "rowstat" >                             < stripes:option value = " ${menuItem.menuItemPk } " label = " ${menuItem.actionName } " />                           </ c:forEach >                        </ stripes:select >   </ td >