Hi all, I have a textfield component inside a loop. The value of the text component is set like this: <t:textfield t:value="getValueForKey(for_value)"></t:textfield>
The entire loop is enclosed in a <form>. When i try to submit the form, I get the following error: An exception has occurred: Failure writing parameter 'value' of component Index:textfield: Expression 'getValueForKey(for_value)' for class com.example.tutorial.pages.Index is read-only My Java class does contain a setter method: public String getValueForKey(String key) { return arUser.getValueForKey(key); } public void setValueForKey(String key) { System.out.println("DO NOTHING"); } The only funny thing i'm doing here is that the java class does not have a property "per se", only getter and setter methods. Thanks very much, Bogdan. -- View this message in context: http://tapestry.1045711.n5.nabble.com/getter-setter-for-textfield-component-tp4369806p4369806.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org