> <option value="0">Day</option> > <option value="1">Week </option> > <option value="2">Fortnight</option> > <option value="3">Month</option> > <option value="4">Year</option>
If you really want to hardcode the options in the HTML like that, remember not to use DropDownChoice which will replace the markup, but make your own FormComponent subclass that preserves the entire markup. In this case, you could try <option value="0"><wicket:message key="period.1">Day</wicket:message></option> But the DropDownChoice + ChoiceRenderer is a better option, even if the option list is "static". In that case you just call getString("period."+idvalue) in getDisplayValue() - Tor Iver --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org