> On a similar note, are there any good ways of using AJAX to get the > value of a text field (currently in a form on it's own) back to the > server when the user hits return? > > It's currently working via with the standard form submit, and I'm > using textField.onModelChanged(), but I've not managed to find the > right combination of events to go with AjaxFormSubmitBehaviour and/or > AjaxFormComponentUpdatingBehavior to do what I need! Either that, or > the return's triggering a standard form submit anyway... > > I suppose I could take it out of the form then try & write a component > to listen for keyUp's in JS then send it on the Return, but as it > doesn't seem that esoteric a requirement, I suspect I'm missing > something?
That sounds like the way to do it. Or find another way to eat up the enter key press so that it doesn't trigger a form submit. Eelco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
