Well I don&#39;t know what your #showVariation:a:b:user: method looks like, of course. But, in it, if you simply evaluate either a or b with #value, it should work. Oh, hang on, you wouldn&#39;t want the &quot;html html:&quot; part. Just this ought to work (assuming your method evaluates one of the blocks and I&#39;m not missing something about what you&#39;re doing):<br>

<br>user:=ABUser new.<br>
ABTest<br>    showVariation: &#39;sample&#39;<br>
    a: [ html image url:&#39;<a href="http://www.seaside.st/styles/logo-plain.png" target="_blank">http://www.seaside.st/styles/logo-plain.png</a>&#39; ]<br>
    b: [ html image url:&#39;<a href="http://www.seaside.st/styles/esug.gif" target="_blank">http://www.seaside.st/styles/esug.gif</a>&#39; ]<br>
    user: user.<br><br>Julian<br><br><div class="gmail_quote">On Fri, Apr 9, 2010 at 8:58 PM, Paul DeBruicker <span dir="ltr">&lt;<a href="mailto:pdebruic@gmail.com">pdebruic@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi Julian,<br>
<div class="im"><br>
<br>
<br>
On Sun, 04 Apr 2010 04:01:31 -0700 (PDT)<br>
<a href="mailto:seaside-request@lists.squeakfoundation.org">seaside-request@lists.squeakfoundation.org</a> wrote:<br>
<br>
&gt; Well, I guess it should work, but why do you need a new Renderer? Why<br>
&gt; not just:<br>
&gt;<br>
&gt;        user:=ABUser new.<br>
&gt;        html html: (ABTest showVariation: &#39;sample&#39;<br>
&gt;                           a: [ html image<br>
&gt; url:&#39;<a href="http://www.seaside.st/styles/logo-plain.png" target="_blank">http://www.seaside.st/styles/logo-plain.png</a>&#39; ]<br>
&gt;                           b: [ html image<br>
&gt; url:&#39;<a href="http://www.seaside.st/styles/esug.gif" target="_blank">http://www.seaside.st/styles/esug.gif</a>&#39; ]<br>
&gt;                           user: user).<br>
<br>
</div>When I make your change the image in the page is replaced with<br>
this:<br>
<br>
[closure] in PDMainComponent&gt;&gt;renderContentOn:<br>
<br>
Where PDMainComponent is just the class name for my class where I try<br>
stuff out.  I use the new Renderer to get a string of html that can be<br>
injected into the DOM.  I think I&#39;d rather not make a new renderer, but<br>
I don&#39;t know how to show the variation without it.  At the same time<br>
and based on my current level or &#39;expertise&#39;, having the string of html<br>
means I can reproduce what was shown in other venues more easily should<br>
the need arise.  I just don&#39;t understand how the seaside internals work<br>
well enough to know how to do it another way.<br>
<br>
<br>
Thanks for your guidance.<br>
<font color="#888888"><br>
Paul<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>