Hi ALL, thanks for the information and I'll really appreciate it. At this time, I'm looking to convert a Rails application to Seaside.<div><br></div><div>-Conrad<br><br><div class="gmail_quote">On Thu, Apr 17, 2008 at 1:52 PM, Michael Lucas-Smith <<a href="mailto:mlucas-smith@cincom.com">mlucas-smith@cincom.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8x;border-left:1px #ccc solid;padding-left:1ex">
self session currentRequest at: #beXml ifPresent: [ : it | self session returnResponse: (WAResponse new<br>
contentType: 'text/xml' ;<br>
contents: someObject sixxString readStream ;<br>
yourself)]<br>
<br>
</blockquote></div>
If you make your own WACanvas subclass too you can do something like this:<br>
<br>
response := Seaside.WAResponse new.<br>
response contentType: 'application/atom+xml'.<br>
response nextPutAll: '<?xml version="1.0" encoding="utf-8"?>'.<br>
atom := SeasideAtom.AtomCanvas new.<br>
atom context: html context.<br>
html context document stream: response stream.<br>
... do stuff with our new atom canvas ...<br>
self session returnResponse: response.<div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">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></div>