Created
February 4, 2015 05:46
-
-
Save A-pZ/24e539e988bcbe4b2249 to your computer and use it in GitHub Desktop.
Thymeleafでセレクトボックスを生成する場合…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- なげえええええええ --> | |
<select id="priority" class="form-control" name="vo.priority" th:remove="all-but-first"> | |
<option th:each="priorities : ${beans.master.getValues('priority')}" th:value="${priorities.key}" th:selected="${priorities == vo.priority}" th:inline="text">[[${priorities.value}]]</option> | |
........ | |
</select> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SpringMVC使えばもっと簡潔に書けます、と気づかれると泣きます。