Implicit PageContext argument for EL fucntions (was RE: Beefing up JSTL EL in JSP 2)

2002-10-15 Thread Gideon, Thomas
2 4:21 PM > To: Tag Libraries Users List > Subject: Re: Beefing up JSTL EL in JSP 2 > > > On a somewhat related note, I've been wondering if the > EL-functions as > discussed here shouldn't have an implicit pageContext argument. > > For

Re: Beefing up JSTL EL in JSP 2

2002-10-15 Thread Christopher Lenz
On a somewhat related note, I've been wondering if the EL-functions as discussed here shouldn't have an implicit pageContext argument. For instance, if the TLD specified a function like: isUserInRole mypkg.MyFunctions boolean isUserInRole(PageContext, String)

Re: Beefing up JSTL EL in JSP 2

2002-10-15 Thread Shawn Bayern
On Tue, 15 Oct 2002, Stefan wrote: > Is it the eventual aim to eliminate the use of the in > JSP, replacing them with taglibs? It's hard to answer that question in general. From my perspective, there's little reason to use as of JSTL 1.0, though there are exceptions: is useful to instantiat

Re: Beefing up JSTL EL in JSP 2

2002-10-15 Thread Stefan
Is it the eventual aim to eliminate the use of the in JSP, replacing them with taglibs? Stef - Original Message - From: "Shawn Bayern" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 15, 2002 1:10 PM Subjec

RE: Beefing up JSTL EL in JSP 2

2002-10-15 Thread Martin Cooper
> -Original Message- > From: Hans Bergsten [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 14, 2002 3:26 PM > To: Tag Libraries Users List > Subject: Re: Beefing up JSTL EL in JSP 2 > > > Martin Cooper wrote: > > > >>-Original Messa

Re: Beefing up JSTL EL in JSP 2

2002-10-15 Thread Shawn Bayern
On Tue, 15 Oct 2002, Wolfgang Röckelein wrote: > I see that, too. JSP/JSTL/EL is DO and not OO. However, the decision > remains how to deal with user input submissions which usually require > some action (if it is not merely a change in a display format etc., > but e.g. a new entry, a changed ord

Re: Beefing up JSTL EL in JSP 2

2002-10-15 Thread Wolfgang Röckelein
Hi, just adding my cents... Gideon, Thomas wrote: > Maybe it's just me but I don't see JSP as intrinsically OO. Even if one > tries to cram them, incorrectly in my mind, into the category of a 4GL > technology. JSP as it relates to HTML, and even to a large extent XML, is > about document orie

RE: Beefing up JSTL EL in JSP 2

2002-10-15 Thread Gideon, Thomas
D] www.B2eMarkets.com > -Original Message- > From: V. Cekvenich [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 9:22 AM > To: [EMAIL PROTECTED] > Subject: Re: Beefing up JSTL EL in JSP 2 > > > With methods... one could say object.do() (and do OO

Re: Beefing up JSTL EL in JSP 2

2002-10-15 Thread V. Cekvenich
With methods... one could say object.do() (and do OO) as oposed to do(Object). The guide line for OO is noun.verb(). I wish it was methods. Shawn Bayern wrote: > On Tue, 15 Oct 2002, James Cook wrote: > > >>I wonder why the unnecessary complication here? If they are going to >>use reflection a

RE: Beefing up JSTL EL in JSP 2

2002-10-15 Thread Shawn Bayern
On Tue, 15 Oct 2002, James Cook wrote: > I wonder why the unnecessary complication here? If they are going to > use reflection anyway, why subject the users to creating these extra > xml fragments. A nickname hardly seems worth it, and adding another > point where a slight syntax problem in an XM

RE: Beefing up JSTL EL in JSP 2

2002-10-15 Thread James Cook
I wonder why the unnecessary complication here? If they are going to use reflection anyway, why subject the users to creating these extra xml fragments. A nickname hardly seems worth it, and adding another point where a slight syntax problem in an XML document can cause additional time deploying a

Re: Beefing up JSTL EL in JSP 2

2002-10-14 Thread Hans Bergsten
Martin Cooper wrote: > >>-Original Message- >>From: Hans Bergsten [mailto:[EMAIL PROTECTED]] >> >>Shawn is rarely wrong, but here actually missed one detail: >>JSP 2.0 adds >>_functions_ to the EL, but not _methods_ as is used in this example. >>A function is a method on a specific class

Re: Beefing up JSTL EL in JSP 2

2002-10-13 Thread Hans Bergsten
Shawn Bayern wrote: > On Fri, 11 Oct 2002, James Cook wrote: > [...] >>Will this new, improved EL support reflection-like function calls, and >>will we be able to: >> >>${mybean.customer(${page.range} * 2)} > > > Yes, though the syntax will work differently from what you have > assumed; it will

Re: Beefing up JSTL EL in JSP 2

2002-10-13 Thread Stefan
When are these changes due out ? S - Original Message - From: "Hans Bergsten" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Friday, October 11, 2002 7:51 PM Subject: Re: Beefing up JSTL EL in JSP 2 > Shawn Bayern wr

Re: Beefing up JSTL EL in JSP 2

2002-10-13 Thread Shawn Bayern
On Fri, 11 Oct 2002, James Cook wrote: > What is the tie-in between JSP 2.0 and the Expression Language? It > seems to have been introduced in a "low-power" version in the JSTL 1.0 > spec, but I am reading that it will support function-type calls when > JSP 2.0 is released? The JSP 2.0 Proposed

Beefing up JSTL EL in JSP 2

2002-10-13 Thread James Cook
Lot of acronyms. What is the tie-in between JSP 2.0 and the Expression Language? It seems to have been introduced in a "low-power" version in the JSTL 1.0 spec, but I am reading that it will support function-type calls when JSP 2.0 is released? Is JSP 2.0 going to include a newer version of JSTL

RE: Beefing up JSTL EL in JSP 2

2002-10-12 Thread Martin Cooper
> -Original Message- > From: Hans Bergsten [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 11, 2002 4:52 PM > To: Tag Libraries Users List > Subject: Re: Beefing up JSTL EL in JSP 2 > > > Shawn Bayern wrote: > > On Fri, 11 Oct 2002, James Cook wrote

Re: Beefing up JSTL EL in JSP 2

2002-10-12 Thread Hans Bergsten
gt; > Sent: Friday, October 11, 2002 7:51 PM > Subject: Re: Beefing up JSTL EL in JSP 2 > > > >>Shawn Bayern wrote: >> >>>On Fri, 11 Oct 2002, James Cook wrote: >>>[...] >>> >>>>Will this new, improved EL support reflection-like fun