Interesting. I just did not realize the class property will be assigned the
map keys one by one as I loop through them (the documentation clearly states
this ).
Thanks for the reply,
Bogdan.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/getter-setter-for-textfield-co
You can't use 'getValueForKey(for_value)' in a template
Here is how I would do it
private Map something;
@Property
private String key;
public Set getKeys(){
//Somehow you have already loaded the map
return something.keySet();//keys
}
public String getValue(){
return something.g