[Seaside] Re: Webclient debug error

Lawson English lenglish5 at cox.net
Fri Aug 6 19:26:29 UTC 2010


On 8/6/10 9:49 AM, Andreas Raab wrote:
> On 8/6/2010 6:06 AM, Lawson English wrote:
>> http://homepage.mac.com/svc/Reddit.st/
>>
>> suggests using
>>
>> (WebClient httpGet: self url) isSuccess
>>
>> to test for a valid URL.
>
> Looks like this needs to be wrapped into an error handler, e.g.,
>
>     [(WebClient httpGet: self url) isSuccess]
>         on: Error do:[:ex| ex return false].
>
>
Great. Thanks muchly!


Lawson



More information about the seaside mailing list