Re: [Wicket-user] Getting value of a text field via Ajax, no form

2007-03-08 Thread Stefan Lindner
Try something like startDate.getModelObject() or address the form's model vacationForm.getModelobject.getTextfield's property name Stefan LIndner winmail.dat- Take Surveys. Earn Cash. Influence the Future of

Re: [Wicket-user] Getting value of a text field via Ajax, no form

2007-03-08 Thread Jason Roelofs
Well, the model never actually gets changed. I must be missing something, the new value of the field never gets back to the server. Anyone know why this would be or if there's a better way to do this? Jason On 3/8/07, Stefan Lindner [EMAIL PROTECTED] wrote: Try something like

Re: [Wicket-user] Getting value of a text field via Ajax, no form

2007-03-08 Thread Igor Vaynberg
see AjaxFormComponentUpdatingBehavior AjaxEventBehavior doesnt send over the value of the form component, just triggers a roundtrip -igor On 3/8/07, Jason Roelofs [EMAIL PROTECTED] wrote: Well, the model never actually gets changed. I must be missing something, the new value of the field

Re: [Wicket-user] Getting value of a text field via Ajax, no form

2007-03-08 Thread Jason Roelofs
Ok, that did it. Thanks again Igor. Jason On 3/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote: see AjaxFormComponentUpdatingBehavior AjaxEventBehavior doesnt send over the value of the form component, just triggers a roundtrip -igor On 3/8/07, Jason Roelofs [EMAIL PROTECTED] wrote: Well,

Re: [Wicket-user] Getting value of a text field via Ajax, no form

2007-03-08 Thread Igor Vaynberg
youre welcome -igor On 3/8/07, Jason Roelofs [EMAIL PROTECTED] wrote: Ok, that did it. Thanks again Igor. Jason On 3/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote: see AjaxFormComponentUpdatingBehavior AjaxEventBehavior doesnt send over the value of the form component, just triggers a

Re: [Wicket-user] Getting value of a text field via Ajax, no form

2007-03-08 Thread Stefan Lindner
In Wicket 2 thete is a thing called AjaxFormComponentUpdatingBehavior A behavior that updates the hosting FormComponent via ajax when an event it is attached to is triggered. This behavior encapsulates the entire form-processing workflow as relevant only to this component so if validation is

Re: [Wicket-user] Getting value of a text field via Ajax, no form

2007-03-08 Thread Nathan Hamblen
Speaking of, is AjaxFormSubmitBehavior broken in the current 1.x snapshot, or is it just me? Nathan Igor Vaynberg wrote: see AjaxFormComponentUpdatingBehavior AjaxEventBehavior doesnt send over the value of the form component, just triggers a roundtrip

Re: [Wicket-user] Getting value of a text field via Ajax, no form

2007-03-08 Thread Erik van Oosten
Just dropping into the conversation (sorry, if its off topic): if you need to get the value of a single cell, you can use (a variation of) the code attached to https://issues.apache.org/jira/browse/WICKET-176. I use it to validate just one field. Regards, Erik. Nathan Hamblen wrote: