[Seaside] Form action problem (and defaultAction not working at all)

Julian Fitzell jfitzell at gmail.com
Mon Jul 16 22:22:23 UTC 2012

I wonder if you are simply misunderstand what #defaultAction: does... the
default action is only triggered when the user submits the form by pressing
Return in a text field.

The test at http://localhost:8080/tests/functional/WACallbackFunctionalTestseems
to be working fine. Click in the text box and press return and you'll
see the default action callback is being executed.

All forms on the page will have the same action key, just as all links have
the same base URL. Only the names of the parameters (whether form inputs or
url parameters) change. the _k refers to the page/continuation that
generated the callbacks, so it should usually be the same for everything on
a single rendered page.


On Mon, Jul 16, 2012 at 10:41 PM, Sebastian Sastre <
sebastian at flowingconcept.com> wrote:

> Hi there,
> I've loaded Seaside on Pharo 1.4 and the forms action issue is
> still there.
> I am missing a patch or is still an open issue?
> how are you guys getting X action executed when the user press enter in a
> form?
>  sebastian <https://about.me/sebastianconcept>
> o/
> PD: to reproduce the problem you can
> 1. go to WAHtml5InputTest
> 2. set a default action like this:
> html form defaultAction:[self halt]; with: [ html table: [
> ….
> 3. browse http://localhost:8080/tests/functional/WAHtml5InputTest and submit
> the form
> there are 2 problems:
> 1. you never get the default action executed
> 2. there are 2 forms in that page and they have the same action key which
> makes no sense
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20120716/d47d40f1/attachment.htm

More information about the seaside mailing list