Archive of UserLand's first discussion group, started October 5, 1998.

Re: Fail from a callback?

Author:Brent Simmons
Posted:8/16/1999; 11:58:46 AM
Topic:Fail from a callback?
Msg #:9569 (In response to 9566)
Prev/Next:9568 / 9570

I'd like to put a preGetFromServer callback in there to stop this from happening. What kind of result do I need to return from such a callback to tell "Get From Server" not to encode the data?

Generate a scriptError in your callback, that will prevent the encoding (and the rest of the operation) from taking place.

This page was archived on 6/13/2001; 4:51:56 PM.

© Copyright 1998-2001 UserLand Software, Inc.