Every form input field has an associated descriptive label and an entry
field.
- Form fields must be enclosed in a <div class="input">
container.
- The text label is a page-specific text key that describes the input value.
- The <span class="required">*</span> container is
necessary only for mandatory fields.
- The <input> tag must be assigned to a
class="text".
- Place tags that are enclosed in <label> tags on the same
line as the <label> start and end tags.
<div class = "input">
<label> <wicket:message key = "[labelkey]"/> <span class = "required"> * </span></label>
<input class = "text" wicket:id = "field" />
</div>
Note: You need not annotate an asterisk with the text "* indicates a required
field."