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 m
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,
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 y
Did you get my earlier reply to this?
> -Original Message-
> From: You Xu [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 06, 2004 3:08 PM
> To: [EMAIL PROTECTED]
> Subject: RE: tiles and message internationalization
>
>
>
> In the xml definition file, I
In the xml definition file, I have to write . This is why the extra JSP file title.jsp is created. I
can not just put the for the value attribute. I am
wondering if there is any simpler way so you can put the message directly into
the xml file.
__
> -Original Message-
> From: You Xu [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 06, 2004 2:38 PM
> To: [EMAIL PROTECTED]
> Subject: RE: tiles and message internationalization
>
>
> In the xml definition file, I have to write value="title.jsp"
In the xml definition file, I have to write . This is why the extra JSP file title.jsp is
created. I can not just put the for the "value"
attribute. I am wondering if there is any simpler way so you can put
the message directly into the xml file.
> -Original Message-
> From: You Xu [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 06, 2004 12:18 PM
> To: [EMAIL PROTECTED]
> Subject: tiles and message internationalization
>
>
> I have the following:
> . I need to make the
> title message a tile b
I have the following:
. I need to make the
title message a tile because several pages differ in the title. I can do
it by creating a JSP file that contains only one line . Is there any simpler way so that no additional JSP
is needed?
9 matches
Mail list logo