Thank you!<br>it gave me the lead to do what I need it, thanks<br><br>Hernan.<br><br><div class="gmail_quote">On Fri, May 28, 2010 at 2:53 PM, Nick Ager <span dir="ltr">&lt;<a href="mailto:nick.ager@gmail.com">nick.ager@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div><div></div><div class="h5"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div> is seaside 2.8 you could do something like this:</div><div><span style="white-space: pre;"><br>
</span></div><div><span style="white-space: pre;">        </span>self session returnResponse: (WAResponse </div>
<div><span style="white-space: pre;">                </span>document: aDocument</div><div><span style="white-space: pre;">                </span>mimeType: &#39;application/vnd.ms-excel&#39;</div><div><span style="white-space: pre;">                </span>fileName: &#39;xxx.xls&#39;)</div>


<div><br></div><div>that is, return in the response a specific content, in this case a csv report.</div><div><br></div><div>How can I do the same with Seaside 3.0? I could not find it...</div></blockquote><div><br></div>

</div></div><div>In my project I&#39;ve code which reads:</div><div><br></div><div><span style="white-space: pre;">        </span>self requestContext respond: </div><div><span style="white-space: pre;">                </span>[ :response | </div>

<div><span style="white-space: pre;">                </span>response</div><div><span style="white-space: pre;">                        </span>contentType: WAMimeType textHtml;</div><div><span style="white-space: pre;">                        </span>nextPutAll: (WAHtmlCanvas builder</div>

<div><span style="white-space: pre;">                                </span>documentClass: WAXmlDocument;</div><div><span style="white-space: pre;">                                </span>fullDocument: true;</div><div><span style="white-space: pre;">                                </span>render: [:html |</div>

<div><span style="white-space: pre;">                                        </span>html space</div><div><span style="white-space: pre;">                                        </span>];</div><div><span style="white-space: pre;">                                </span>yourself)]</div>
<div><br></div><div>hope this points in the a sensible direction</div><div><br></div><font color="#888888"><div>Nick </div></font></div>
<br>_______________________________________________<br>
seaside-dev mailing list<br>
<a href="mailto:seaside-dev@lists.squeakfoundation.org">seaside-dev@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
<br></blockquote></div><br>