[Seaside] SeasideAsync and default action
carlg at libertybasic.com
Fri Dec 1 20:52:20 UTC 2006
I'm trying to move part of my application over to SeasideAsync, but I'm
having a little trouble with it.
My application has an interactive console, sort of like a command line. At
the bottom, there is an textinput object and a submit button. The user can
type something into the field (which by default has focus when it appears)
and either hit Enter or click on the submit button. Depending on what they
do next (amongst other things) some text and or graphics may be added to the
console, and another textinput and submit button may appear.
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?
-Carl Gundel, author of Liberty BASIC
More information about the Seaside