<!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>>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 <seaside-bounces@lists.squeakfoundation.org><BR>
To: Seaside - general discussion <seaside@lists.squeakfoundation.org><BR>
Sent: Sat Jun 30 12:44:58 2007<BR>
Subject: Re: [Seaside] WAComponent class>>applicationClass fix<BR>
<BR>
2007/6/30, Boris Popov <boris@deepcovelabs.com>:<BR>
> 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>
> Cheers!<BR>
><BR>
> -Boris<BR>
> (Sent from a BlackBerry)<BR>
><BR>
><BR>
> ----- Original Message -----<BR>
> From: seaside-bounces@lists.squeakfoundation.org<BR>
> <seaside-bounces@lists.squeakfoundation.org><BR>
> To: Seaside - general discussion<BR>
> <seaside@lists.squeakfoundation.org><BR>
> Sent: Sat Jun 30 09:16:57 2007<BR>
> Subject: Re: [Seaside] WAComponent class>>applicationClass fix<BR>
><BR>
> 2007/6/29, Boris Popov <boris@deepcovelabs.com>:<BR>
> > Looks like #applicationClass wasn't called anymore to allow subclasses<BR>
> > to override the application, so changed hardcoded WAApplication to a<BR>
> > call site here,<BR>
> ><BR>
> > applicationNamed: aString<BR>
> > | application |<BR>
> > application := self applicationClass named: aString.<BR>
> > application configuration addAncestor: WARenderLoopConfiguration new.<BR>
> > application preferenceAt: #rootComponent put: self.<BR>
> > ^application<BR>
> ><BR>
> > This is based on VisualWorks 2.7b1.5.1, it might be fixed in the Squeak<BR>
> > stream already.<BR>
><BR>
> This is not the case. I remember having seen this patch before but we<BR>
> rejected it because we saw no need tying a component to an application<BR>
> and for subclassing applications. Can you elaborate what you need<BR>
> application subclasses for?<BR>
><BR>
> Cheers<BR>
> Philippe<BR>
><BR>
> > Cheers!<BR>
> ><BR>
> > -Boris<BR>
> ><BR>
> > --<BR>
> > +1.604.689.0322<BR>
> > DeepCove Labs Ltd.<BR>
> > 4th floor 595 Howe Street<BR>
> > Vancouver, Canada V6C 2T5<BR>
> > <A HREF="http://tinyurl.com/r7uw4">http://tinyurl.com/r7uw4</A><BR>
> ><BR>
> > boris@deepcovelabs.com<BR>
> ><BR>
> > CONFIDENTIALITY NOTICE<BR>
> ><BR>
> > This email is intended only for the persons named in the message<BR>
> > header. Unless otherwise indicated, it contains information that is<BR>
> > private and confidential. If you have received it in error, please<BR>
> > notify the sender and delete the entire message including any<BR>
> > attachments.<BR>
> ><BR>
> > Thank you.<BR>
> ><BR>
> > _______________________________________________<BR>
> > Seaside mailing list<BR>
> > Seaside@lists.squeakfoundation.org<BR>
> ><BR>
> <A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
> ><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>
><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>
><BR>
><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>