Hi!<br><br>To return a csv file which is opened by excel we are using the following code.<br>It should be implemented in WASession or in a subclass.<br><br>respondContent: aContentString ofMimeType: aTypeString fileName: aName<br>
&nbsp;&nbsp;&nbsp; &quot;Return a response with given string as content that is of passed mime type&quot;<br><br>&nbsp;&nbsp;&nbsp; self returnResponse: (WAResponse document: aContentString mimeType: aTypeString fileName: aName)<br><br>br<br>Gerhard<br>
<br><br><div class="gmail_quote">On Thu, Jun 26, 2008 at 1:56 PM, Diogenes Moreira &lt;<a href="mailto:diogenes.moreira@gmail.com">diogenes.moreira@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
yes, but how obtein my WAReponse Instance,<br><br>sorry i&#39;m newby.<br><br>Thanks...<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Thu, Jun 26, 2008 at 2:05 AM, Philippe Marschall &lt;<a href="mailto:philippe.marschall@gmail.com" target="_blank">philippe.marschall@gmail.com</a>&gt; wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2008/6/26 Diogenes Moreira &lt;<a href="mailto:diogenes.moreira@gmail.com" target="_blank">diogenes.moreira@gmail.com</a>&gt;:<br>


<div>&gt; Hi my folk,<br>
&gt;<br>
&gt; I need set the http header of a component.<br>
&gt;<br>
&gt; in another lenguage i can set liki this<br>
&gt;<br>
&gt; Response.AddHeadder (&quot;content-type&quot;, &quot;application/xls&quot;)<br>
&gt;<br>
&gt; But im don&#39;t how set this property in the commanche response.<br>
<br>
</div>You don&#39;t mess around with Comanche. You send #contentType:<br>
&#39;application/xls&#39; to your instance of WAResponse.<br>
<br>
Cheers<br>
Philippe<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>
</blockquote></div><br>
</div></div><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" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br>