<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Julian Fitzell wrote:
<blockquote cite="mid44069D83.7000101@beta4.com" type="cite">Whatever
your component returns when sent #rendererClass will be used as the
renderer for that component.
  <br>
  <br>
WAPresenter (a superclass of WAComponent) implements it like this:
  <br>
  <br>
rendererClass
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;^ WAHtmlRenderer
  <br>
</blockquote>
Julian et-al,<br>
<br>
I put the following in my main object class for my application just to
try things out:<br>
<br>
MyWebApp&gt;&gt;rendererClass<br>
&nbsp;&nbsp;&nbsp; "Set to either WAHtmlRenderer for old Seaside rendering or
WAHtmlCanvas for new style"<br>
&nbsp;&nbsp;&nbsp; ^ WAHtmlCanvas<br>
<br>
MyWebApp&gt;&gt;renderContentOn: html<br>
&nbsp;&nbsp;&nbsp; html text: 'testing'<br>
<br>
<br>
when I re-load my page, I get the following output :<br>
<br>
<h1>Message not understood: #context:callbacks:</h1>
Seaside.WAHtmlCanvas class(Object)&gt;&gt;doesNotUnderstand:<br>
<br>
Now, I will admit that I've upgraded from Seaside 2.5b8 to 2.6a2 (I
couldn't find a3 on the Cincom server).. Not sure<br>
if that matters..<br>
<br>
Anyway, an interesting item is (in my opinion) is that the top object
on the stack indicates that we're using WAHtmlCanvas,<br>
but a few items down the stack has items that are showing things like
(using WAHtmlRenderer):<br>
<br>
optimized [] in Seaside.WAComponent&gt;&gt;renderOn:
<table>
  <tbody>
    <tr>
      <td class="label">self</td>
      <td>BlockClosure [] in Seaside.WAComponent&gt;&gt;renderOn:</td>
    </tr>
    <tr>
      <td colspan="2"><b>temps</b></td>
    </tr>
    <tr>
      <td class="label">each</td>
      <td>a MyWebApp</td>
    </tr>
    <tr>
      <td class="label">aRenderer</td>
      <td>a Seaside.WAHtmlRenderer</td>
    </tr>
    <tr>
      <td colspan="2"><b>inst vars</b></td>
    </tr>
    <tr>
      <td class="label">method</td>
      <td>CompiledBlock [] in Seaside.WAComponent&gt;&gt;renderOn:</td>
    </tr>
    <tr>
      <td class="label">outerContext</td>
      <td>nil</td>
    </tr>
    <tr>
      <td class="label">copiedValues</td>
      <td>a Seaside.WAHtmlRenderer</td>
    </tr>
  </tbody>
</table>
<br>
Is there something I've missed for the switchover?<br>
<br>
</body>
</html>