Re: Tapestry SelectModel

2018-01-25 Thread Thiago H. de Paula Figueiredo
Hello! IMHO, if you don't want arbitrary strings in a field, you should create an enum for that (in this case, Country) and use it as the type of your field instead of String. Tapestry should automatically use a for editing that. But, even leaving your code the way it is, and I strongly recommen

Tapestry SelectModel

2018-01-23 Thread Christopher Dodunski
Hi team, Just a quick question: When using Tapestry's SelectModel to create a drop down list of String options, is it possible to enforce this at the 'model' tier through the use of an annotation? With Java enumerations this is possible: @Enumerated(EnumType.STRING) private String countr