You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Mutreja, Shitij" <SM...@collegeboard.org> on 2004/02/05 19:35:54 UTC
Tiles And Frames
Is there a good place/article/sample code to check out, for mixing
framesets and tiles. The App that I am working on seems to need to use both.
Basically, we have to display content such that there are 2 frames, the left
one showing some text, while the right one accepts user input. Both these
also need to be scrollable separately.
Am reposting this question. Sorry am desperate for an answer. Has anyone
ever tried using framesets from within tiles instead of the other way
around?
My intention is to somehow include these frames within a Body tile. The
other issue is that there is also a footer tile, which might need to include
a frameset. The reason being the the control buttons need to always be
visible(without having to scroll to view them).
Here is what i tried:
Layout used for the Body:
<div id="content-well">
<tiles:insert attribute="quiz"/>
<tiles:insert attribute="quizfooter"/>
</div>
quiz actually has a value in the tile-defs that points to the
quizcontent.jsp shown below:
<frameset cols="20,720,*">
<frame frameborder="0">
<frameset cols="360,*">
<frame frameborder="0"
src="/practicequizzes/quiz.jsp">
<frame frameborder="0"
src="/practicequizzes/quiz.jsp">
</frameset>
<frame frameborder="0">
</frameset>
The problem with this is that the "/practicequizzes/quiz.jsp" is never
actually sourced and I just see nothing in the body tile.
Thanks,
Shitij Mutreja
The College Board
11911 Freedom Drive, Suite 300
Reston, VA 20190
571.262.5701 (Phone)
703.707.5596 (Fax)
smutreja@collegeboard.org
http://www.collegeboard.com/highered/index.html
Re: Tiles And Frames
Posted by Adam L <ad...@hotmail.com>.
According to: http://www.w3.org/TR/REC-html40/present/frames.html
16.2 Layout of frames
An HTML document that describes frame layout (called a frameset document)
has a different makeup than an HTML document without frames. A standard
document has one HEAD section and one BODY. A frameset document has a HEAD,
and a FRAMESET in place of the BODY.
So, it's not so much a question of doing it within tiles, so much as not
allowed by HTML. How you generate your final html is irrelevant (tiles,
includes, ssi, tags, etc). What is important is the final product to be
read by the browser.
----- Original Message -----
From: "Michael McGrady" <mi...@michaelmcgrady.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>;
<st...@jakarta.apache.org>
Sent: Thursday, February 05, 2004 5:56 PM
Subject: Re: Tiles And Frames
> For you Tiles devotees out there, I think this would be something that
> would be really helpful. This is a recurring question. I know! I
> know! If I have time, I will, after the other stuff. Just a second of
> this need.
>
> At 10:35 AM 2/5/2004, Mutreja, Shitij wrote:
> >Is there a good place/article/sample code to check out, for mixing
> >framesets and tiles. The App that I am working on seems to need to use
both.
> >Basically, we have to display content such that there are 2 frames, the
left
> >one showing some text, while the right one accepts user input. Both these
> >also need to be scrollable separately.
> >Am reposting this question. Sorry am desperate for an answer. Has anyone
> >ever tried using framesets from within tiles instead of the other way
> >around?
> >
> >
> >My intention is to somehow include these frames within a Body tile. The
> >other issue is that there is also a footer tile, which might need to
include
> >a frameset. The reason being the the control buttons need to always be
> >visible(without having to scroll to view them).
> >
> >
> >Here is what i tried:
> >
> >Layout used for the Body:
> > <div id="content-well">
> > <tiles:insert attribute="quiz"/>
> > <tiles:insert attribute="quizfooter"/>
> > </div>
> >
> >quiz actually has a value in the tile-defs that points to the
> >quizcontent.jsp shown below:
> >
> > <frameset cols="20,720,*">
> > <frame frameborder="0">
> > <frameset cols="360,*">
> > <frame frameborder="0"
> >src="/practicequizzes/quiz.jsp">
> > <frame frameborder="0"
> >src="/practicequizzes/quiz.jsp">
> > </frameset>
> > <frame frameborder="0">
> > </frameset>
> >
> >The problem with this is that the "/practicequizzes/quiz.jsp" is never
> >actually sourced and I just see nothing in the body tile.
> >
> >Thanks,
> >
> >
> >Shitij Mutreja
> >The College Board
> >11911 Freedom Drive, Suite 300
> >Reston, VA 20190
> >571.262.5701 (Phone)
> >703.707.5596 (Fax)
> >smutreja@collegeboard.org
> >http://www.collegeboard.com/highered/index.html
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Tiles And Frames
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
For you Tiles devotees out there, I think this would be something that
would be really helpful. This is a recurring question. I know! I
know! If I have time, I will, after the other stuff. Just a second of
this need.
At 10:35 AM 2/5/2004, Mutreja, Shitij wrote:
>Is there a good place/article/sample code to check out, for mixing
>framesets and tiles. The App that I am working on seems to need to use both.
>Basically, we have to display content such that there are 2 frames, the left
>one showing some text, while the right one accepts user input. Both these
>also need to be scrollable separately.
>Am reposting this question. Sorry am desperate for an answer. Has anyone
>ever tried using framesets from within tiles instead of the other way
>around?
>
>
>My intention is to somehow include these frames within a Body tile. The
>other issue is that there is also a footer tile, which might need to include
>a frameset. The reason being the the control buttons need to always be
>visible(without having to scroll to view them).
>
>
>Here is what i tried:
>
>Layout used for the Body:
> <div id="content-well">
> <tiles:insert attribute="quiz"/>
> <tiles:insert attribute="quizfooter"/>
> </div>
>
>quiz actually has a value in the tile-defs that points to the
>quizcontent.jsp shown below:
>
> <frameset cols="20,720,*">
> <frame frameborder="0">
> <frameset cols="360,*">
> <frame frameborder="0"
>src="/practicequizzes/quiz.jsp">
> <frame frameborder="0"
>src="/practicequizzes/quiz.jsp">
> </frameset>
> <frame frameborder="0">
> </frameset>
>
>The problem with this is that the "/practicequizzes/quiz.jsp" is never
>actually sourced and I just see nothing in the body tile.
>
>Thanks,
>
>
>Shitij Mutreja
>The College Board
>11911 Freedom Drive, Suite 300
>Reston, VA 20190
>571.262.5701 (Phone)
>703.707.5596 (Fax)
>smutreja@collegeboard.org
>http://www.collegeboard.com/highered/index.html
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org