countries.jsp
上传用户:hbzhoufeng
上传日期:2009-12-23
资源大小:75k
文件大小:0k
源码类别:

OA系统

开发平台:

Java

  1. <%Iterator countries = UtilMisc.toIterator(delegator.findByAndCache("Geo", UtilMisc.toMap("geoTypeId", "COUNTRY"), UtilMisc.toList("geoName")));%>
  2. <%while(countries != null && countries.hasNext()){%><%GenericValue country = (GenericValue)countries.next();%>
  3.     <option value='<%=country.getString("geoId")%>'><%=country.getString("geoName")%></option>
  4. <%}%>