wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Hogan" <seeker...@gmail.com>
Subject Re: TextArea problems
Date Sun, 02 Mar 2008 11:13:12 GMT
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
>
>


-- 
============================================
Computer Science: solving today's problems tomorrow.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message