<br>Hi Sebastian,<br><br>Thanks for your answer. <br><br>Here are the reasons why I did the static stuff in RapidWeaver:<br>- I have designed the site with a graphical tool, supported by templates etc. This is much easier than writing code and css by hand.
<br>- The site is super robust, only apache need to run to serve all static contents<br>- The site is very fast and can absorb heavy load, seaside is only bothered with the dynamic stuff<br>- No sessions, no timeouts for the static stuff
<br><br>I have currently a couple of &quot;wizards&quot; that are dynamic. These are done in seaside. My dream was to embed those into the static pages. Design, navigation etc. are already there.<br><br><br>In GWT (Google Web Toolkit) or Wicket you can embed your components at a specific point in HTML: 
<br><br>Here is a Wicket example, where the component is inserted as the contents of the span element:<br><pre>&lt;html&gt;<br>&lt;body&gt;<br>    &lt;span wicket:id=&quot;message&quot;&gt;Message goes here&lt;/span&gt;<br>
&lt;/body&gt;<br>&lt;/html&gt;</pre>Does a similar functionality exist in Seaside? It would allow me to use the static HTML and then embed my dynamic seaside components. These pages would of course be controlled by Seaside to allow the rendering to work, back button to work.
<br><br>I hope this makes sense.<br><br><br><div><span class="gmail_quote">On 6/25/07, <b class="gmail_sendername">Sebastian Sastre</b> &lt;<a href="mailto:ssastre@seaswork.com">ssastre@seaswork.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span>Hi Ruben,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span>&nbsp;&nbsp;&nbsp; did you evaluate the option of doing 
it seaside based instead of static based?</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span>&nbsp;&nbsp;&nbsp; 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&nbsp;it consistently &quot;behind 
the scenes&quot;. 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 color="#0000ff" face="Trebuchet MS" size="2"><span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span>&nbsp;&nbsp;&nbsp; my 2 cents,</span></font></div>
<div><font color="#0000ff" face="Trebuchet MS" size="2"></font>&nbsp;</div>
<div align="left"><span>
<p style="margin: 0cm 0cm 0pt;" align="left"><span style="font-size: 10pt;">Sebastian 
Sastre</span></p>
<p style="margin: 0cm 0cm 0pt;" align="left"><span style="font-size: 10pt;"><span>PD: also as far as I know, most seaside apps are 
architected like that</span></span></p>
<p style="margin: 0cm 0cm 0pt;"><span style="font-size: 10pt;">&nbsp;</span></p></span><br></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div dir="ltr" align="left" lang="es">
  <hr>
  <font face="Tahoma" size="2"><b>De:</b> <a href="mailto:seaside-bounces@lists.squeakfoundation.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">seaside-bounces@lists.squeakfoundation.org</a> 
  [mailto:<a href="mailto:seaside-bounces@lists.squeakfoundation.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">seaside-bounces@lists.squeakfoundation.org</a>] <b>En nombre de </b>Ruben 
  Bakker<br><b>Enviado el:</b> Lunes, 25 de Junio de 2007 10:38<br><b>Para:</b> 
  <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">seaside@lists.squeakfoundation.org</a><br><b>Asunto:</b> [Seaside] Best way to 
  embedding Seaside in static HTML?<br></font><br></div><div><span class="e" id="q_11363246ad086e73_1">
  <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 &quot;inside&quot; the static pages. Therefore I have setup apache 
  to proxy/reverse proxy Seaside. <br><br>The &quot;embedding&quot; is done with 
  iFrames:<br><br><pre>     &lt;<span>div</span><span> id</span>=<span>&quot;content&quot;</span>&gt;<br><br>          &lt;<span>iframe</span><span> name</span>=<span>&quot;target&quot;<br><br>               </span><span>
src</span>=<span>&quot;<a href="http://mysite.com/seaside/entry_point" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mysite.com/seaside/entry_point</a>&quot;<br><br>               </span><span>
width</span>=<span>&quot;620&quot;<br>               </span><span>height</span>=<span>&quot;500&quot;<br>               </span><span>frameborder</span>=<span>&quot;0&quot;<br>               <br></span><span>scrolling</span>
=<span>&quot;auto&quot;<br>               </span><span>id</span>=<span>&quot;target&quot;</span>&gt;&lt;/<span>iframe</span>&gt; <span>&lt;!-- End content --&gt;</span></pre><br>It 
  works. However, some users experience problems: <br>- the back key doesn&#39;t 
  work correctly<br>- the seaside app is rendered after the static contents 
  <br>- some browsers don&#39;t support the iframe tag<br>- Refresh the page doesn&#39;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 &quot;outside&quot;) 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><span><span></span></span></span>-- <br>Ruben<br><a href="http://mailplaneapp.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mailplaneapp.com</a> 
</span></div></blockquote></div>
<br>_______________________________________________<br>Seaside mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" 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><br clear="all"><br>-- <br>Ruben<br><a href="http://mailplaneapp.com">http://mailplaneapp.com</a>