Re: [JSTL] How to get current URL ?

2002-12-16 Thread smallufo
Thank you ,it works - Original Message - From: "Christopher Lenz" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 8:17 PM > Try > > > > -chris -- To unsubscribe, e-mail: For additional comma

Re: Dynamically generating the xpath for

2002-12-16 Thread Mike Bowler
Hi Pierre, > See section 11.1.2 of the spec, and try the following: > > > > Remember that in a 'select' attribute, the language used is XPath, > not the EL. Thanks for the quick response - that's exactly the solution I've been looking for. Thanks also for the section reference in the spec. I'

Re: Dynamically generating the xpath for

2002-12-16 Thread Pierre Delisle
See section 11.1.2 of the spec, and try the following: Remember that in a 'select' attribute, the language used is XPath, not the EL. -- Pierre Mike Bowler wrote: > > Jakarta Standard Taglib version 1.0.2 > > I have the following statement which works fine on the xml document that >

Dynamically generating the xpath for

2002-12-16 Thread Mike Bowler
Jakarta Standard Taglib version 1.0.2 I have the following statement which works fine on the xml document that I've loaded. The problem is that I need to dynamicallly generate this xpath statement. When I hard code it as above, it works fine. When I try to generate it dynamically, I never

Re: Stuck in Mud... Need your help...

2002-12-16 Thread Mark R. Diggory
Jim Henderson wrote: Try using just "... extends TagSupport ..." and not BodyTagSupport. Seems I had the same problem and went round and round on it. Thanks, yes I went round and round until I came to this conclusion as well. I was trying to use EVAL_BODY_BUFFERED with BodyTagSupport and it

[OT reply to] Re: Stuck in Mud... Need your help...

2002-12-16 Thread Mark R. Diggory
IMHO, its actually quite simple (I know this is the wrong list for this discussion so, I'll mark it "OT").. 1.) If I were working with a tag that I wanted to manipulate the body content of, I would use the BodyTag Interface and the provided BodyTagSupport. The relevant Constants in the Interfac

RE: Stuck in Mud... Need your help...

2002-12-16 Thread Jim Henderson
Try using just "... extends TagSupport ..." and not BodyTagSupport. Seems I had the same problem and went round and round on it. -Original Message- From: Mark R. Diggory [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 15, 2002 6:58 PM To: [EMAIL PROTECTED] Subject: Stuck in Mud... Need

Running the input taglib example in the Netbeans

2002-12-16 Thread Ricardo Damiao
Hello, I'm trying to run the input tag example, enclosed in the jakarta-taglibs-src-20021216.zip, on Netbeans 3.4 (Tomcat internal) and I get the following error when it try to compile the jsp: form.jsp [36:4] Unable to find setter method for attribute: attributes I've mounted the

RE: Stuck in Mud... Need your help...

2002-12-16 Thread Karr, David
The return value from "doStartTag()" can have three (more?) different return values, being EVAL_BODY_INCLUDE, EVAL_BODY_BUFFERED, or SKIP_BODY. I don't see how the difference is "silly". It was a good idea to separate them, so tags which don't need to manipulate their body can be more efficient.

Re: Stuck in Mud... Need your help...

2002-12-16 Thread Mark R. Diggory
Thanks, yes that appeared to be it. I'm always running into this "silly" issue of TagSupport vs. BodyTagSupport and the difference in the constants. TagSupport --> EVAL_BODY_INCLUDE or SKIP_BODY BodyTagSupport --> EVAL_BODY_BUFFERED or SKIP_BODY Seems that the JSP Taglib spec has alot of this u

Re: [JSTL] How to get current URL ?

2002-12-16 Thread Christopher Lenz
smallufo wrote: Hi , all : Is there a way to get current URL of the page ? I tried but cannot get it I also tried some other methods in HttpServletRequest but seems not working , either... Can somebody help me ? Thanks in advance Try -chris -- To unsubscribe, e-mail:

Re: [JSTL] How to get current URL ?

2002-12-16 Thread Lyndon Durham
Have you tried to see if the current URL is stored in the Implicit header or headerValues implicit objects. smallufo wrote: Hi , all : Is there a way to get current URL of the page ? I tried but cannot get it I also tried some other methods in HttpServletRequest but seems not working , e

[JSTL] How to get current URL ?

2002-12-16 Thread smallufo
Hi , all : Is there a way to get current URL of the page ? I tried but cannot get it I also tried some other methods in HttpServletRequest but seems not working , either... Can somebody help me ? Thanks in advance -- To unsubscribe, e-mail: For additiona