Re: JSTL tag forEach context question

2002-03-15 Thread RAYMOND Romain
hello, thanks for your previous answer. I'd like to pass a parameter to method called within the forEach tag. This method have to initialize the collection used by forEach. And this parameter is retrieved throught a request.getParameter()... We can do it using JSTL c-rt.tld but we would like

Re: JSTL tag forEach context question

2002-03-15 Thread John Baker
Stupid question. What is the difference between c.tld and c-rt.tld ? Or in general, what does -rt dictate? On Friday 15 Mar 2002 11H:02 am, you wrote: hello, thanks for your previous answer. I'd like to pass a parameter to method called within the forEach tag. This method have to

Re: JSTL tag forEach context question

2002-03-15 Thread RAYMOND Romain
tHanks for your analyse but so, why and how this code using c-rt.tld don't work with c.tld taglib ? %@taglib uri=http://java.sun.com/jstl/ea/core; prefix=c% %@taglib uri=http://java.sun.com/jstl/ea/core-rt; prefix=c-rt% ... c-rt:forEach var=serial items=%=

Re: JSTL tag forEach context question

2002-03-15 Thread Shawn Bayern
On Fri, 15 Mar 2002, John Baker wrote: Stupid question. What is the difference between c.tld and c-rt.tld ? Or in general, what does -rt dictate? The 'rt' versions of each tag library support rtexprvalues instead of the expression language. We included them primarily as a way of

Re: JSTL tag forEach context question

2002-03-15 Thread John Baker
On Friday 15 Mar 2002 15H:17 pm, you wrote: On Fri, 15 Mar 2002, John Baker wrote: Stupid question. What is the difference between c.tld and c-rt.tld ? Or in general, what does -rt dictate? The 'rt' versions of each tag library support rtexprvalues instead of the expression language. We

Re: JSTL tag forEach context question

2002-03-15 Thread RAYMOND Romain
Stupid question ...;) John Baker a écrit : On Friday 15 Mar 2002 15H:17 pm, you wrote: On Fri, 15 Mar 2002, John Baker wrote: Stupid question. What is the difference between c.tld and c-rt.tld ? Or in general, what does -rt dictate? The 'rt' versions of each tag library support

RE: JSTL tag forEach context question

2002-03-15 Thread Chen, Gin
Cc: Tag Libraries Users List Subject: Re: JSTL tag forEach context question On Fri, 15 Mar 2002, RAYMOND Romain wrote: I'd like to pass a parameter to method called within the forEach tag. This method have to initialize the collection used by forEach. And this parameter is retrieved throught

Re: JSTL tag forEach context question

2002-03-15 Thread Shawn Bayern
On Fri, 15 Mar 2002, John Baker wrote: The 'rt' versions of each tag library support rtexprvalues instead of the expression language. We included them primarily as a way of facilitating integration of JSTL into older applications and methodologies. The 'rt' versions won't be necessary

RE: JSTL tag forEach context question

2002-03-15 Thread Eric . Lewis
2002 16:30 To: 'Tag Libraries Users List' Subject: RE: JSTL tag forEach context question I think method invocation is a necessary idea in the current versions of JSTL that I've seen. There are still alot of things that seems unnecessarily complex in using soem of the taglibs. For example, to check

Re: JSTL tag forEach context question

2002-03-15 Thread RAYMOND Romain
and is there a solution without rt (which seems dedicated to hard programming ) about passing parameter within a foreach tag ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: JSTL tag forEach context question

2002-03-15 Thread Shawn Bayern
On Fri, 15 Mar 2002, RAYMOND Romain wrote: and is there a solution without rt (which seems dedicated to hard programming ) about passing parameter within a foreach tag ? No. Calling methods directly is considered hard programming for now. The question is - should it be in the future? --

RE: JSTL tag forEach context question

2002-03-15 Thread Eric . Lewis
: Freitag, 15. März 2002 16:53 To: Tag Libraries Users List Subject: RE: JSTL tag forEach context question Eric. Good points; some comments below. On Fri, 15 Mar 2002 [EMAIL PROTECTED] wrote: I see JSTL as a kind of read-only interface to your data, effectively implementing the View in the MVC model

JSTL tag forEach context question

2002-03-14 Thread RAYMOND Romain
hello, I am trying to use jakrata taglib JSTL, particulary forEach taglib. I look at the given examples and I don't understand how to initialize collection on which the forEach applies ; or getting iteraot variable without accessing pageContext of my JSP. used tld is c-rt an I do the JSP import

Re: JSTL tag forEach context question

2002-03-14 Thread Shawn Bayern
On Thu, 14 Mar 2002, RAYMOND Romain wrote: I initilize my collections using beans : % Collection serialNos = datamodule.getAllApplicableSerialNos(HAP); % and I must use pageContext.getAttribute to get back iterators values : c:forEach var=serial items=%=