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: > Spe

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 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 s

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 > trigg

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: > Wel

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 n

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 startDate

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.get Stefan LIndner <>- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay pa

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

2007-03-08 Thread Jason Roelofs
How do I get the value of a text field when I'm not submitting a form? I'm currently using AjaxEventBehavior("onChange"), which does throw me the event when i want it, but I cannot figure out how to get the value from the text field. My current code: Account acct = ...; Form vacationForm = new