On 7/1/05, Surya Prakash <[EMAIL PROTECTED]> wrote:
> 
> I am using Tacos partial components and they are working fine but one
> problem, if I get an error on the server side how do I report them back
> to the user?  Is there any function available within them, so that
> errors can be trapped and reported back to user?

there are two kinds of errors you can handle: http communication
error, or application level errors (the ones resulting in tapestry
exception pages). Application errors get rendered as a full page. For
http communication errors, you can register additional error handling
code in javascript for PartRequest and PartPost, something like:

PartPost.after("failed", function() {
  // your code here
});

for more info, see the source of net/sf/tacos/partial/Partial.js

regards,
  viktor

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to