[Seaside] No walkback when error in form callback when form issubmitted by another a batched list

Avi Bryant avi.bryant at gmail.com
Sat Apr 2 23:47:27 CEST 2005


On Mar 23, 2005 7:13 AM, Yar Hwee Boon <hboon at motionobj.com> wrote:

> How about this? The special hidden input is generated before the submit
> so forms can remain unchanged. This makes the assumption that #nextKey
> will be correct, is that always valid? To make a link be
> submit-on-click, we do:
> 
> =====
>      html attributes submitFormOnClick: formName key: html context
> nextKey.
>      html anchorWithAction: [self previousPage] text: '<'].

I added this to Seaside2.5b8-avi.3, but combined into one method, so
it's #anchorWithAction:text:submitFormNamed:.

This is a great example of why we should be moving to the new Canvas
style of renderer, where this would simple involve the addition of a
#submitFormNamed: method to the WAAnchorTag class.  Andrew's been
doing some good work on that on the 2.6a1 branch; more on that later.

Avi


More information about the Seaside mailing list