>Thanks, that worked for setting the focus on the input field. Any
>suggestions for making the submit button the default pushbutton?
>
>
>
Oops, sorry I only answered part of your questions.
I think something like this should do.
html form:
[html defaultAction: [self buttonClicked].
...
html submitButtonWithAction: [self buttonClicked] text: 'Accept'.
...
]
Can also be written like this
html formWithDefaultAction: [self buttonClicked] do:
[
...
html submitButtonWithAction: [self buttonClicked] text: 'Accept'.
...
]
With the canvas api, it would be something like this :
html form defaultAction: [self buttonClicked]; with:
[
...
html submitButton callback: [self buttonClicked]; text: 'Accept'.
...
]
HTH
Michel.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside