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