+1 I think this is an excellent suggestion.
Thomas Gideon Sr. Software Developer B2eMarkets 301.230.2236 Tel. 301.230.2248 Fax. [EMAIL PROTECTED] www.B2eMarkets.com > -----Original Message----- > From: Christopher Lenz [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 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 instance, if the TLD specified a function like: > > <function> > <name>isUserInRole</name> > <function-class>mypkg.MyFunctions</function-class> > <function-signature> > boolean isUserInRole(PageContext, String) > </function-signature> > </function> > > the page author could simply write: > > ${my:isUserInRole('editor')} > > without needing to pass the pageContext object. The EL-engine > would take > care about that. I personally think the page author would expect a > EL-function to get informed about the page context automatically, and > that many useful functions would need access to it. > > Anyway, I should probably send this to the JSP-group, just wanted to > hear if anyone else thinks it'd be a good idea... Thoughts? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>