[Seaside] How to define default Button?

jtuchel at objektfabrik.de jtuchel at objektfabrik.de
Mon Jul 22 14:54:35 UTC 2013


in HTML, teh first submit Button is the one that gets activated when you 
press enter. No Exceptions to that rule (other than a so called fix to 
still render it first but reposition it using css...).

In Seaside, however, you can define a defaultCallback for a form. Maybe 
that is something to look into. There is a nice (but maybe dated) post 
by kentreis: 



Am 22.07.13 16:32, schrieb Sabine Knöfel:
> Hi,
> I have a page with entryfields, comboboxes etc and some buttons.
> One button is the "Save" button.
> I want that, if the user presses "return" somewhere at the page, the save
> Button is "pressed"/submitted.
> How can I set the default button which is submitted when pressing the enter
> button?
> Sabine
> --
> View this message in context: http://forum.world.st/How-to-define-default-Button-tp4700070.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list