[Seaside] add parameter to settings onAjaxError/ajaxErrorHandler

Sabine Manaa manaa.sabine at gmail.com
Sat Feb 11 15:46:01 UTC 2017


Hi Johan,

sorry for not being clear enough. The supressErrors variable is available
in the Ajax request of  my code snippet but not in the callbacks generated
inside RKADeletedAccountView and this was my problem. While writing the
answer I came to the point, that I have to add the suppressErrors option
also in the RKADeletedAccountViews Ajax requests. Silly. I was missing that
because I use one method with parameters for all my form elements and so I
forgot that I have Ajax requests there, too (onFocus, onBlur, serialize).
So, the problem is solved and it works perfect!

Thanks for your help again and I certainly would try to join the seaside
course for Joachim, too :-)

The pageID is attached to the body:
<body id="page" onload="onLoad()" style="">

BTW: did you proceed in the "back button" topic? I once (3 years now) asked
and also found a working solution ([1]). But now the history.js is no
longer supported and I am looking for another solution. I don't need to
show old data, I only want to show the pages in the order they were
called...with the newest data.

Regards and have a nice Sunday.

Sabine

[1] http://forum.world.st/How-did-you-solve-the-ajax-amp-
back-browser-button-problem-td4759490.html#a4760713


>




--
View this message in context: http://forum.world.st/add-parameter-to-settings-onAjaxError-ajaxErrorHandler-tp4933109p4933927.html
Sent from the Seaside General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20170211/dcf79db4/attachment.html>


More information about the seaside mailing list