RE: JSP Tag Life Cycle

2002-02-14 Thread Pavel Brun

I was looking at the book again and it does not have anything to do with the
extended support for the IterationTag or the new constants used in the
doAfterBody()
method.

After "doEndTag" is done, my tag appears to run again from the "doStartTag"
method
and onward. IT appears like the entire tag is evaluated again.

Any thoughts would be greatly appreciated.

thanks

Paul

-Original Message-
From: Pavel Brun [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 6:29 AM
To: Tomcat Users List
Subject: RE: JSP Tag Life Cycle


yes...sorry...that is what I was referring too. The JSL TagLib lifecycle
diagrams.

If anybody has any ideas, I like to hear them.

Thanks

Paul

-Original Message-
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 1:30 AM
To: Tomcat Users List
Subject: Re: JSP Tag Life Cycle


> > I was just looking at the JSP Tag Life Cylcle diagram and had the
following
> > question.
> > The "doEndTag" flows into a decision block that states "use t yet
another
> > time".
> >
> > In what case is the tag re-evaluated (i.e., the decision block returning
> > yes)? I have
> > a tag that is somehow being invoked twice when I want it to be invoked
once.

[SNIP]

>
> Which specific diagram (in which document) are you looking at?  I don't
> see anything like this on the lifecycle diagrams in the JSP 1.2 spec.

I think he is refering to JSP TagLib diagrams, I believe they can be found
in official JSP specification. The IterationTag has the ability to
re-evaluate the body. While the ability is interesting, I cannot answer
Pavel's question - when it is supposed to be used. OTOH, I (still) haven't
gotten into some serious JSP work.

Nix.


--
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 Tag Life Cycle

2002-02-14 Thread Pavel Brun

yes...sorry...that is what I was referring too. The JSL TagLib lifecycle
diagrams.

If anybody has any ideas, I like to hear them.

Thanks

Paul

-Original Message-
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 1:30 AM
To: Tomcat Users List
Subject: Re: JSP Tag Life Cycle


> > I was just looking at the JSP Tag Life Cylcle diagram and had the
following
> > question.
> > The "doEndTag" flows into a decision block that states "use t yet
another
> > time".
> >
> > In what case is the tag re-evaluated (i.e., the decision block returning
> > yes)? I have
> > a tag that is somehow being invoked twice when I want it to be invoked
once.

[SNIP]

>
> Which specific diagram (in which document) are you looking at?  I don't
> see anything like this on the lifecycle diagrams in the JSP 1.2 spec.

I think he is refering to JSP TagLib diagrams, I believe they can be found
in official JSP specification. The IterationTag has the ability to
re-evaluate the body. While the ability is interesting, I cannot answer
Pavel's question - when it is supposed to be used. OTOH, I (still) haven't
gotten into some serious JSP work.

Nix.


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




Re: JSP Tag Life Cycle

2002-02-13 Thread Nikola Milutinovic

> > I was just looking at the JSP Tag Life Cylcle diagram and had the following
> > question.
> > The "doEndTag" flows into a decision block that states "use t yet another
> > time".
> >
> > In what case is the tag re-evaluated (i.e., the decision block returning
> > yes)? I have
> > a tag that is somehow being invoked twice when I want it to be invoked once.

[SNIP]

> 
> Which specific diagram (in which document) are you looking at?  I don't
> see anything like this on the lifecycle diagrams in the JSP 1.2 spec.

I think he is refering to JSP TagLib diagrams, I believe they can be found in official 
JSP specification. The IterationTag has the ability to re-evaluate the body. While the 
ability is interesting, I cannot answer Pavel's question - when it is supposed to be 
used. OTOH, I (still) haven't gotten into some serious JSP work.

Nix.



RE: JSP Tag Life Cycle

2002-02-13 Thread Pavel Brun

it is in my book called: JSP Tag Libraries produced by Manning, written by
Gal Shachor, Adam Chace,
and Magnus Rydin page 98.

I will see if I can get a scan of the image and provide it for the group.

Thanks

Paul

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 4:59 PM
To: Tomcat Users List
Subject: Re: JSP Tag Life Cycle




On Wed, 13 Feb 2002, Pavel Brun wrote:

> Date: Wed, 13 Feb 2002 16:53:29 -0500
> From: Pavel Brun <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat User <[EMAIL PROTECTED]>
> Subject: JSP Tag Life Cycle
>
> Hello all,
>
> I was just looking at the JSP Tag Life Cylcle diagram and had the
following
> question.
> The "doEndTag" flows into a decision block that states "use t yet another
> time".
>
> In what case is the tag re-evaluated (i.e., the decision block returning
> yes)? I have
> a tag that is somehow being invoked twice when I want it to be invoked
once.
>
> My "doEndTag" does return EVAL_PAGE and I wanted it to return that because
I
> want the
> rest of the JSP page to be evaluated.
>
> Any auggestions or answers would be helpful
>
> Thanks
>
> Paul
>

Which specific diagram (in which document) are you looking at?  I don't
see anything like this on the lifecycle diagrams in the JSP 1.2 spec.

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 Tag Life Cycle

2002-02-13 Thread Craig R. McClanahan



On Wed, 13 Feb 2002, Pavel Brun wrote:

> Date: Wed, 13 Feb 2002 16:53:29 -0500
> From: Pavel Brun <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat User <[EMAIL PROTECTED]>
> Subject: JSP Tag Life Cycle
>
> Hello all,
>
> I was just looking at the JSP Tag Life Cylcle diagram and had the following
> question.
> The "doEndTag" flows into a decision block that states "use t yet another
> time".
>
> In what case is the tag re-evaluated (i.e., the decision block returning
> yes)? I have
> a tag that is somehow being invoked twice when I want it to be invoked once.
>
> My "doEndTag" does return EVAL_PAGE and I wanted it to return that because I
> want the
> rest of the JSP page to be evaluated.
>
> Any auggestions or answers would be helpful
>
> Thanks
>
> Paul
>

Which specific diagram (in which document) are you looking at?  I don't
see anything like this on the lifecycle diagrams in the JSP 1.2 spec.

Craig


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




JSP Tag Life Cycle

2002-02-13 Thread Pavel Brun

Hello all,

I was just looking at the JSP Tag Life Cylcle diagram and had the following
question.
The "doEndTag" flows into a decision block that states "use t yet another
time".

In what case is the tag re-evaluated (i.e., the decision block returning
yes)? I have
a tag that is somehow being invoked twice when I want it to be invoked once.

My "doEndTag" does return EVAL_PAGE and I wanted it to return that because I
want the
rest of the JSP page to be evaluated.

Any auggestions or answers would be helpful

Thanks

Paul


--
To unsubscribe:   
For additional commands: 
Troubles with the list: