<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN
class=296274313-25062007>Hi Ruben,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN
class=296274313-25062007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN
class=296274313-25062007> did you evaluate the option of doing
it seaside based instead of static based?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN
class=296274313-25062007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN
class=296274313-25062007> I ask because, as far as I know,
almost anything but seaside can handle the back button and for controlling that
consistently you have to have a server to handle it consistently "behind
the scenes". For the rest, is almos a mere fileserver (over http), a role that
apache can handle very well.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN
class=296274313-25062007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN
class=296274313-25062007> my 2 cents,</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" color=#0000ff size=2></FONT> </DIV>
<DIV align=left><SPAN class=250542422-20122006>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=left><?xml:namespace prefix
= st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:PersonName
ProductID="Sebastian Sastre " w:st="on"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'">Sebastian
Sastre</SPAN></st1:PersonName></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=left><st1:PersonName
ProductID="Sebastian Sastre " w:st="on"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'"><?xml:namespace prefix = o
ns = "urn:schemas-microsoft-com:office:office" /><o:p><SPAN
class=296274313-25062007>PD: also as far as I know, most seaside apps are
architected like that</SPAN></o:p></SPAN></st1:PersonName></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'"><o:p> </o:p></SPAN></SPAN><BR></P></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=es dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De:</B> seaside-bounces@lists.squeakfoundation.org
[mailto:seaside-bounces@lists.squeakfoundation.org] <B>En nombre de </B>Ruben
Bakker<BR><B>Enviado el:</B> Lunes, 25 de Junio de 2007 10:38<BR><B>Para:</B>
seaside@lists.squeakfoundation.org<BR><B>Asunto:</B> [Seaside] Best way to
embedding Seaside in static HTML?<BR></FONT><BR></DIV>
<DIV></DIV><PRE><BR></PRE>I have some static pages (with navigation) etc. that are served
by apache. These pages are designed and published with RapidWeaver. Seaside is
used for some forms "inside" the static pages. Therefore I have setup apache
to proxy/reverse proxy Seaside. <BR><BR>The "embedding" is done with
iFrames:<BR><BR><PRE> <<SPAN>div</SPAN><SPAN> id</SPAN>=<SPAN>"content"</SPAN>><BR><BR> <<SPAN>iframe</SPAN><SPAN> name</SPAN>=<SPAN>"target"
<BR> </SPAN><SPAN>src</SPAN>=<SPAN>"<A onclick="return top.js.OpenExtLink(window,event,this)" href="http://mysite.com/seaside/entry_point" target=_blank>http://mysite.com/seaside/entry_point</A>"
<BR> </SPAN><SPAN>width</SPAN>=<SPAN>"620"<BR> </SPAN><SPAN>height</SPAN>=<SPAN>"500"<BR> </SPAN><SPAN>frameborder</SPAN>=<SPAN>"0"<BR>
</SPAN><SPAN>scrolling</SPAN>=<SPAN>"auto"<BR> </SPAN><SPAN>id</SPAN>=<SPAN>"target"</SPAN>></<SPAN>iframe</SPAN>> <SPAN><!-- End content --></SPAN></PRE><BR>It
works. However, some users experience problems: <BR>- the back key doesn't
work correctly<BR>- the seaside app is rendered after the static contents
<BR>- some browsers don't support the iframe tag<BR>- Refresh the page doesn't
refresh the iframe in some browsers<BR><BR>Is there any better way to achieve
the same goal? I know the opposite (seaside on the "outside") would work
better, however I do have more static contents and want the static pages to
perform as fast and as reliable as possible. <BR>Thanks for your
help!<BR><SPAN class=sg><SPAN><SPAN></SPAN></SPAN></SPAN>-- <BR>Ruben<BR><A
href="http://mailplaneapp.com">http://mailplaneapp.com</A>
</BLOCKQUOTE></BODY></HTML>