<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"><<a href="mailto:karsten@heeg.de" target="_blank">karsten@heeg.de</a>></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:'helvetica Neue',helvetica;font-size:12.800000190734863px">-- </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) - <a href="mailto:karsten@heeg.de" style="color:rgb(0,106,227)" target="_blank">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 </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'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>
'<!DOCTYPE html><br>
<html><br>
<body><br>
<p>Creating a JavaScript Variable.</p><br>
<p id="demo"></p><br>
<script><br>
var car = "Fiat";<br>
document.getElementById("demo").innerHTML = car;<br>
</script><br>
</body><br>
</html>'<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&ik=9e625bc053&view=fimg&th=14b740aab9938a2b&attid=0.1&disp=emb&realattid=ii_i5zfcf4g1_14b740982e3a5b2a&attbid=ANGjdJ9ecBxuAEZPE3P0hFiq6eIt9Z1EHAQMi9H_tw4mTvvLSnBHt65Eypea3TywH83O0Ii6wA-yzOnmymWcUHBo_bEwNrgOaKTxmo9z4HQblw8-lrzTYS09Y7IhS8s&sz=s0-l75&ats=1423581031586&rm=14b740aab9938a2b&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"><<a href="mailto:chans.pierre@gmail.com" target="_blank">chans.pierre@gmail.com</a>></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: '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"><<a href="mailto:chans.pierre@gmail.com" target="_blank">chans.pierre@gmail.com</a>></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'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>>#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'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"><<a href="mailto:sven@stfx.eu" target="_blank">sven@stfx.eu</a>></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>>#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>
> On 05 Feb 2015, at 15:26, Pierre CHANSON <<a href="mailto:chans.pierre@gmail.com" target="_blank">chans.pierre@gmail.com</a>> wrote:<br>
><br>
> Hi all,<br>
><br>
> 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>
><br>
> Thanks a lot !!<br>
><br>
> Pierre<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>
<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>