Use of Struts 1.0.2 template tag doesn't display jsp errors in included files

2002-12-13 Thread Michael Echerer
Hi all, I'm using Tomcat 4.1.15 with Struts 1.0.2 and set up a framework to use templates with the template-Tags. I already set template:get flush=false but I still don't get any exceptions dumps if a part of jsp code is incorrect in any of the included files. The template part causing that

RE: Use of Struts 1.0.2 template tag doesn't display jsp errors in included files

2002-12-13 Thread mech
Message- From: Michael Echerer [mailto:[EMAIL PROTECTED]] Sent: Freitag, 13. Dezember 2002 14:02 To: [EMAIL PROTECTED] Subject: Use of Struts 1.0.2 template tag doesn't display jsp errors in included files Hi all, I'm using Tomcat 4.1.15 with Struts 1.0.2 and set up a framework

Struts template tag

2002-11-18 Thread Jean-Baptiste Onofré
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

Re: Struts template tag

2002-11-18 Thread David Graham
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

Re: Struts template tag

2002-11-18 Thread Jean-Baptiste Onofré
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,

Using the template tag library with parameters like jsp:param

2002-08-31 Thread CB Thomas
With jsp:include, I can pass parameter values to the included page by using jsp:param. Can I get this functionality using the Struts template tag library? If so, can I use request.getParameter to retrieve values in the included page

Re: Using the template tag library with parameters like jsp:param

2002-08-31 Thread David Geary
CB Thomas wrote: With jsp:include, I can pass parameter values to the included page by using jsp:param. Can I get this functionality using the Struts template tag library? Yes. Use the direct attribute, like this: template:put name='title' content='Templates' direct='true'/ Then in your

Re: Using the template tag library with parameters like jsp:param

2002-08-31 Thread Eddie Bush
There is also Tiles for this sort of thing. David Geary wrote: CB Thomas wrote: With jsp:include, I can pass parameter values to the included page by using jsp:param. Can I get this functionality using the Struts template tag library? Yes. Use the direct attribute, like this: Tiles

Re: Using the template tag library with parameters like jsp:param

2002-08-31 Thread jw
Hi All! I've seen a number of posts looking for help/info on the this type of error message (i.e., javax.servlet.ServletException: Exception creating bean of class ???.???.xxxForm: java.lang.ClassNotFoundException: ???.???.xxxForm) that occurs when they attempt to test their struts

Re: Using the template tag library with parameters like jsp:param

2002-08-31 Thread jw
-4.0.4) Thanks! jw - Original Message - From: jw [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, August 31, 2002 1:28 PM Subject: Re: Using the template tag library with parameters like jsp:param Hi All! I've seen a number of posts looking for help/info

Problem using nested struts template tag

2002-08-15 Thread Ying Gao
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

Re: template tag

2002-02-18 Thread Cedric Dumoulin
Check application struts-template.war shipped with Struts distribution. Also, you can check Tiles wich is an advanced template framework. Cedric Henry Lu wrote: Is there any examples with struts template tag? I have had difficulties to use it. I got error: Invalid directive Any

Re: template tag

2002-02-18 Thread Henry Lu
Dumoulin wrote: Check application struts-template.war shipped with Struts distribution. Also, you can check Tiles wich is an advanced template framework. Cedric Henry Lu wrote: Is there any examples with struts template tag? I have had difficulties to use it. I got error

Re: template tag

2002-02-18 Thread Henry Lu
Dumoulin wrote: Check application struts-template.war shipped with Struts distribution. Also, you can check Tiles wich is an advanced template framework. Cedric Henry Lu wrote: Is there any examples with struts template tag? I have had difficulties to use it. I got error

template tag

2002-02-15 Thread Henry Lu
Is there any examples with struts template tag? I have had difficulties to use it. I got error: Invalid directive Any idea? --- Henry Lu MCITphone: (734) 936-2063 University

Template tag and html pages

2002-01-25 Thread Fuller, Wayne
I would appreciate anybody that has an answer to this problem we have. We serve our jsp and html pages on different servers with the help of a plugin. Let's say our jsp pages are on server1 with an alias of /server1 and html pages are on server2 with an alias of /server2. In the template jsp

template tag and session

2001-10-05 Thread c tang
Does template tag requires to work with session? My web application has lots of pages that are purely publication that no session is required. If I add %@ page session=false % then template content will disappear. If I remove %@ page session=false % which is default to %@ page session=true

Re: Template Tag

2001-09-25 Thread Cedric Dumoulin
Looks like you got a flush problem. You can try to use flush=true in template:get This is a known problem with some web container. Cedric Bryan Mallinson wrote: I am using template tags. I place content in another JSP file and insert it in a template file. When the output is

RE: dynamic template tag parameter values

2001-09-04 Thread David Boardman
. Thanks, Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ]On Behalf Of Cedric Dumoulin Sent: Monday, September 03, 2001 3:33 AM To: [EMAIL PROTECTED] Subject: Re: dynamic template tag parameter values The tiles tutorial have been moved into the tiles-doc.war

