Re: Pre-filling TextAreas with values
On Sun, 21 Nov 2010 16:53:19 -0200, wrote: Hello everyone! Hi! Is it possible, that TextAreas ignores the body? Yes! value="questionAndAnswer.enteredAnswer">${questionAndAnswer.AnswerSuggestion} Just set the answerSuggestion property of questionAndAnswer before the form is rendered. You can use the Form's prepareForRender event or onActivate() or setupRender(). -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Pre-filling TextAreas with values
Hello everyone! Is it possible, that TextAreas ignores the body? http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/TextArea.html Example: Inside of an AjaxFormLoop (http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/ajaxformloop1) TextAreas should be pre-filled with a text, that is read from a different field than it should be saved to: ${questionAndAnswer.AnswerSuggestion} However, it seems like TextArea ignores its body? Thanks! Tobias - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org