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> <<a href="mailto:gianatiempo@gmail.com">gianatiempo@gmail.com</a>> 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 <<a href="mailto:mike@mjr104.co.uk">mike@mjr104.co.uk</a>> wrote:<br>> Hi,<br>><br>> first thing I noticed was your 't1'. Did you paste that from your<br>> method or type that by hand? If it's the former you might have a
<br>> problem with your sources files not being available. It looks like<br>> your source is being decompiled - it's easy to fix.<br>><br>> Second, with the components that you are talking about - are you<br>
> trying to embed them in a page? If so do they not both respond to<br>> #render: ?<br>><br>> html render: myObject<br>><br>> from<br>> <a href="http://www.seaside.st/Documentation/EmbeddingSubcomponents/">
http://www.seaside.st/Documentation/EmbeddingSubcomponents/</a><br>><br>> Can you give us a more concrete example of what you're trying to do?<br>><br>> Cheers,<br>><br>> Mike<br>><br>><br>> On 24 Aug 2006, at 18:47, Sergio Gianatiempo wrote:
<br>><br>> > Hi ppl!<br>> ><br>> > im newbie with squeak and seaside, and im having some troubles from<br>> > time to time trying to make thing work beacuse there are Components<br>> > that need to be rendered with WAHtmlRenderer and others with
<br>> > WARenderCanvas.<br>> ><br>> > i think (i dont know if its possible/reachable) in a way to render<br>> > content with both canvas... something like:<br>> > renderContentOn: t1<br>> > t1 renderWithCanvas:[...].
<br>> > t1 renderWithRenderer:[...].<br>> ><br>> > so u can change render every time u need, i think that its not so<br>> > simple... but, can we do it? its something possible, or im dreaming??<br>
> ><br>> > thanks in advance<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>><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>><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>