Re: dynamic template tag parameter values

2001-09-04 Thread Cedric Dumoulin
, 2001 3:33 AM To: [EMAIL PROTECTED] Subject: Re: dynamic template tag parameter values The tiles tutorial have been moved into the tiles-doc.war file, under 'tutorial'. I think the error is issue because the servlet has failed to start. Are you sure you use a jaxp1.1 compliant parser

Re: dynamic template tag parameter values

2001-09-03 Thread Cedric Dumoulin
of my tomcat server to deploy them. thanks for the help. Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ]On Behalf Of Cedric Dumoulin Sent: Friday, August 31, 2001 5:01 AM To: [EMAIL PROTECTED] Subject: Re: dynamic template tag parameter values You can

Re: dynamic template tag parameter values

2001-08-31 Thread Cedric Dumoulin
You can do something like : template:put name=sidebar content='%= /jsps/sidemenu+ clientName+ .jsp%'/ But you certainly have to put some processing before to check if the clientName is valid. Also, you can check Tiles contribution for others ideas. For example, you can adapt the

RE: dynamic template tag parameter values

2001-08-31 Thread David Boardman
tomcat server to deploy them. thanks for the help. Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ]On Behalf Of Cedric Dumoulin Sent: Friday, August 31, 2001 5:01 AM To: [EMAIL PROTECTED] Subject: Re: dynamic template tag parameter values You can do something

dynamic template tag parameter values

2001-08-30 Thread David Boardman
Our site will be accessed by users via other sites on the web. For instance, our site might be accessed from a link on Cisco's site. When this occurs we want the GUI to be different than the default GUI (same general layout, but different graphics etc.) To do this I was hoping to include a

RE: What is Titles? and what gonna happens to template tag in thefurture?

2001-08-20 Thread Trieu, Danny
Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 19, 2001 7:18 AM To: [EMAIL PROTECTED] Subject: Re: What is Titles? and what gonna happens to template tag in thefurture? The Tiles tablib can be used as a drop-in replace for the template taglib. You can even continue to use

Re: What is Titles? and what gonna happens to template tag in thefurture?

2001-08-19 Thread Ted Husted
, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/about/struts/ Trieu, Danny wrote: Robert, Thanks you for your reply. Do you know if there is any change or enhancement to the template tag in the future release

What is Titles? and what gonna happens to template tag in the furture?

2001-08-17 Thread Trieu, Danny
any link where I can read more about Titles? Thanks, danny

RE: What is Titles? and what gonna happens to template tag in the furture?

2001-08-17 Thread Robert Taylor
http://www.lifl.fr/~dumoulin/tiles/ HTH, robert -Original Message- From: Trieu, Danny [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 1:45 PM To: '[EMAIL PROTECTED]' Subject: What is Titles? and what gonna happens to template tag in the furture? any link where I can read

RE: What is Titles? and what gonna happens to template tag in the furture?

2001-08-17 Thread Trieu, Danny
Robert, Thanks you for your reply. Do you know if there is any change or enhancement to the template tag in the future release? danny -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 11:05 AM To: [EMAIL PROTECTED] Subject: RE: What

RE: What is Titles? and what gonna happens to template tag in the furture?

2001-08-17 Thread Robert Taylor
Danny, I'm not qualified to answer this question. Maybe one of the Struts dev team can chime in on this one. I have heard that Tiles will be incorporated into a future Struts release, but I'm not sure what will happen to the template tag. robert -Original Message- From: Trieu, Danny

RE: Problem in template tag

