본문 바로가기
반응형

Thymeleaf

 

 

### 콤보박스

<select name="S_SITE_CD" style="width: 100%;">
	<option th:if="${siteList}" th:each="oneData, status : ${siteCdList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}" ></option>
</select>

 

### 체크박스

<label th:if="${scoreList}" th:each="oneData, status : ${scoreList}" >
	<input type="checkbox" name="scoreArry" id="score" th:value="${oneData.cd}" th:text="${oneData.cdNm}"/>
</label>
반응형