If you call WAComponent>>render:, not WAComponent>>renderContentOn:, then you don't need to do anything special to support both renderers. I think you are calling renderContentOn: explicitly, which you are not supposed to do.
<br><br>--Benjamin<br><br><div><span class="gmail_quote">On 8/24/06, <b class="gmail_sendername">Sergio Gianatiempo</b> &lt;<a href="mailto:gianatiempo@gmail.com">gianatiempo@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi!<br>first of all, i use to write t1 'cause i've seen it somewhere else,<br>and im a bit lazy to write;)<br><br>im trying to implement a form to catch the user input, making a<br>subclass of WALabelledFormDialog, now, i need to get a date from the
<br>user.<br>here i had 2 problems, i dont know very well how to render the date<br>and asking to a friend, he suggest me to use WADateInput, using<br>WARenderCanvas, because WAHtmlRender is the old canvas and is here<br>
only for compatibility, so, i start to move on to the new canvas, and<br>i must now rewrite everything to fit the new canvas.<br>thats why i was thinking how much usefull will be to be able to use<br>both canvas simultaneously.
<br><br><br>On 8/24/06, Michael Roberts &lt;<a href="mailto:mike@mjr104.co.uk">mike@mjr104.co.uk</a>&gt; wrote:<br>&gt; Hi,<br>&gt;<br>&gt; first thing I noticed was your 't1'.&nbsp;&nbsp;Did you paste that from your<br>&gt; method or type that by hand?&nbsp;&nbsp;If it's the former you might have a
<br>&gt; problem with your sources files not being available.&nbsp;&nbsp;It looks like<br>&gt; your source is being decompiled - it's easy to fix.<br>&gt;<br>&gt; Second, with the components that you are talking about - are you<br>
&gt; trying to embed them in a page?&nbsp;&nbsp;If so do they not both respond to<br>&gt; #render: ?<br>&gt;<br>&gt; html render: myObject<br>&gt;<br>&gt; from<br>&gt; <a href="http://www.seaside.st/Documentation/EmbeddingSubcomponents/">
http://www.seaside.st/Documentation/EmbeddingSubcomponents/</a><br>&gt;<br>&gt; Can you give us a more concrete example of what you're trying to do?<br>&gt;<br>&gt; Cheers,<br>&gt;<br>&gt; Mike<br>&gt;<br>&gt;<br>&gt; On 24 Aug 2006, at 18:47, Sergio Gianatiempo wrote:
<br>&gt;<br>&gt; &gt; Hi ppl!<br>&gt; &gt;<br>&gt; &gt; im newbie with squeak and seaside, and im having some troubles from<br>&gt; &gt; time to time trying to make thing work beacuse there are Components<br>&gt; &gt; that need to be rendered with WAHtmlRenderer and others with
<br>&gt; &gt; WARenderCanvas.<br>&gt; &gt;<br>&gt; &gt; i think (i dont know if its possible/reachable) in a way to render<br>&gt; &gt; content with both canvas... something like:<br>&gt; &gt; renderContentOn: t1<br>&gt; &gt;&nbsp;&nbsp; t1 renderWithCanvas:[...].
<br>&gt; &gt;&nbsp;&nbsp; t1 renderWithRenderer:[...].<br>&gt; &gt;<br>&gt; &gt; so u can change render every time u need, i think that its not so<br>&gt; &gt; simple... but, can we do it? its something possible, or im dreaming??<br>
&gt; &gt;<br>&gt; &gt; thanks in advance<br>&gt; &gt;<br>&gt; &gt; --<br>&gt; &gt; Sergio Gianatiempo<br>&gt; &gt; _______________________________________________<br>&gt; &gt; Seaside mailing list<br>&gt; &gt; <a href="mailto:Seaside@lists.squeakfoundation.org">
Seaside@lists.squeakfoundation.org</a><br>&gt; &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; <a href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org</a><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><br><br>--<br>Sergio Gianatiempo<br>_______________________________________________<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">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></blockquote></div><br>