wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mailinglist@jorgenpersson.se" <mailingl...@jorgenpersson.se>
Subject Re: TextArea problems
Date Sun, 02 Mar 2008 11:34:57 GMT
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, mailinglist@jorgenpersson.se <
> mailinglist@jorgenpersson.se> 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: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>     
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message