struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "VAN BROECK Jimmy" <Jimmy.VANBRO...@post.be>
Subject RE: Tiles in Frameset
Date Thu, 02 Sep 2004 13:50:46 GMT
Use the columnLayout tile which is default included with tiles.

Just put in a definition in your tiles-config like this.

<definition name="column.layout.tile" path="/WEB-INF/jsp/modules/shared/columnsLayout.jsp"
/>
-> definition of the column Layout

and then specific

<definition name="your.definition" extends="column.layout.tile">
<putList name="list1"><!--first column -->
      <add value="first.1column.tile"/>
      <add value="second.1column.tile"/>
</putList>
<putList name="list2">
     <add value="first.2column.tile"/>
     <add value="second.2column.tile"/>
</putList>
<!--etc-->
</definition>

<definition name="first.1column.tile" path="/WEB-INF/jsp/tilePage.jsp/>
<etc>

Greetings
Jimmy

Jimmy Van Broeck 
Consultant 
BT 

CITS 
DE POST - LA POSTE 
ICT-Development 
WTC II - Kantoor 307 
email: jimmy.vanbroeck@post.be 



-----Original Message-----
From: Caroline Jen [mailto:jiapei_jen@yahoo.com]
Sent: donderdag 2 september 2004 15:43
To: struts-user@jakarta.apache.org
Subject: Tiles in Frameset


How do I display tiles in columns in the browser?

I have been using tiles feature of the Struts
framework, and the tiles are displayed in the browser
in "rows".  This is my setup (which works fine):

<tiles:get name="banner"/>
<tiles:get name="upperbar"/>
<tiles:get name="content"/>
<tiles:get name="lowerbar"/>

Now, the third row has two columns; the column on the
left is a pane with a number of links.  All my web
pages will show this column.  The column on the right
is the content, which varies page by page.

How do I modify my setup for the third row to have two
columns?   




		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



STRICTLY PERSONAL AND CONFIDENTIAL
This message may contain confidential and proprietary material for the sole use of the intended
recipient. Any review or distribution by others is strictly prohibited. If you are not the
intended recipient please contact the sender and delete all copies.

Ce Message est uniquement destiné aux destinataires indiqués et peut contenir des informations
confidentielles. Si vous n'êtes pas le destinataire, vous ne devez pas révéler le contenu
de ce message ou en prendre copie. Si vous avez reçu ce message par erreur, veuillez en informer
l'expéditeur, ou La Poste immédiatement, avant de le supprimer.

Dit bericht is enkel bestemd voor de aangeduide ontvangers en kan vertrouwelijke informatie
bevatten. Als u niet de ontvanger bent, dan mag u de inhoud van dit bericht niet bekendmaken
noch kopiëren. Als u dit bericht per vergissing heeft ontvangen, gelieve er de afzender of
De Post onmiddellijk van op de hoogte te brengen en het bericht vervolgens te verwijderen.
Mime
View raw message