Added that listener and my logger shows that it's still empty - about to pull my hair out here. I frankly think there should be a default method of handling such a scenario.
Any input/help would be appreciated. Thanks, Michael -----Original Message----- From: brian.diekelman [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2008 3:42 PM To: [email protected] Subject: RE: Grabbing a form component's input before the form has been submitted If I'm understanding you correctly the input it still sitting on the client (since the form hasn't been submitted) and the server doesn't have any knowledge of it when it renders the modal. You should be able to use AjaxFormComponentUpdatingBehavor("onblur") on the date field. That will send an ajax event to notify the server of the component change so it is updated in the modal. Michael Mehrle wrote: > > Nope - still getting null, although the field is populated. How can I > force this without submitting the form? > > Michael > > -----Original Message----- > From: Igor Vaynberg [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 17, 2008 8:24 PM > To: [email protected] > Subject: Re: Grabbing a form component's input before the form has been > submitted > > getinput() > > -igor > > On Tue, Jun 17, 2008 at 6:10 PM, Michael Mehrle <[EMAIL PROTECTED]> > wrote: >> I have a form that contains a date textfield. When a user fills out > the >> date and then launches a modal via another link I need to somehow pass >> that field's input to the modal's panel. Problem is that the form at >> that point has not been submitted yet. I already tried: >> >> >> >> Date startDate = (Date)startTimeField.getConvertedInput(); >> >> >> >> However, it's always null. How can I do this? >> >> >> >> Thanks in advance... >> >> >> >> Michael >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Grabbing-a-form-component%27s-input-before-the-for m-has-been-submitted-tp17957853p17993636.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
