Re: different EVAL_BODY_XXX return types

2002-09-19 Thread Craig Longman
On Thu, 2002-09-19 at 22:22, Shawn Bayern wrote: > On 18 Sep 2002, Craig Longman wrote: > > > 1) is this resetting of bodyContent the responsibility of the > > implementing tag? seeing as the return from doStartTag() doesn't seem > > to be included in the AttrSet that decides if a tag can be reu

Re: Re: Re: error page

2002-09-19 Thread Felipe Schnack
Hmmm... I don't know... but I actually think this will cause too much confusion. If I could mix JSP and taglibs better I would be happy enough. At 2002-09-19 23:23:00 you wrote: >On Fri, 20 Sep 2002, Felipe Schnack wrote: > >> Thank you very much... >> but i'm curious, what's an EL funcio

Re: Re: error page

2002-09-19 Thread Shawn Bayern
On Fri, 20 Sep 2002, Felipe Schnack wrote: > Thank you very much... > but i'm curious, what's an EL funcion?? In JSP 2.0, the EL will most likely be extended to support functions. In a Tag Library Descriptor (TLD), you will be able to provide a mapping between an EL function and a Java meth

Re: Re: error page

2002-09-19 Thread Felipe Schnack
Thank you very much... but i'm curious, what's an EL funcion?? At 2002-09-19 23:13:00 you wrote: >On 19 Sep 2002, Felipe Schnack wrote: > >> My problem is with a very simple part of it. I developed a default >> error page for my system, that is called when an unhandled error >> occurs (config

Re: Re: different EVAL_BODY_XXX return types

2002-09-19 Thread Shawn Bayern
On Fri, 20 Sep 2002, Felipe Schnack wrote: > Isn't EVAL_BODY_INCLUDE deprecated? No, not at all. You might be thinking of EVAL_BODY_TAG, which was deprecated by JSP 1.2. It is perfectly reasonable -- and, as I described, recommended -- to use EVAL_BODY_INCLUDE when your tag has not need to p

Re: hwo to get coordinates parameter of a map

2002-09-19 Thread Shawn Bayern
On Fri, 20 Sep 2002, Hao Ding wrote: > I can get a map's point coordinates using scriplets as following: > > x = <%= request.getParameter("map.x") %>, > y = <%= request.getParameter("map.y") %> > > how to use JSTL EL do that? I have tried > > x = , > y = > > and > > x = , > y = > > The ou

Re: error page

2002-09-19 Thread Shawn Bayern
On 19 Sep 2002, Felipe Schnack wrote: > My problem is with a very simple part of it. I developed a default > error page for my system, that is called when an unhandled error > occurs (configured as the error page for Throwable exceptions). > So, how I convert this JSP to taglibs? CtlString.getS

Re: Re: different EVAL_BODY_XXX return types

2002-09-19 Thread Felipe Schnack
Isn't EVAL_BODY_INCLUDE deprecated? At 2002-09-19 22:22:00 you wrote: >On 18 Sep 2002, Craig Longman wrote: > >> 1) is this resetting of bodyContent the responsibility of the >> implementing tag? seeing as the return from doStartTag() doesn't seem >> to be included in the AttrSet that decides

Re: Is it possible to reference scriptlet variables from a JSTL tag?

2002-09-19 Thread Shawn Bayern
On Thu, 19 Sep 2002, Richard Berger wrote: > For example... > > > <% Collection coll = delegate.getReservationsForUserID(userid); %> > > > I do not seem to be able to get this to work. Am I missing something, > or do I need to do this all in scriptlet world and forget about JSTL > for th

Re: different EVAL_BODY_XXX return types

2002-09-19 Thread Shawn Bayern
On 18 Sep 2002, Craig Longman wrote: > 1) is this resetting of bodyContent the responsibility of the > implementing tag? seeing as the return from doStartTag() doesn't seem > to be included in the AttrSet that decides if a tag can be reused or > not, i guess it is? (the BodyTagSupport.doStartTa

hwo to get coordinates parameter of a map

2002-09-19 Thread Hao Ding
Hi, I can get a map's point coordinates using scriplets as following: x = <%= request.getParameter("map.x") %>, y = <%= request.getParameter("map.y") %> how to use JSTL EL do that? I have tried x = , y = and x = , y = The outputs are empty. Cheers, Hao -- To unsubscribe, e-mail:

configuring log-examples.war

2002-09-19 Thread Dan Lipofsky
I am trying to use the log taglib, and I am having trouble getting the examples to work. It seems that when log-examples.war unpacks it sets up WEB-INF exactly as described in the docs, but I still get: log4j:ERROR No appenders could be found for category (root). log4j:ERROR Please initialize th

error page

2002-09-19 Thread Felipe Schnack
Hi! I tried to find this in the archives with no luck... I'm starting to use standard and request taglibs, and would like to convert a simple jsp with scriptlets to taglib-only. My problem is with a very simple part of it. I developed a default error page for my system, that is called when an

Re: Is it possible to reference scriptlet variables from a JSTL tag?

2002-09-19 Thread Hans Bergsten
Richard Berger wrote: > For example... > > > <% Collection coll = delegate.getReservationsForUserID(userid); %> > > > I do not seem to be able to get this to work. Am I missing something, or do > I need to do this all in scriptlet world and forget about JSTL for this > problem? JSTL acti

Is it possible to reference scriptlet variables from a JSTL tag?

2002-09-19 Thread Richard Berger
For example... <% Collection coll = delegate.getReservationsForUserID(userid); %> I do not seem to be able to get this to work. Am I missing something, or do I need to do this all in scriptlet world and forget about JSTL for this problem? Thanks much! RB PS - Many apologies if this is