Re: [General TagLib question] Custom TagLib storing value in PageContext/session and reference by Standard JSTL?

2004-01-19 Thread Konrad
That did the trick! Thank you!!! :) --- Martin Cooper [EMAIL PROTECTED] wrote: Konrad [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thank you Martin! :) Also, do you happen to know if this is possible: c:forEach var=card items=${cards} begin=0 end=pg:endidx/

[General TagLib question] Custom TagLib storing value in PageContext/session and reference by Standard JSTL?

2004-01-16 Thread Konrad
Hello. In my custom taglib's doStartTag() method, I stored a value in the session, as follows: CustomTag = public void doStartTag() { this.pageContext.getSession().setAttribute(endIdx,new Integer(9)); } I am trying to reference that value in JSTL's c:forEach tag, as in the

Re: [General TagLib question] Custom TagLib storing value in PageContext/session and reference by Standard JSTL?

2004-01-16 Thread Martin Cooper
Konrad [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello. In my custom taglib's doStartTag() method, I stored a value in the session, as follows: CustomTag = public void doStartTag() { this.pageContext.getSession().setAttribute(endIdx,new Integer(9)); Try this

Re: [General TagLib question] Custom TagLib storing value in PageContext/session and reference by Standard JSTL?

2004-01-16 Thread Konrad
Thank you Martin! :) Also, do you happen to know if this is possible: c:forEach var=card items=${cards} begin=0 end=pg:endidx/ c:out value=${card.name}/ /c:forEach When I use pg:endidx/ outside of the c:forEach tag, it correctly displays the value. However, when I try using pg:endidx/

RE: [General TagLib question] Custom TagLib storing value in PageContext/session and reference by Standard JSTL?

2004-01-16 Thread Richard Hightower
weird i wonder if page index is putting white space in? 9 instead of 0 do this ##pg:endidx/## and see if you get ##9## or ##9 ## -Original Message- From: Konrad [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 3:39 PM To: Struts Users Mailing List Subject: Re:

Re: [General TagLib question] Custom TagLib storing value in PageContext/session and reference by Standard JSTL?

2004-01-16 Thread Martin Cooper
Konrad [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thank you Martin! :) Also, do you happen to know if this is possible: c:forEach var=card items=${cards} begin=0 end=pg:endidx/ This is not legal JSP (or XML) syntax. You cannot use a tag in the value of an attribute of

RE: [General TagLib question] Custom TagLib storing value in PageContext/session and reference by Standard JSTL?

2004-01-16 Thread Richard Hightower
Doh! I should have caught that. -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Martin Cooper Sent: Friday, January 16, 2004 5:16 PM To: [EMAIL PROTECTED] Subject: Re: [General TagLib question] Custom TagLib storing value in PageContext/session and reference by Standard