Jason,
 
Thanks for the detailed info. It helps.
 
-You

Jason Lea <[EMAIL PROTECTED]> wrote:
An example of what you can do

tiles-def.xml (.main.home defines menus and other things, and extends 
layout.jsp):










I put the title in my layout template:
layout.jsp (using JSP 2.0/JSTL/EL - you may have to set resource name to 
be the same as the one Struts uses):
...




or using struts tags, layout.jsp:
...




or a mixture of struts tags and EL (requires html-el struts tags), 
layout.jsp:
...





The tiles:importAttribute is pulling all the values into request scope 
so that I can use them on this page and other tiles pages.


You Xu wrote:

>I saw your reply as follows:
> 
>
>
>
> 
>
> 
>But what do you put in the xml definition file? The problem is that you can 
>not use in the JSP page and put in the xml file for the value of that title 
>string. It won't work. 
>---------------------------------
>Do you Yahoo!?
> All your favorites on one personal page – Try My Yahoo!
> 
>

-- 
Jason Lea




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


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to