<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=koi8-r">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>HA: [Seaside] Can't get debug link - please help</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>many thanks<BR>
You really helped<BR>
<BR>
-----Исходное сообщение-----<BR>
От: seaside-bounces@lists.squeakfoundation.org от имени Nick Ager<BR>
Отправлено: Вс, 23.05.2010 21:44<BR>
Кому: Seaside - general discussion<BR>
Тема: Re: [Seaside] Can't get debug link - please help<BR>
<BR>
Hi Alexey,<BR>
<BR>
I'm afraid you've come across a configuration bug caused by the order in<BR>
which loaded classes are initialized.<BR>
There are three solutions:<BR>
1) In a workspace execute: WAWalkbackErrorHandler initialize<BR>
This will ensure that all applications you register in the future will<BR>
provide a walkback error.<BR>
2) open <A HREF="http://localhost:8080/config">http://localhost:8080/config</A><BR>
select &quot;test&quot; - or any application you've registered<BR>
Under the &quot;filters&quot; section press the &quot;configure&quot; button<BR>
&gt;From the &quot;Exception Handler&quot; selection list select: WAWalkbackErrorHandler,<BR>
(or experiment with different handlers)<BR>
Click &quot;OK&quot;<BR>
3) to do the above programmatically execute the following in a workspace:<BR>
| app |<BR>
app := WADispatcher default handlerAt: 'test'.<BR>
app filter configuration takeValue: WAWalkbackErrorHandler forAttribute:<BR>
(app filter configuration attributeAt: #exceptionHandler).<BR>
<BR>
Hope this helps<BR>
<BR>
Nick<BR>
<BR>
2010/5/23 Каменев А.Н. &lt;kamenew@apk-invest.com&gt;<BR>
<BR>
&gt;<BR>
&gt; Hello!<BR>
&gt;<BR>
&gt;<BR>
&gt; Pharo 1.0 and Seaside 3.0<BR>
&gt;<BR>
&gt;<BR>
&gt; 1) WAComponent subclass: #StTestComponent<BR>
&gt;<BR>
&gt; 2) renderContentOn: html<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html text: self getText.<BR>
&gt;<BR>
&gt; 3) getText<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nil test.<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^'Hello world !!!'.<BR>
&gt;<BR>
&gt; 4) WAAdmin register: StTestComponent asApplicationAt: 'test'.<BR>
&gt;<BR>
&gt; 5) Tools/Seaside Control Panel<BR>
&gt; add adaptor: WAComancheAdaptor<BR>
&gt; start on 8080 (set Debug mode)<BR>
&gt;<BR>
&gt; 6) <A HREF="http://localhost:8080/test">http://localhost:8080/test</A><BR>
&gt;<BR>
&gt; MessageNotUnderstood: receiver of &quot;test&quot; is nil<BR>
&gt;<BR>
&gt; Your request could not be completed. An exception occurred.<BR>
&gt;<BR>
&gt;<BR>
&gt; 7) Page does not contain link to debug !!!(<BR>
&gt;<BR>
&gt; what am I doing wrong ?<BR>
&gt;<BR>
&gt;<BR>
&gt; With best regards<BR>
&gt; Alexey Kamenew<BR>
&gt;<BR>
&gt; _______________________________________________<BR>
&gt; seaside mailing list<BR>
&gt; seaside@lists.squeakfoundation.org<BR>
&gt; <A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
&gt;<BR>
&gt;<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>