Hello all,
i would like to use template tags.
For exemple, i will define a JSP template like this :
%@ taglib uri=/WEB-INF/struts-template.tld prefix=template %
html
head
titletemplate:get name=title//title
link rel=stylesheet type=text/css href=toto.css/
/head
body
template:get
The template tags are deprecated in 1.1 in favor of Tiles.
David
From: Jean-Baptiste Onofré [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Struts template tag
Date: Mon, 18 Nov 2002 17:08:06 +0100
Hello all,
i would like to use
Thanks for info,
but i'm in 1.0.2 in my dev.
I will try that i have write :)
Best regards
--
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://www.lug-beziers.org
[EMAIL PROTECTED]
--
To unsubscribe,
I use nested template tag as the following:
template:insert template=template.jsp
template:put name=header content=header.jsp/
template:put name=content direct=true
template:insert template=contentTemplate.jsp
template:put name=contentTitleImage
content=images/content_01.gif
m
Robert Taylor wrote:
Although it doesn't discuss struts template tag specifically, the J2EE
BluePrint has a good section on the comparison of JSP includes and using
templates. I believe it is in section 10.3 where it discuss the Sample
Application: View.
http://java.sun.com/j2ee/
tables where you set the header, footer, sidebar, and etc...) on every
single jsp page.
Troy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Jim Newsham
Sent: Friday, March 16, 2001 7:20 PM
To: [EMAIL PROTECTED]
Subject: struts-template tag library vs
jsp:include,
otherwise it serves no purpose. So my question is, what does
struts-template
offer as an improvement over jsp:include? The answer may be as simple as
"it
provides a consistent and readable syntax", or it may be more substantial.
Thank you,
Jim Newsham
Robert Taylor wrote:
Hi,
What are the differences between using the struts template tag library and
jsp's include action? What are the advantages and trade-offs of each?
Thanks,
Jim Newsham
8 matches
Mail list logo