<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>RE: [Seaside] 2.5 beta 1</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>&gt; I'll be sitting here, eagerly awaiting bug reports...</FONT>
</P>

<P><FONT SIZE=2>... Here is your first one, in WAHalo again :)</FONT>
</P>

<P><FONT SIZE=2>The findStyles method creates a new rendering context that is not</FONT>
<BR><FONT SIZE=2>holding any request. You get a dnu when you need to access the request</FONT>
<BR><FONT SIZE=2>like in WABasicAuthentication&gt;&gt;renderContentOn: or like in the VW port</FONT>
<BR><FONT SIZE=2>when we need to access the native request to determine if we are running</FONT>
<BR><FONT SIZE=2>behind Apache.</FONT>
</P>

<P><FONT SIZE=2>I changed findStyles like this :</FONT>
</P>

<P><FONT SIZE=2>findStyles</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>| context |</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>context := WARenderingContext new</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>document: WAStyleCollector new;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>actionUrl: WAUrl new.</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>context request: self session currentRequest.</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>target renderWithContext: context.</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>^ String streamContents:</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>[:s |</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>context document styles do: [:ea | s nextPutAll: ea; space]]</FONT>
</P>

<P><FONT SIZE=2>Michel.</FONT>
</P>

</BODY>
</HTML>