You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by es...@tiaa-cref.org on 2002/03/21 19:30:27 UTC

Page wrapper element?

Hi,

I was wondering if anyone has some pointers on how to create sort of a 'page
wrapper' with struts.  I figure someone has tried something like this before

All of my pages have the same layout:
 __________________
|   header         |
|__________________|
|    |             |
|    |             |
|navi|  page body  |
|    |             |
|    |             |
|    |             |
|____|_____________|
|     footer       |
|__________________|

The only item that is different from page to page is the 'page body'
portion.  I'd like to avoid having the table structure and three includes
(header, navi, and footer) for each .jsp I create.  It would be much better
if I could do something like:

<pagewrapper:....>
....page body stuff in here.
</pagewrapper>

Is there anything out there already that does something like this?

Thanks in advance,
Eric.


**********************************************************************
This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies.  You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**********************************************************************

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Page wrapper element?

Posted by Steve Hupert <sm...@chartwellit.com>.
You may also want to look at the tiles framework (included in the 1.1 beta
or at http://www.lifl.fr/~dumoulin/tiles/)


-----Original Message-----
From: eschneider@tiaa-cref.org [mailto:eschneider@tiaa-cref.org]
Sent: Thursday, March 21, 2002 12:30 PM
To: struts-user@jakarta.apache.org
Subject: Page wrapper element?


Hi,

I was wondering if anyone has some pointers on how to create sort of a 'page
wrapper' with struts.  I figure someone has tried something like this before

All of my pages have the same layout:
 __________________
|   header         |
|__________________|
|    |             |
|    |             |
|navi|  page body  |
|    |             |
|    |             |
|    |             |
|____|_____________|
|     footer       |
|__________________|

The only item that is different from page to page is the 'page body'
portion.  I'd like to avoid having the table structure and three includes
(header, navi, and footer) for each .jsp I create.  It would be much better
if I could do something like:

<pagewrapper:....>
....page body stuff in here.
</pagewrapper>

Is there anything out there already that does something like this?

Thanks in advance,
Eric.


**********************************************************************
This message, including any attachments, contains confidential information
intended for a specific individual and purpose, and is protected by law.  If
you are not the intended recipient, please contact sender immediately by
reply e-mail and destroy all copies.  You are hereby notified that any
disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.
TIAA-CREF
**********************************************************************

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Page wrapper element?

Posted by Brad Rhoads <br...@zethcon.com>.
The struts-template example does just that. It's part of the struts
download.


-----Original Message-----
From: eschneider@tiaa-cref.org [mailto:eschneider@tiaa-cref.org]
Sent: Thursday, March 21, 2002 12:30 PM
To: struts-user@jakarta.apache.org
Subject: Page wrapper element?


Hi,

I was wondering if anyone has some pointers on how to create sort of a 'page
wrapper' with struts.  I figure someone has tried something like this before

All of my pages have the same layout:
 __________________
|   header         |
|__________________|
|    |             |
|    |             |
|navi|  page body  |
|    |             |
|    |             |
|    |             |
|____|_____________|
|     footer       |
|__________________|

The only item that is different from page to page is the 'page body'
portion.  I'd like to avoid having the table structure and three includes
(header, navi, and footer) for each .jsp I create.  It would be much better
if I could do something like:

<pagewrapper:....>
....page body stuff in here.
</pagewrapper>

Is there anything out there already that does something like this?

Thanks in advance,
Eric.


**********************************************************************
This message, including any attachments, contains confidential information
intended for a specific individual and purpose, and is protected by law.  If
you are not the intended recipient, please contact sender immediately by
reply e-mail and destroy all copies.  You are hereby notified that any
disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.
TIAA-CREF
**********************************************************************

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>