<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Re: [Seaside] WAComponent class&gt;&gt;applicationClass fix</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Sorry Lukas! Oh I agree it should be simpler, but as things stand the suggested fix is the only way of subclassing application class especially considering presence of #applicationClass on WAComponent which isn't sent anywhere else as is.<BR>
<BR>
Cheers!<BR>
<BR>
-Boris<BR>
(Sent from an iPhone... NOT!)<BR>
<BR>
----- Original Message -----<BR>
From: seaside-bounces@lists.squeakfoundation.org &lt;seaside-bounces@lists.squeakfoundation.org&gt;<BR>
To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<BR>
Sent: Sat Jun 30 12:44:58 2007<BR>
Subject: Re: [Seaside] WAComponent class&gt;&gt;applicationClass fix<BR>
<BR>
2007/6/30, Boris Popov &lt;boris@deepcovelabs.com&gt;:<BR>
&gt; expiryPathFor:<BR>
<BR>
Looks like you just ruined the weekend of Lukas ;)<BR>
<BR>
Less cryptic this means:<BR>
Valid point but we think this should be doable easier than by<BR>
subclassing WAApplication. An expired handler similar to an error<BR>
handler. There was once a bug for this ....<BR>
<BR>
Cheers<BR>
Philippe<BR>
<BR>
&gt;&nbsp; Cheers!<BR>
&gt;<BR>
&gt;&nbsp; -Boris<BR>
&gt;&nbsp; (Sent from a BlackBerry)<BR>
&gt;<BR>
&gt;<BR>
&gt;&nbsp; ----- Original Message -----<BR>
&gt;&nbsp; From: seaside-bounces@lists.squeakfoundation.org<BR>
&gt; &lt;seaside-bounces@lists.squeakfoundation.org&gt;<BR>
&gt;&nbsp; To: Seaside - general discussion<BR>
&gt; &lt;seaside@lists.squeakfoundation.org&gt;<BR>
&gt;&nbsp; Sent: Sat Jun 30 09:16:57 2007<BR>
&gt;&nbsp; Subject: Re: [Seaside] WAComponent class&gt;&gt;applicationClass fix<BR>
&gt;<BR>
&gt;&nbsp; 2007/6/29, Boris Popov &lt;boris@deepcovelabs.com&gt;:<BR>
&gt;&nbsp; &gt; Looks like #applicationClass wasn't called anymore to allow subclasses<BR>
&gt;&nbsp; &gt; to override the application, so changed hardcoded WAApplication to a<BR>
&gt;&nbsp; &gt; call site here,<BR>
&gt;&nbsp; &gt;<BR>
&gt;&nbsp; &gt; applicationNamed: aString<BR>
&gt;&nbsp; &gt;&nbsp; | application |<BR>
&gt;&nbsp; &gt;&nbsp; application := self applicationClass named: aString.<BR>
&gt;&nbsp; &gt;&nbsp; application configuration addAncestor: WARenderLoopConfiguration new.<BR>
&gt;&nbsp; &gt;&nbsp; application preferenceAt: #rootComponent put: self.<BR>
&gt;&nbsp; &gt;&nbsp; ^application<BR>
&gt;&nbsp; &gt;<BR>
&gt;&nbsp; &gt; This is based on VisualWorks 2.7b1.5.1, it might be fixed in the Squeak<BR>
&gt;&nbsp; &gt; stream already.<BR>
&gt;<BR>
&gt;&nbsp; This is not the case. I remember having seen this patch before but we<BR>
&gt;&nbsp; rejected it because we saw no need tying a component to an application<BR>
&gt;&nbsp; and for subclassing applications. Can you elaborate what you need<BR>
&gt;&nbsp; application subclasses for?<BR>
&gt;<BR>
&gt;&nbsp; Cheers<BR>
&gt;&nbsp; Philippe<BR>
&gt;<BR>
&gt;&nbsp; &gt; Cheers!<BR>
&gt;&nbsp; &gt;<BR>
&gt;&nbsp; &gt; -Boris<BR>
&gt;&nbsp; &gt;<BR>
&gt;&nbsp; &gt; --<BR>
&gt;&nbsp; &gt; +1.604.689.0322<BR>
&gt;&nbsp; &gt; DeepCove Labs Ltd.<BR>
&gt;&nbsp; &gt; 4th floor 595 Howe Street<BR>
&gt;&nbsp; &gt; Vancouver, Canada V6C 2T5<BR>
&gt;&nbsp; &gt; <A HREF="http://tinyurl.com/r7uw4">http://tinyurl.com/r7uw4</A><BR>
&gt;&nbsp; &gt;<BR>
&gt;&nbsp; &gt; boris@deepcovelabs.com<BR>
&gt;&nbsp; &gt;<BR>
&gt;&nbsp; &gt; CONFIDENTIALITY NOTICE<BR>
&gt;&nbsp; &gt;<BR>
&gt;&nbsp; &gt; This email is intended only for the persons named in the message<BR>
&gt;&nbsp; &gt; header. Unless otherwise indicated, it contains information that is<BR>
&gt;&nbsp; &gt; private and confidential. If you have received it in error, please<BR>
&gt;&nbsp; &gt; notify the sender and delete the entire message including any<BR>
&gt;&nbsp; &gt; attachments.<BR>
&gt;&nbsp; &gt;<BR>
&gt;&nbsp; &gt; Thank you.<BR>
&gt;&nbsp; &gt;<BR>
&gt;&nbsp; &gt; _______________________________________________<BR>
&gt;&nbsp; &gt; Seaside mailing list<BR>
&gt;&nbsp; &gt; Seaside@lists.squeakfoundation.org<BR>
&gt;&nbsp; &gt;<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;&nbsp; &gt;<BR>
&gt;&nbsp; _______________________________________________<BR>
&gt;&nbsp; Seaside mailing list<BR>
&gt;&nbsp; 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>
&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>
Seaside mailing list<BR>
Seaside@lists.squeakfoundation.org<BR>
<A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
</FONT>
</P>

</BODY>
</HTML>