[Seaside] How to show the errors produced when a SUEvaluator is
renggli at gmail.com
Sun Oct 12 07:29:20 UTC 2008
> I would like to replace the contents of the tag body with the error report.
> Something like:
> [ "proceses callback" ]
> on: Error
> do: [ : err | aScript element
> id: (SUStream on: 'document.body');
> update: [: render | self reportError: err on: render ] ]
> It is possible?
Sure, that might work in your specific case. I am not sure, if this is
something that makes sense in all applications.
> > I guess using something like
> > FireBug is the only feasible solution. In the log of FireBug you
> > immediately see any problems.
> Yes, I use it, but the problem is that I cannot inform users that an error
> has occurred
The event #onFailure: or one of the others might help here.
More information about the seaside