Thank Jay. It's always so simple :)
/Jörgen Jay Hogan skrev:
Hi Jörgen, The textarea tag requires a close tag, rather than an open-close tag. Like this: <form wicket:id="testTextAreaForm" method="post"> <textarea wicket:id="testTextArea" rows="10" cols="30">Content to be replaced by wicket</textarea> </form> Cheers, Jay On Sun, Mar 2, 2008 at 6:01 AM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:Hi. I have a form that contains a text area. I want to fill this with content fetch from a pojo. I do this by form.add(new TextArea("xxx", new PropertyModel(myPojoInstans, "content")); When running the app this screws things up. Any components added before the TextArea are displayed correctly, but the content of the textarea will be the remainder of the html file. Am I doing something wrong? I have created a quickstart project, found here: http://www.jorgenpersson.se/TestTextArea2.tar.gz TIA, Jörgen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
