Re: more about custam tag life cycle

2003-02-04 Thread Bill Barker
ers List [EMAIL PROTECTED] Subject: Re: more about custam tag life cycle From: Felipe Schnack [EMAIL PROTECTED] Sent: Monday, February 03, 2003 10:12 AM Subject: RE: more about custam tag life cycle This makes me feel much better :-) On Mon, 2003-02-03 at 16:09, Tim Moo

Re: more about custam tag life cycle

2003-02-04 Thread Felipe Schnack
The way to look at it is simply that the generated code is going to use a tag pool for each distinct class of tags. Unfortunately, there is no specific action that tells the tag it is being pulled from or being put back from the pool. The page will call release() before it is

RE: more about custam tag life cycle

2003-02-04 Thread Tim Moore
-Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 6:20 AM To: Tomcat Users List Subject: Re: more about custam tag life cycle The way to look at it is simply that the generated code is going to use a tag pool

RE: more about custam tag life cycle

2003-02-04 Thread Felipe Schnack
Schnack [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 6:20 AM To: Tomcat Users List Subject: Re: more about custam tag life cycle The way to look at it is simply that the generated code is going to use a tag pool for each distinct class of tags

RE: more about custam tag life cycle

2003-02-04 Thread Tim Moore
-Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 10:59 AM To: Tomcat Users List Subject: RE: more about custam tag life cycle because sometimes we have a tag attribute that isn't actually an getter/setter attribute

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
This is NOT true, AFAIK. The same tag instance can be used multiple times *sequentially* but not *concurrently*. Check out the lifecycle state diagram in the JSP spec. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
This makes me feel much better :-) On Mon, 2003-02-03 at 16:09, Tim Moore wrote: This is NOT true, AFAIK. The same tag instance can be used multiple times *sequentially* but not *concurrently*. Check out the lifecycle state diagram in the JSP spec. -- Tim Moore / Blackboard Inc. /

Re: more about custam tag life cycle

2003-02-03 Thread Will Hartung
From: Felipe Schnack [EMAIL PROTECTED] Sent: Monday, February 03, 2003 10:12 AM Subject: RE: more about custam tag life cycle This makes me feel much better :-) On Mon, 2003-02-03 at 16:09, Tim Moore wrote: This is NOT true, AFAIK. The same tag instance can be used multiple times

Re: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
it was intended for cleaning resources like database connections, etc but I don't see any reason to create yet another method just for tag reuse On Mon, 2003-02-03 at 17:00, Will Hartung wrote: From: Felipe Schnack [EMAIL PROTECTED] Sent: Monday, February 03, 2003 10:12 AM Subject: RE: more about custam

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
-Original Message- From: Will Hartung [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 2:01 PM To: Tomcat Users List Subject: Re: more about custam tag life cycle [snipped] This entire problem, at least as I've encountered it, revolves around not only optional

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
-Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 2:12 PM To: Tomcat Users List Subject: Re: more about custam tag life cycle I'm curious, how you get a PageContext when the container doesn't call setPageContext? Which

Re: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Will Hartung wrote: Date: Mon, 3 Feb 2003 11:00:46 -0800 From: Will Hartung [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: more about custam tag life cycle From: Felipe Schnack [EMAIL PROTECTED

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
I'm curious, how you get a PageContext when the container doesn't call setPageContext? Which container have this behavior? What he meant is that it may not call setPageContext *on each invocation*. It will always be called at least once before doStartTag. But each invocation shouldn't

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 2:37 PM To: Tomcat Users List Subject: Re: more about custam tag life cycle On Mon, 3 Feb 2003, Will Hartung wrote: Date: Mon, 3 Feb 2003 11:00:46 -0800 From: Will Hartung [EMAIL

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
-Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 2:46 PM To: Tomcat Users List Subject: RE: more about custam tag life cycle I'm curious, how you get a PageContext when the container doesn't call setPageContext? Which

Re: more about custam tag life cycle

2003-02-03 Thread Will Hartung
From: Felipe Schnack [EMAIL PROTECTED] Sent: Monday, February 03, 2003 11:11 AM Subject: Re: more about custam tag life cycle I'm curious, how you get a PageContext when the container doesn't call setPageContext? Which container have this behavior? I don't see a reason why we should

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
But each invocation shouldn't get a different pagecontext? PageContext isn't something related to request's URL? I guess pagecontext's functionality isn't very clear to me... We're talking about reuse within a single page. Oh, of course, sorry :-) I think there might be some

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
-Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 3:15 PM To: Tomcat Users List Subject: RE: more about custam tag life cycle I think there might be some benefit in clarity to the tag developer. The current lifecycle

RE: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Tim Moore wrote: Date: Mon, 3 Feb 2003 14:51:21 -0500 From: Tim Moore [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: more about custam tag life cycle Tag reuse is only allowed when the set

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
Yes, but it can be done... to me seems simpler to change the spec a little than add even more methods (this tends to create even more confusion IMHO) But, to reiterate, there isn't really any kind of useful cleaning you can do in doFinally that doesn't break the spec in other ways.

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
2003 14:51:21 -0500 From: Tim Moore [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: more about custam tag life cycle Tag reuse is only allowed when the set of attributes that are used, and their values, are identical

Re: more about custam tag life cycle

2003-02-03 Thread Joe Tomcat
On Mon, 2003-02-03 at 11:00, Will Hartung wrote: And like I said earlier, it would be nice if there were a pool interface added to the lifecycle to clean up the tag processing to make optional properties more portable and easier to write for. It would be even nicer if the pool were dropped

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
-Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 3:56 PM To: Tomcat Users List Subject: RE: more about custam tag life cycle Yes, but it can be done... to me seems simpler to change the spec a little than add even more

RE: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Felipe Schnack wrote: Hm... so this is standard behavior? release() is called after doEndTag() in all containers that use pooling? The release() method is called only after the last time that a tag has been used, before it gets returned to the pool (in a pooling

RE: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Felipe Schnack wrote: Date: 03 Feb 2003 18:58:17 -0200 From: Felipe Schnack [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: more about custam tag life cycle Wow, how tomcat creates a key to store

Re: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Sat, 1 Feb 2003, Joe Tomcat wrote: Date: 01 Feb 2003 18:38:50 -0800 From: Joe Tomcat [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: more about custam tag life cycle On Mon, 2003-02-03 at 11:00, Will Hartung wrote

Re: more about custam tag life cycle

2003-02-03 Thread Erik Price
Joe Tomcat wrote: arguments. Object pooling is deprecated, except for expensive objects like db connections. Are you saying that in general, object pooling is deprecated? In other words, it's always a bad idea, with the exception of DataSource type pools? Erik

Re: more about custam tag life cycle

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, Erik Price wrote: Date: Mon, 03 Feb 2003 17:16:54 -0500 From: Erik Price [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: more about custam tag life cycle Joe Tomcat wrote: arguments. Object