[opencms-dev] Re: Static export of dynamic frames
Bart Elberg
belberg at idealcorp.com
Wed Oct 16 05:09:04 CEST 2002
Well, I thought that it worked. :( The generated HTML from the last
attempt ends up as:
<frame src= "http://server1/static/projects/projects/_1311"
name="menu" scrolling="NO" frameborder="NO" noresize marginwidth= "0"
marginheight= "0">
but "_1311" does not exist. Nothing like that is generated. When
browsing the dynamic version of this page (with Tomcat) the HTML for the
frame is:
<frame
src="http://localhost:8080/opencms/opencms/projects/projects/?cmsframe=inside_menu"
name= "menu" scrolling= "NO" frameborder= "NO" noresize marginwidth="0"
marginheight="0">
and this does not work either. It causes a "404 - not found" error. So
back to the original question...
DOES ANYONE KNOW HOW TO HANDLE DYNAMIC FRAMES WITH STATIC EXPORT?????
------------------------------
Bart Elberg wrote:
> I have a website that uses dynamic frames in a template. For example:
>
> <frame src="]]><method
> name="getFrameQueryString">inside_menu</method><![CDATA["
> name="menu" scrolling="NO" frameborder="NO" noresize
> marginwidth="0" marginheight="0">
>
> I want to get a static export version of this website, but don't see
> how frames can be handled. Just to
> see what happens, I tried a few different ways. In the orginal form
> (above), the export generates:
>
> src="?inside_menu"
>
> By inserting LINK tags around the METHOD tag in the template, export
> generates:
>
> src=""
>
> Obviously, not even close. Looking at the code for
> getFrameQueryString(), there is no support for
> static export in this method. So I decided to go to the raw form tried:
>
> <frame src="]]><link>?cmsframe=inside_menu</link><![CDATA["
> name="menu"
> scrolling="NO" frameborder="NO" noresize marginwidth="0"
> marginheight="0">
>
> and it WORKED! Hope this helps other users.
>
> Now for the question... Is there a problem doing it this way (as long
> as the URLdoesn't additional parameters)??
>
--
Bart Elberg
Manager of Software Development
__________________________________________________
I.D.E.A.L. Technology Corporation - Orlando Office
http://www.idealcorp.com - 407.999.9870 x15
More information about the opencms-dev
mailing list