Does anyone know where I can find the docs for the
template tags?
Greg
Hess
Software
Engineer
Wrapped
Apps Corporation
275 Michael Cowpland Dr.
Suite
201
Ottawa, Ontario
K2M
2G2
Tel
the template tags doc's go?
Does anyone know where I can find the doc's for the template tags?
Greg Hess
Software Engineer
Wrapped Apps Corporation
275 Michael Cowpland Dr.
Suite 201
Ottawa, Ontario
K2M 2G2
Tel: (613) 591 -7552
Fax: (613) 591-0523
1 (877) 388-6742
www.wrappedapps.com
PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Tiles vs Template Tags
Date: Tue, 22 Oct 2002 22:01:22 -0700
I want the layout of my application in such a way that if I want to change
it I have to make changes in a minimum number of places. What should I use
Tiles or Template Tags
I want the layout of my application in such a way that if I want to change it I have
to make changes in a minimum number of places. What should I use Tiles or Template
Tags? Can someone highlight the difference between the two?
Also when iterating a collection i want to check whether a value
---BeginMessage---
Hi!
I'm new to that Struts thing. I changed our Web site servlet to the
ActionServlet with XML config design in a day or so and it works fine
BUT there does not seem to be anyway to trap logical errors (I'm not
talking about errors in a JSP page here): like let's say you
I am encountering a problem in using template tag
Here is the samle jsp
%@ page language=java %
%@ taglib uri=/WEB-INF/tlds/struts-bean.tld prefix=bean %
%@ taglib uri=/WEB-INF/tlds/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/tlds/struts-logic.tld prefix=logic %
%@ taglib
in definition file).
[EMAIL PROTECTED] wrote:
You mean something like this?
logic:iterate id=x
template:get name=%= x % /
/logic:iterate
I am not sure, whether this is possible in the
soon-to-be-deprecated template
tags or in the tiles tags, but the idea is good.
No, I mean
I put a special header and footer on all my pages. I'd like
to do this with the template tags. Template tags allow
you to pass named parameters to the template. However, I need
to pass a list of things (navigation URLs) into my header
so it can print a list of hyperlinks. It doesn't seem possible
I put a special header and footer on all my pages. I'd like
to do this with the template tags. Template tags allow
you to pass named parameters to the template. However, I need
to pass a list of things (navigation URLs) into my header
so it can print a list of hyperlinks. It doesn't
somehow with the template tags?
Devon
You mean something like this?
logic:iterate id=x
template:get name=%= x % /
/logic:iterate
I am not sure, whether this is possible in the soon-to-be-deprecated template
tags or in the tiles tags, but the idea is good.
--
gR
You mean something like this?
logic:iterate id=x
template:get name=%= x % /
/logic:iterate
I am not sure, whether this is possible in the
soon-to-be-deprecated template
tags or in the tiles tags, but the idea is good.
No, I mean a caller like:
template:insert template
I have constructed a simple war utilizing the struts-template tag library.
I have deployed it to Tomcat, but I'm getting the error below. Any ideas?
Thanks,
Matt
html
head
titleh1Included servlet error: 500/h1
h2Location: /uiframework/index.jsp/h2
h2Error Location:
I'm running into some weird behavior using the template tags. I have a
directory structure which separates different areas of my application into
different directories. My template.jsp file is in my root directory and is
shared by pages in the sub-directories. The problem is, all paths to other
http://jakarta.apache.org/struts/api/org/apache/struts/taglib/template/package-summary.html#package_description
The URL above includes the following statement regarding the Struts Template
Tags library: These templates are best used when it is likely that a layout
shared by several pages
Maybe your browser doesn't render correctly your page, due to a problem with
generated html tags. Check the source code of the resulting page : do you see
evidence of "missing" parts ?
Cedric
Olivier Houyoux wrote:
Hi,
I'm using the template library to create a dynamic template for
Hi,
I'm using the template library to create a dynamic template for index pages
that share the same format (see below). One of the pages (menu.jsp) that
compose the template has a form which validation is handled by two
components : the associated ActionForm object for the simple validation and
-Ursprungliche Nachricht-
Von:John Nikolai [SMTP:[EMAIL PROTECTED]]
Gesendet am:Mittwoch, 21. Februar 2001 01:31
An: [EMAIL PROTECTED]
Betreff:Template tags?
Hi all!
I'm defiantly new to the struts and taglibs so please bear with my questions:
We
"D. Veniseleas" wrote:
these taglibs. The template taglibs are in CVS and easily accessed but I'm
wondering if these are going to be distributed in the next release of
struts.
To quote David Geary, 'templates are here to stay'. All functionality that is in the
Beta or nightly builds will
Ok thanx
common element on the pages, you can do that
using the JSP include tags, pulling in the common nav bar within
each content page.
The template tags (as we've been using them, at least) support a
somewhat different model: your content pages push their specific
content into common templates, which place
it is added to struts there will probably be some re-work
involved but it should be straightforward.
Hal
-Original Message-
From: Maya Muchnik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 10:48 AM
To: [EMAIL PROTECTED]
Subject: Re: Struts, WebLogic 6.0 and template tags
Hello
PROTECTED]]
Sent: Wednesday, February 21, 2001 11:28 AM
To: [EMAIL PROTECTED]
Subject: Re: Struts, WebLogic 6.0 and template tags
Hal,
Please give a code example with a component, when you cannot get an
exception.
And how it can be fix now.
Maya
"Deadman, Hal" wrote:
I am usi
Hi, we like to use Struts with Bea WLS 6.0 for a B2B application. Currently
I am developing a prototype and the first tests under Tomcat worked fine. I
used the Struts template tags for a page design with header, navigation menu
and content. An example:
%@ taglib uri='/WEB-INF/tlds/struts
Hal,
Please give a code example with a component, when you cannot get an exception.
And how it can be fix now.
Maya
"Deadman, Hal" wrote:
I am using the components add-on and I like it but it shouldn't go into the
1.0 release. It's too much code and has too much functionality to be merged
Maya Muchnik wrote:
Hello, Torsen,
It is not an answer to your question. But I would like to use this email and
ask the struts development team about compatibility template library and
components library (http://www.lifl.fr/~dumoulin/components/). Components allow
to define "instances" to
(false);
return ! bodyContent.getString().equals("");
}
-Original Message-
From: Beuck, Torsten [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 10:26 AM
To: '[EMAIL PROTECTED]'
Subject: Struts, WebLogic 6.0 and template tags
Hi, we like to use Struts with B
xception in:"+ page+ "] " +
realEx.getMessage()+ "'" );
}
catch (Exception ex) {
processException( ex, "[Exception in:" + page + "] "+
ex.getMessage());
}
-Original Message-
From: Maya Muchnik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, Febru
Torsten" wrote:
Hi, we like to use Struts with Bea WLS 6.0 for a B2B application. Currently
I am developing a prototype and the first tests under Tomcat worked fine. I
used the Struts template tags for a page design with header, navigation menu
and content. An example:
%@ taglib uri='/WE
, WebLogic 6.0 and template tags
Hello, Torsen,
It is not an answer to your question. But I would like to use this email and
ask the struts development team about compatibility template library and
components library (http://www.lifl.fr/~dumoulin/components/). Components
allow
to define
"Craig R. McClanahan" wrote:
Maya Muchnik wrote:
Hello, Torsen,
It is not an answer to your question. But I would like to use this email and
ask the struts development team about compatibility template library and
components library (http://www.lifl.fr/~dumoulin/components/).
on the pages, you can do that
using the JSP include tags, pulling in the common nav bar within
each content page.
True, but templates are so much cooler. ;-)
The template tags (as we've been using them, at least) support a
somewhat different model: your content pages push their specific
content
r properties key)
SUBSTITUTION, as follows:
template:insert template='bean:message key="templateName.JSP"/' /
Or variable substitution as follows:
template:insert template='%= somePreviouslyDefinedVariableName %' /
We do the same for puts and gets, etc, thereby nesting bean tags in
t
"Laufer, Michael" wrote:
Hi,
I'm already programming a couple of
weeks with Struts and I'm totally fascinated about it, but
I still haven't figured out, when
I could, should ... use the template-tags of the
Struts framework.
Could anybody give me a short introduction,maybe
with a sho
33 matches
Mail list logo