Does it maybe have something to do with my custom validation? I use setDefaultFormProcessing(false); because I have more submit buttons on one form
----- Ursprüngliche Mail ---- Von: Jeremy Thomerson <jer...@wickettraining.com> An: users@wicket.apache.org Gesendet: Dienstag, den 20. Oktober 2009, 16:20:09 Uhr Betreff: Re: why is the model empty? How about! creating! a quickstart! and sending it! to us! (Oh, and no need for so many exclamation points. It could be interpreted as shouting) -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 20, 2009 at 9:16 AM, Peter Arnulf Lustig <uuuuu...@yahoo.de>wrote: > hey martijn -- But there is a string submitted! > Actually it must be printed! But it is null. > > Is the final declaration correct? > > > > ----- Ursprüngliche Mail ---- > Von: Martijn Dashorst <martijn.dasho...@gmail.com> > An: users@wicket.apache.org > Gesendet: Dienstag, den 20. Oktober 2009, 16:06:22 Uhr > Betreff: Re: why is the model empty? > > Wicket makes empty strings null by default. See one of the > Application.get****Settings() > > Martijn > > On Tue, Oct 20, 2009 at 4:04 PM, Jeremy Thomerson > <jer...@wickettraining.com> wrote: > > 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 > >> > >> > > > > > > -- > Become a Wicket expert, learn from the best: http://wicketinaction.com > Apache Wicket 1.4 increases type safety for web applications > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0 > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org