<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 "wizards" 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><html><br><body><br> <span wicket:id="message">Message goes here</span><br>
</body><br></html></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> <<a href="mailto:ssastre@seaswork.com">ssastre@seaswork.com</a>> 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> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span> 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> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span> 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 color="#0000ff" face="Trebuchet MS" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span> my 2 cents,</span></font></div>
<div><font color="#0000ff" face="Trebuchet MS" size="2"></font> </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;"> </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 "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><br> </span><span>
src</span>=<span>"<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>"<br><br> </span><span>
width</span>=<span>"620"<br> </span><span>height</span>=<span>"500"<br> </span><span>frameborder</span>=<span>"0"<br> <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><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>