RE: [Tiles] Embedding tiles inside of tiles

2006-06-08 Thread Susan G. Conger
The image changes depending on the page that is being displayed.  Ideally I
would like to just be able to point to the .gif file in the tiles-def.xml
file.  Here is what I have so far:



  
  
 
  

  
 
 
 
 
  



I want the student.header to be displayed in the student.layout.  Inside the
student.header the description changes depending on the page that is being
displayed.  So right now it is course details but later it could change to
let say 4 different things: abc, efg, rts, and xyz.  I don't want to have to
create a html file for each of these just to have the description display
them.  Can I just point to the gif file?  Also how do I embed the
student.header into the student.layout?

Thanks,
Susan

-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 08, 2006 10:22 AM
To: Struts Users Mailing List
Subject: Re: [Tiles] Embedding tiles inside of tiles


Susan G. Conger ha scritto:
> First, my header.jsp has a section where the graphic changes depend on 
> what page is begin displayed.  I can't seem to figure out the correct 
> way to implement this.

What do you mean with "graphic"? A picture?
Ant how do you want to change this "graphic", I mean, what are the 
conditions that will cause the "graphic" to change?

>   Also do I need an html/jsp page to display this image change or can 
> I just point to the gif file?
>   

I think that you could simply use  tag for a single gif file 
instead of a tile.

Antonio

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Tiles] Embedding tiles inside of tiles

2006-06-08 Thread Susan G. Conger
I am new to using tiles and I have a couple of questions.  I have written a
page layout and I have it coming up but there are a couple of questions that
I have.  First, my header.jsp has a section where the graphic changes depend
on what page is begin displayed.  I can't seem to figure out the correct way
to implement this.  Also do I need an html/jsp page to display this image
change or can I just point to the gif file?

TIA,
Susan

==
Susan G. Conger Custom Windows & Macintosh Development
PresidentWeb Site Design & Development
YOERIC Corporation   Database Design & Development
256 Windy Ridge Road
Chapel Hill, NC  27517
Phone/Fax: (919)542-0071
[EMAIL PROTECTED]
www.yoeric.com
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]