2001-07-17 Thread DHarty
absolute, or relative to the template, NOT the putting JSP. -Original Message- From: Boompally, Jayapal [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 2:15 PM To: '[EMAIL PROTECTED]' Subject: Problem in template tag First time template working correctly but when I submit

Re: template tag hides custom taglib exceptions

2001-07-17 Thread Mark Takacs
Thanks! This worked wonderfully. I can now see that, for instance, I typo'd one of my MessageResource names.. instead of the annoying exception in struts template:'get' tag. :) -tak Yeah this is a problem with WebLogic, it doesn't propogate tag exceptions. Fortunately the struts tags

Problem in template tag

2001-07-16 Thread Boompally, Jayapal
First time template working correctly but when I submit to other same page it is not showing header, footer, menu it only showing content please help me Thanks Jayapal

template tag hides custom taglib exceptions

2001-07-16 Thread Mark Takacs
Summary: our custom taglib exceptions are being masked from the Jsp errorPages by our usage of the struts template taglibs. Is there a way we can percolate our exceptions to the JSP error pages? Details We're running using WebLogic 6.0 on Linux. We've been using struts for about six months

Re: struts-template tag library vs. jsp:include/

2001-03-19 Thread Jim Newsham
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/

RE: struts-template tag library vs. jsp:include/

2001-03-19 Thread Troy Hart
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

RE: struts-template tag library vs. jsp:include/

2001-03-19 Thread Troy Hart
plate" web app. will clear this up for you. Good luck, Troy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Newsham Sent: Monday, March 19, 2001 12:59 PM To: [EMAIL PROTECTED] Subject: Re: struts-template tag library vs. jsp:include/ Thank you f

struts-template tag library vs. jsp:include/

2001-03-16 Thread Jim Newsham
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

Re: new template tag framework

2001-02-07 Thread Cedric dumoulin
d will be looking at this one closely. Hal Craig -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nathan Eric Probst Sent: Thursday, January 25, 2001 2:13 AM To: [EMAIL PROTECTED] Subject: Re: new template tag framework

Re: new template tag framework

2001-01-29 Thread Nathan Eric Probst
CTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nathan Eric Probst Sent: Thursday, January 25, 2001 2:13 AM To: [EMAIL PROTECTED] Subject: Re: new template tag framework Check out the Components extention to Struts: http://gauss.ficsgrp.com/cdm nathan Quoc Le wrote:

Re: new template tag framework

2001-01-25 Thread Ted Husted
On 1/25/2001 at 11:42 AM Craig R. McClanahan wrote: It certainly won't be added to 1.0 at this point. For 1.1, I'm certainly open to cool additions, and will be looking at this one closely. The coolest addition would be one that actually leveraged the Struts framework, the way some of the

RE: new template tag framework

2001-01-25 Thread Deadman, Hal
PROTECTED]] Sent: Thursday, January 25, 2001 3:29 PM To: Struts List Subject: Re: new template tag framework On 1/25/2001 at 11:42 AM Craig R. McClanahan wrote: It certainly won't be added to 1.0 at this point. For 1.1, I'm certainly open to cool additions, and will be looking at this one closely

Re: new template tag framework

2001-01-25 Thread Wong Kok Wai
Another approach that's worth considering is the portlet concept in JetSpeed (http://jakarta.apache.org/jetspeed). The added advanatge is it allows the user to customise the layout themselves (a cheap form of personalisation). It certainly won't be added to 1.0 at this point. For 1.1, I'm

Re: new template tag framework

2001-01-24 Thread Nathan Eric Probst
Check out the Components extention to Struts: http://gauss.ficsgrp.com/cdm nathan Quoc Le wrote: The struts-template example implements a "C-Frame" using the new template tag framework. I was a little disappointed to find, though, that each new page inserted inside the C-Frame

Re: How can I use a java variable that was defined in the enclosing template tag?

2000-12-21 Thread Cedric Dumoulin
Hay, You can't use a java variable defined in a page inside included page. You need to define your variable in a scope (here request, but can also be session or application). An alternative to your problem could also be : %String strToBeUsedByPageA = "Hello";% template:insert

Re: How can I use a java variable that was defined in the enclosing template tag?

2000-12-21 Thread Cedric Dumoulin
I have misspell the Components Proposal URL ! try : http://gauss.ficsgrp.com/cdm/ Cedric Cedric Dumoulin wrote: Hay, You can't use a java variable defined in a page inside included page. You need to define your variable in a scope (here request, but can also be session or

Re: How can I use a java variable that was defined in the enclosing template tag?

2000-12-21 Thread Hay Tran
to extend the template tag comes in. In any rate, I have a work around for now, which is to use the request.setAttribute(...) and request.getAttribute(...) to pass and retrieve objects between those files involved in the template. It is not convenient, but, I guess that's what I have to do at

How can I use a java variable that was defined in the enclosing template tag?

2000-12-20 Thread Hay Tran
Here is an example: // Here is the code segment for the enclosing tag, the template:insert ... . % String strToBeUsedByPageA = "Hello"; % template:insert template='aTemplate.jsp' template:put name='PageA.jsp' /template:insert // Here is the code segment for the enclosed file,