|
Hi guys. Looks like this is going in a cool direction.
However, I’m a little confused about the version in alpha-7. I’m building a form with a TextArea that kindof works
like an AutoCompleter. I put the TextArea inside an AjaxForm, and I’ve
attached an AjaxEventSubmit to the onkeyup event of the TextArea. The server-side listener needs the input of the TextArea to
generate suggestions. (BTW: I can’t use an AutoCompleter because the
suggestions shouldn’t appear in a pull down, they need to appear in some
other part of the page.) So the AjaxEventSubmit gives me two choices for attaching a
listener. I can use the “action” parameter which causes tacos to fire
the specified listener right before firing the form’s listener. Or I can
use the “listener” parameter which causes tacos to fire the
listener method when the AjaxEventSubmit component rewinds. In the first case, my form’s listener fires too. That’s
not the behavior I want. I only want the AjaxEventSubmit listener to fire in
this case. In the second case, the listener *must* fire before the TextArea rewinds because I *must* place the AjaxEventSubmit component
before the form elements which trigger it. So in this case, my listener can’t
get the data it needs. I don’t quite know what to do here. Am I using the
AjaxEventSubmit component for an unintended purpose? I notice that the AjaxForm
in the demo doesn’t have a “listener” parameter or a
LinkSubmit or anything. Perhaps nobody has tried this yet? Thanks for your help! Jeremy |
- [Tacos-devel] AjaxEventSubmit Questions Jeremy
- Re: [Tacos-devel] AjaxEventSubmit Questions Leonardo Quijano Vincenzi
- RE: [Tacos-devel] AjaxEventSubmit Quest... Jeremy
- RE: [Tacos-devel] AjaxEventSubmit Quest... Jeremy
- Re: [Tacos-devel] AjaxEventSubmit Q... Jesse Kuhnert
- Re: [Tacos-devel] AjaxEventSubmit Quest... Cosmin Bucur
- Re: [Tacos-devel] AjaxEventSubmit Q... Leonardo Quijano Vincenzi
- Re: [Tacos-devel] AjaxEventSubmit Q... Jesse Kuhnert
- Re: [Tacos-devel] AjaxEventSubm... Cosmin Bucur
