Re: combined within FrameSet
Jacob Kjome <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
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