<div class="gmail_quote">On Mon, Mar 30, 2009 at 10:18 PM, Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">&gt; handleFiltered: aRequestContext<br>
&gt;        &quot;Handle the request inside a transaction and with a retry policy&quot;<br>
&gt;<br>
&gt;        [super handleFiltered: aRequestContext]<br>
&gt;                on: WAResponseNotification<br>
&gt;                do:[:n|<br>
&gt;                        self halt.<br>
&gt;                        aRequestContext response]<br>
&gt;<br>
&gt; but when I set the app to use WAMain it won&#39;t halt and it renders a blank page.<br>
&gt; Is that expected?<br>
<br>
</div>I don&#39;t really see the reason why WAMain is still there. It is almost<br>
empty and it is certainly not a valid main class. You need to use<br>
WARenderLoopMain or one of its subclasses. I am sure Julian can tell<br>
us more.<br>
<font color="#888888"></font></blockquote><div><br>It&#39;s there because it&#39;s an abstract superclass. The Session package defines and refers to it and requires its protocol. The actual useful subclasses are provided by other packages. WAMain is the moral equivalent of writing this in a C program:<br>
<br>int main() {<br><br>}<br><br>Julian<br></div></div>