<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Hi Piere,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" 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<div>Karsten</div><div><br></div><div><br> <div id="bloop_sign_1423581517349701888" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px"><span style="font-family: 'helvetica Neue', helvetica; font-size: 12.800000190734863px;">--&nbsp;</span><br style="font-family: 'helvetica Neue', helvetica; font-size: 12.800000190734863px;"><div style="font-family: 'helvetica Neue', helvetica; font-size: 12.800000190734863px;">Karsten Kusche - Dipl. Inf. (FH) -&nbsp;<a href="mailto:karsten@heeg.de" style="color: rgb(0, 106, 227);">karsten@heeg.de</a></div><div style="font-family: 'helvetica Neue', helvetica; font-size: 12.800000190734863px;">Georg Heeg eK - Köthen</div><div style="font-family: 'helvetica Neue', helvetica; font-size: 12.800000190734863px;">Handelsregister: Amtsgericht Dortmund A 12812&nbsp;</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">chans.pierre@gmail.com</a>) schrieb:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>




<title></title>


<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't understand...<br>
<br></div>
This code should be working logically:<br>
<br>
-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<br>
<br>
html iframe attributeAt: 'width' put:'500'; attributeAt: 'height'
put:'300'; document:<br>
<br>
'&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="demo"&gt;&lt;/p&gt;<br>
&lt;script&gt;<br>
var car = "Fiat";<br>
document.getElementById("demo").innerHTML = car;<br>
&lt;/script&gt;<br>
&lt;/body&gt;<br>
&lt;/html&gt;'<br>
<br>
mimeType: 'text/javascript'.<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>
&nbsp;&nbsp;&nbsp; f := html iframe attributeAt: 'width' put:'500';
attributeAt: 'height' put:'300'; document: (LBFileLibrary new
sunHtml) mimeType: 'text/html'.<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 class="h5"><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'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.&nbsp; Can'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>seaside@lists.squeakfoundation.org
<br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
<br></div></div></span></blockquote></div></body></html>