HA: [Seaside] Can't get debug link - please help

Каменев А.Н. kamenew at apk-invest.com
Sun May 23 19:01:12 UTC 2010


Many thanks !!!
You really helped.

-----Исходное сообщение-----
От: seaside-bounces at lists.squeakfoundation.org от имени Nick Ager
Отправлено: Вс, 23.05.2010 21:44
Кому: Seaside - general discussion
Тема: Re: [Seaside] Can't get debug link - please help
 
Hi Alexey,

I'm afraid you've come across a configuration bug caused by the order in
which loaded classes are initialized.
There are three solutions:
1) In a workspace execute: WAWalkbackErrorHandler initialize
This will ensure that all applications you register in the future will
provide a walkback error.
2) open http://localhost:8080/config
select "test" - or any application you've registered
Under the "filters" section press the "configure" button
>From the "Exception Handler" selection list select: WAWalkbackErrorHandler,
(or experiment with different handlers)
Click "OK"
3) to do the above programmatically execute the following in a workspace:
| app |
app := WADispatcher default handlerAt: 'test'.
app filter configuration takeValue: WAWalkbackErrorHandler forAttribute:
(app filter configuration attributeAt: #exceptionHandler).

Hope this helps

Nick

2010/5/23 Каменев А.Н. <kamenew at apk-invest.com>

>
> Hello!
>
>
> Pharo 1.0 and Seaside 3.0
>
>
> 1) WAComponent subclass: #StTestComponent
>
> 2) renderContentOn: html
>         html text: self getText.
>
> 3) getText
>         nil test.
>         ^'Hello world !!!'.
>
> 4) WAAdmin register: StTestComponent asApplicationAt: 'test'.
>
> 5) Tools/Seaside Control Panel
> add adaptor: WAComancheAdaptor
> start on 8080 (set Debug mode)
>
> 6) http://localhost:8080/test
>
> MessageNotUnderstood: receiver of "test" is nil
>
> Your request could not be completed. An exception occurred.
>
>
> 7) Page does not contain link to debug !!!(
>
> what am I doing wrong ?
>
>
> With best regards
> Alexey Kamenew
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3933 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100523/1d9f8150/attachment-0001.bin


More information about the seaside mailing list