RE: JSP Taglib Explanation please

2002-02-25 Thread August Detlefsen

It depends on the particular taglib... The taglib's processing methods
(doInitBody(), doStartTag(), doEndTag(), doAfterBody(), etc) return
ints (EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE, etc) to
indicate what should be processed next. 

It is possible that your taglib's doEndTag() method is returning a
value that would make it evaluate again. 



--- Pavel Brun [EMAIL PROTECTED] wrote:
 can anybody verify if JSP taglib code goes through twice?
 Anybody...all I
 need
 is an answer. I have been trying to find out this information through
 three
 different topic posts, but no answers to date. Is it by design that
 JSP
 taglib
 code is processed twice???
 
 Thanks
 
 Paul
 
 -Original Message-
 From: Pavel Brun [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, February 24, 2002 10:45 AM
 To: Tomcat Users List; [EMAIL PROTECTED]
 Subject: RE: JSP Taglib Explanation please
 
 
 so, for example, if you have a taglib like:
 
 xtags:transform xml=... xsl=.../
 
 this line would run all the code associated with the tag twice???
 
 That is what I am getting...is this by design??
 
 Paul
 
 -Original Message-
 From: Brian Adams [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, February 24, 2002 10:31 AM
 To: Tomcat Users List
 Subject: RE: JSP Taglib Explanation please
 
 
 Pavel I have tons of taglibs on my app and it does not go through it
 twice.
 it actually runs the code twice?
 
 
 -Original Message-
 From: Pavel Brun [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, February 24, 2002 9:21 AM
 To: Tomcat User
 Subject: JSP Taglib Explanation please
 
 
 Hello everyone,
 
 Is there anyone here that helped develop the JSP Tag concept
 that could explain why JSP taglib bodies go through their
 bodies twice (going through doStartTag, doAfterBody and doEndTag
 twice)?
 
 This would be extremely helpful for me so I can understand
 how to proceed with certain applications.
 
 Thank you
 
 Paul
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: JSP Taglib Explanation please

2002-02-25 Thread Pavel Brun

my tag body returns EVAL_PAGE for doEndTag because I want the rest of
the page to be evaluated. There is something in the life-cycle that decides
if the tag should be re-evaluted. Under what conditions would this occur?

Paul

-Original Message-
From: August Detlefsen [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 8:25 PM
To: Tomcat Users List
Subject: RE: JSP Taglib Explanation please


It depends on the particular taglib... The taglib's processing methods
(doInitBody(), doStartTag(), doEndTag(), doAfterBody(), etc) return
ints (EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE, etc) to
indicate what should be processed next. 

It is possible that your taglib's doEndTag() method is returning a
value that would make it evaluate again. 



--- Pavel Brun [EMAIL PROTECTED] wrote:
 can anybody verify if JSP taglib code goes through twice?
 Anybody...all I
 need
 is an answer. I have been trying to find out this information through
 three
 different topic posts, but no answers to date. Is it by design that
 JSP
 taglib
 code is processed twice???
 
 Thanks
 
 Paul
 
 -Original Message-
 From: Pavel Brun [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, February 24, 2002 10:45 AM
 To: Tomcat Users List; [EMAIL PROTECTED]
 Subject: RE: JSP Taglib Explanation please
 
 
 so, for example, if you have a taglib like:
 
 xtags:transform xml=... xsl=.../
 
 this line would run all the code associated with the tag twice???
 
 That is what I am getting...is this by design??
 
 Paul
 
 -Original Message-
 From: Brian Adams [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, February 24, 2002 10:31 AM
 To: Tomcat Users List
 Subject: RE: JSP Taglib Explanation please
 
 
 Pavel I have tons of taglibs on my app and it does not go through it
 twice.
 it actually runs the code twice?
 
 
 -Original Message-
 From: Pavel Brun [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, February 24, 2002 9:21 AM
 To: Tomcat User
 Subject: JSP Taglib Explanation please
 
 
 Hello everyone,
 
 Is there anyone here that helped develop the JSP Tag concept
 that could explain why JSP taglib bodies go through their
 bodies twice (going through doStartTag, doAfterBody and doEndTag
 twice)?
 
 This would be extremely helpful for me so I can understand
 how to proceed with certain applications.
 
 Thank you
 
 Paul
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: JSP Taglib Explanation please

2002-02-25 Thread Pavel Brun

unfortunately, it is one of those things I can't reproduce on my home
system.
I have Win 2000 with IE6 and Tomcat 4.0.1 running at home. I am seeing this
problem on WinNT 4.0 Server SP6 with IE5.5 SP2 and Tomcat 4.0.1 using an IIS
redirector.

So, unfortunately, I can't readily reproduce the problem. Are there any
suggestions
that might point in me in the right direction? i.e., what cases will cause
a JSP tag lib to run through its body again (from the beginning)

Thanks

Paul

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 8:29 PM
To: Tomcat Users List
Subject: RE: JSP Taglib Explanation please




On Mon, 25 Feb 2002, Pavel Brun wrote:

 Date: Mon, 25 Feb 2002 19:41:06 -0500
 From: Pavel Brun [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: RE: JSP Taglib Explanation please

 can anybody verify if JSP taglib code goes through twice? Anybody...all I
 need
 is an answer. I have been trying to find out this information through
three
 different topic posts, but no answers to date. Is it by design that JSP
 taglib
 code is processed twice???


No.  There must be something strange about your tags or your pages.  The
only way to get any further is to post a simple page that illustrates what
you are seeing.

 Thanks

 Paul


Craig


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: JSP Taglib Explanation please

2002-02-24 Thread Brian Adams

Pavel I have tons of taglibs on my app and it does not go through it twice.
it actually runs the code twice?


-Original Message-
From: Pavel Brun [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 24, 2002 9:21 AM
To: Tomcat User
Subject: JSP Taglib Explanation please


Hello everyone,

Is there anyone here that helped develop the JSP Tag concept
that could explain why JSP taglib bodies go through their 
bodies twice (going through doStartTag, doAfterBody and doEndTag twice)?

This would be extremely helpful for me so I can understand
how to proceed with certain applications.

Thank you

Paul

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: JSP Taglib Explanation please

2002-02-24 Thread Pavel Brun

so, for example, if you have a taglib like:

xtags:transform xml=... xsl=.../

this line would run all the code associated with the tag twice???

That is what I am getting...is this by design??

Paul

-Original Message-
From: Brian Adams [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 24, 2002 10:31 AM
To: Tomcat Users List
Subject: RE: JSP Taglib Explanation please


Pavel I have tons of taglibs on my app and it does not go through it twice.
it actually runs the code twice?


-Original Message-
From: Pavel Brun [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 24, 2002 9:21 AM
To: Tomcat User
Subject: JSP Taglib Explanation please


Hello everyone,

Is there anyone here that helped develop the JSP Tag concept
that could explain why JSP taglib bodies go through their 
bodies twice (going through doStartTag, doAfterBody and doEndTag twice)?

This would be extremely helpful for me so I can understand
how to proceed with certain applications.

Thank you

Paul

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]