[Seaside] same page, two forms, two callbacks but same action url

Philippe Marschall philippe.marschall at gmail.com
Sat Jul 7 19:52:45 UTC 2012

On Sat, Jun 30, 2012 at 2:17 AM, Sebastian Sastre
<sebastian at flowingconcept.com> wrote:
> Hi there,
> it doesn't sound like a feature but having two forms in the same page, each
> of one has a different #defaultAction:, doesn't seem to work.
> It ends up rendering the same action url in both forms which doesn't make
> sense to me
> Am I missing a fix or I am getting something wrong?

Yes, they do have the same action URL. The technical reason for this
is there's only one action continuation per render context and it's
used for all forms on a page. The same action URL is also used for all
the links on a page. However things should still work as they do for
multiple links on the same page. The trick is that the different
actions have different callback keys. So the default action in the
first form should have a different callback key than the second. Only
one of them should get submitted so only one of them should get
executed. Can you verify this? Alternatively could you supply us with
a simple demo application that demonstrates the problem? If have
written a small application myself and haven't been able to reproduce
the issue, to me everything seems to work fine.


More information about the seaside mailing list