[Seaside] SeasideAsync and default action
renggli at gmail.com
Fri Dec 1 21:02:15 UTC 2006
> I have no trouble using SeasideAsync with the textinput, and I replace the
> submit button with an anchor. This works okay as long at the user clicks on
> the anchor. However, I really want the user to be able to just hit Enter.
> With non asynch Seaside, this is not a problem. How can I handle the Enter
> key with a live callback. It is possible to have a default action for the
> form that uses a live callback?
In Scriptaculous you could use something like this:
callback: [ :value | ... ];
onEnter: (html request triggerFormElement: 'console')
I don't know how to compose scripts in SeasideAsync.
More information about the Seaside