BAEL-1737, BAEL-1667 (#4251)

* BAEL-1737 - Access Modifiers examples

* BAEL-1737 - Corrected constructors

* BAEL-1737 - Smaller formatting fixes

* BAEL-1737 - Updated comments

* BAEL-1667 - Select and Option examples.

* BAEL-1667 - Corrected typo - closing select tag - that actually made the code to work. COrrected solution works well too and produces valid HTML
This commit is contained in:
iaforek
2018-06-15 08:03:09 +02:00
committed by Predrag Maric
parent 445153f126
commit 2cb8d357f4
7 changed files with 88 additions and 1 deletions

View File

@@ -32,7 +32,9 @@
</tr>
<tr>
<td><label th:text="#{msg.percent}" /></td>
<td><input type="text" th:field="*{percentage}" /></td>
<td><select id="percentage" name="percentage">
<option th:each="i : ${#numbers.sequence(0, 100)}" th:value="${i}" th:text="${i}" th:selected="${i==75}"></option>
</select></td>
</tr>
<tr>
<td><input type="submit" value="Submit" /></td>