<div dir="ltr">hi Karsten, yes I tried with this mimeType too but always the same problem. <br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-10 12:19 GMT-03:00 Karsten Kusche <span dir="ltr">&lt;<a href="mailto:karsten@heeg.de" target="_blank">karsten@heeg.de</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hi Piere,</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">you’re setting your mimetype to javascript, yet you return HTML. Maybe you should change the mimetype to text/html.</div> <div><br></div>Kind Regards<span class="HOEnZb"><font color="#888888"><div>Karsten</div><div><br></div></font></span><div><span class="HOEnZb"><font color="#888888"><br> <div><div style="font-family:helvetica,arial;font-size:13px"><span style="font-family:&#39;helvetica Neue&#39;,helvetica;font-size:12.800000190734863px">-- </span><br style="font-family:&#39;helvetica Neue&#39;,helvetica;font-size:12.800000190734863px"><div style="font-family:&#39;helvetica Neue&#39;,helvetica;font-size:12.800000190734863px">Karsten Kusche - Dipl. Inf. (FH) - <a href="mailto:karsten@heeg.de" style="color:rgb(0,106,227)" target="_blank">karsten@heeg.de</a></div><div style="font-family:&#39;helvetica Neue&#39;,helvetica;font-size:12.800000190734863px">Georg Heeg eK - Köthen</div><div style="font-family:&#39;helvetica Neue&#39;,helvetica;font-size:12.800000190734863px">Handelsregister: Amtsgericht Dortmund A 12812 </div></div></div> <br><p style="color:#000">Am 10. Februar 2015 bei 16:13:47, Pierre CHANSON (<a href="mailto:chans.pierre@gmail.com" target="_blank">chans.pierre@gmail.com</a>) schrieb:</p></font></span><div><div class="h5"> <blockquote type="cite"><span><div><div></div><div>







<div dir="ltr">
<div>
<div>
<div>
<div>
<div><br>
Hi again, I am sorry maybe this post is not that interesting but I
really do have something I don&#39;t understand...<br>
<br></div>
This code should be working logically:<br>
<br>
-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<br>
<br>
html iframe attributeAt: &#39;width&#39; put:&#39;500&#39;; attributeAt: &#39;height&#39;
put:&#39;300&#39;; document:<br>
<br>
&#39;&lt;!DOCTYPE html&gt;<br>
&lt;html&gt;<br>
&lt;body&gt;<br>
&lt;p&gt;Creating a JavaScript Variable.&lt;/p&gt;<br>
&lt;p id=&quot;demo&quot;&gt;&lt;/p&gt;<br>
&lt;script&gt;<br>
var car = &quot;Fiat&quot;;<br>
document.getElementById(&quot;demo&quot;).innerHTML = car;<br>
&lt;/script&gt;<br>
&lt;/body&gt;<br>
&lt;/html&gt;&#39;<br>
<br>
mimeType: &#39;text/javascript&#39;.<br>
<br>
-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<br>
<br></div>
<div>And I just obtain this...<br></div>
<div><br></div>
<img src="https://mail.google.com/mail/u/0/?ui=2&amp;ik=9e625bc053&amp;view=fimg&amp;th=14b740aab9938a2b&amp;attid=0.1&amp;disp=emb&amp;realattid=ii_i5zfcf4g1_14b740982e3a5b2a&amp;attbid=ANGjdJ9ecBxuAEZPE3P0hFiq6eIt9Z1EHAQMi9H_tw4mTvvLSnBHt65Eypea3TywH83O0Ii6wA-yzOnmymWcUHBo_bEwNrgOaKTxmo9z4HQblw8-lrzTYS09Y7IhS8s&amp;sz=s0-l75&amp;ats=1423581031586&amp;rm=14b740aab9938a2b&amp;zw" height="277" width="475"><br>
<br></div>
Thanks in advance if someone already did something like this or
know how to could it be possible to solve this :)<br>
<br></div>
cheers,<br>
<br></div>
Pierre<br>
<div>
<div>
<div>​<br>
<div><br>
<br></div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-02-06 17:45 GMT-03:00 Pierre CHANSON
<span dir="ltr">&lt;<a href="mailto:chans.pierre@gmail.com" target="_blank">chans.pierre@gmail.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>hi,<br>
<br></div>
now I can add a file in LBFileLabrary and put it in an iframe. I am
trying to do the same with the html file using:<br>
<br>
-=-=-=-=-=-=-=-=-=-=-=-=-=<br>
    f := html iframe attributeAt: &#39;width&#39; put:&#39;500&#39;;
attributeAt: &#39;height&#39; put:&#39;300&#39;; document: (LBFileLibrary new
sunHtml) mimeType: &#39;text/html&#39;.<br>
-=-=-=-=-=-=-=-=-=-=-=-=-=<br>
<br></div>
Is this supposed to work ? without the mimeType i get the text
written in the iframe and with mimeType: I get nothing.<br></div>
Maybe I am not using the right mimeType ? (I tried a few without
success) Because this file apparently contains html, javascript and
css....<br>
<br>
<br></div>
I joined my html file.<br>
<br></div>
Cheers,<br>
<br></div>
Pierre<br></div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-02-05 12:56 GMT-03:00 Pierre CHANSON
<span dir="ltr">&lt;<a href="mailto:chans.pierre@gmail.com" target="_blank">chans.pierre@gmail.com</a>&gt;</span>:
<div>
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>
<div>Hi Joachim and Sven, thanks !<br>
<br></div>
actually it&#39;s a html file generated in the server side but as I
have both client and server here I thought I could just use a file
path for now, which would be turned into an url in
localhost/file...<br></div>
<div><br></div>
<div>This html could be any local html that would have been
generated separately.<br></div>
<div><br></div>
Looking WAIFrameFunctionalTest&gt;&gt;#renderContentOn:, I realized
that the sample.png was stored in a virtual folder,
/files/WATestingFiles/sample.png which is in fact the
WATestingFiles class, and the file is given as a ByteArray by a
method.  Can&#39;t I change this virtual folder by a real folder ?
Is it in the configuration ?<br>
<br></div>
Pierre<br>
<div>
<div><br>
<br></div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-02-05 11:54 GMT-03:00 Sven Van
Caekenberghe <span dir="ltr">&lt;<a href="mailto:sven@stfx.eu" target="_blank">sven@stfx.eu</a>&gt;</span>:
<div>
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Did
you see WAIFrameFunctionalTest&gt;&gt;#renderContentOn: ?<br>
<br>
In any case, you will have to serve the file somehow, for which
there are several options.<br>
<br>
Why do you want to do this ? What is in it ?<br>
<br>
Because if you generated it yourself, you could just as well serve
it directly on demand.<br>
<div>
<div><br>
&gt; On 05 Feb 2015, at 15:26, Pierre CHANSON &lt;<a href="mailto:chans.pierre@gmail.com" target="_blank">chans.pierre@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I am starting with Seaside and I would like to put a local
file.html in an Iframe... I have to say that I am stuck with this.
Any idea how I should do that ?<br>
&gt;<br>
&gt; Thanks a lot !!<br>
&gt;<br>
&gt; Pierre<br></div>
</div>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
&gt; <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>
_______________________________________________<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>
</div>
</div>
<br></div>
</blockquote>
</div>
</div>
</div>
<br></div>
</blockquote>
</div>
<br></div>
</div>


_______________________________________________
<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></span></blockquote></div></div></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></div>