Re: getter/setter for textfield component

2011-05-04 Thread bogdan_cm
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

Re: getter/setter for textfield component

2011-05-04 Thread Taha Hafeez
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