Re: combined within FrameSet
"Ming Peng" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
If I create a file named with "index.html".And its content is the
following---
<html>
<head>
<title>Main Screen</title>
</head>
<body>
<div id="Main">
<!--#include file="head.ssi"-->
<!--#include file="content.ssi"-->
<!--#include file="foot.ssi"-->
</div>
</body>
</html>
Then I create the SSI files respectively.At last,I use XMLC to compile the
"index.html" to "IndexHTML.class".The XMLC will include everything into the
single file automatically.Is that right?
I can't do any test because I have no environments on this machine.
>From: Jacob Kjome <[email protected]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: Re: [Barracuda] combined within FrameSet
>Date: Tue, 22 Jul 2003 08:07:02 -0500
>
>First, I'd avoid using html frames like the plague. That said,
>working with frames in Barracuda depends on how you are using them.
>You will only have the opportunity to manipulate the main frameset
>page itself once (the first time the frameset is loaded) unless you
>make it so that you reload the entire frameset with every page load.
> However reloading the whole frameset with 3 frames means that you
>are loading 4 pages upon every frameset reload. And remember that
>none of these pages really knows about the other pages because they
>are all requested by the browser, not pushed to the client in one
>big lump from the server. So, when using frames, remember that you
>have to treat each of these pages individually using Barracuda (or
>any other server-side presentation framework, for that matter).
>This means that page processing with frames is almost no different
>than when not using frames. This also means that attempting to
>"import" a frame node into a main frameset is impossible because
>this is part of a client side request, not a server side response,
>so there is no concept of DOM processing of individual frames from a
>frameset document.
>
>Hope that makes things more clear. Again, I'd avoid frames. It'll
>only make things more confusing for you and less accessible for your
>users. I'd use SSI's (server side includes) instead and deliver
>content in single pages.
>
>Jake
>
>At 12:36 PM 7/22/2003 +0800, you wrote:
>> My main page is a FrameSet page with three frames.How can it
>>display correctly in the Barracuda?Import the src document by
>>"main.import(frameNode_1)"...?
>>
>>_________________________________________________________________
>>涓虹杩琛浜ゆ锛璇蜂娇 MSN Messenger:
>>http://messenger.msn.com/cn
>>
>>_______________________________________________
>>Barracuda mailing list
>>[email protected]
>>http://barracudamvc.org/lists/listinfo/barracuda
>
>_______________________________________________
>Barracuda mailing list
>[email protected]
>http://barracudamvc.org/lists/listinfo/barracuda
_________________________________________________________________
浜ㄤ涓澶х靛欢绯荤 MSN Hotmail http://www.hotmail.com