myFormBorder.getBodyContainer().add(ftf) should do it.

-igor

On Tue, Oct 18, 2011 at 8:40 AM, nazeem <md.naz...@gmail.com> wrote:
> Thanks Igor. I was mislead by seeing the generated html. In the rendered html
> the textfield is inside, but from the code, I am adding the MyTextField to
> the border and not to the form.
>
> In MyFormBorder I am adding the contents to the form, will this not solve ?
>
> form.add(getBodyContainer());
>
> I also tried this, but it gives me error saying name field not found.
>
> myFormBorder.getForm().add(ftf);
>
> Any other suggestions please.
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/wicket-form-debug-tp3915041p3915794.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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

Reply via email to