yes! I temper the data! And it is posted to the server!


----- Ursprüngliche Mail ----
Von: Jeremy Thomerson <jer...@wickettraining.com>
An: users@wicket.apache.org
Gesendet: Dienstag, den 20. Oktober 2009, 16:04:21 Uhr
Betreff: Re: why is the model empty?

Look at the HTTP request - is the value getting submitted?

--
Jeremy Thomerson
http://www.wickettraining.com



On Tue, Oct 20, 2009 at 8:17 AM, Peter Arnulf Lustig <uuuuu...@yahoo.de>wrote:

> hi,
>
> in the submit logic the getModel().getObject() is an empty string although
> I set it via textfield:
>
> final Button tagSubmit = new Button("tagSubmit", Model.of("")) {
>            @Override
>            public void onSubmit() {
>                    tagTitle.getModel().getObject() // it is empty!!
>                }
>            }
>
>        };
>
>
> that's the textfield:
>
> final TextField<String> tagTitle = new TextField<String>("tagTitle",
> Model.of(""));
>
>
>
>
> ---------------------------------------------------------------------
> 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