Re: c:set and scriptlets

2002-03-11 Thread Greg Bishop
There is a evel tag thingy that might do it. -G "Agrawal, Anuj (Anuj)** CTR **" wrote: > In my code i have > > I'd like to be able to access the variable x from within a scriptlet, > something like: > > <% > x = x++; > %> > > and vice versa. > > Is this even possible? I don't see anyt

RE: c:set and scriptlets

2002-03-11 Thread Shawn Bayern
On Mon, 11 Mar 2002, Agrawal, Anuj (Anuj)** CTR ** wrote: > I really didn't want to use scriptlets (per the documentation), but i was > running into situations where the JSTL actions were not (yet) supporting > some things that scriptlets could do.. OR SO I THOUGHT! 8 :-) Yeah, JSTL is prog

RE: c:set and scriptlets

2002-03-11 Thread Agrawal, Anuj (Anuj)** CTR **
I really didn't want to use scriptlets (per the documentation), but i was running into situations where the JSTL actions were not (yet) supporting some things that scriptlets could do.. OR SO I THOUGHT! 8 I've since then found a way around it using JSTL actions alone - so i'm a little happier

Re: c:set and scriptlets

2002-03-11 Thread Shawn Bayern
On Tue, 12 Mar 2002, Soefara Redzuan wrote: > > > I'd like to be able to access the variable x from within a scriptlet, > > > something like: > > > > > > <% > > > x = x++; > > > %> > > > > > > and vice versa. > > > > > > Is this even possible? I don't see anything in the docs that refer to > >

Re: c:set and scriptlets

2002-03-11 Thread Shawn Bayern
Anuj was writing about the JSTL tag , though. JSTL de-emphasizes scripting variables in favor of the expression language it introduces. Scripting variables are a reasonable mechanism for some applications, but they inherently depend on scriptlets, which means that they're useful only if a page a

Re: c:set and scriptlets

2002-03-11 Thread Soefara Redzuan
> > In my code i have > > > > I'd like to be able to access the variable x from within a scriptlet, > > something like: > > > > <% > > x = x++; > > %> > > > > and vice versa. > > > > Is this even possible? I don't see anything in the docs that refer to > > such interchangeability. 8( > >JSTL

Re: c:set and scriptlets

2002-03-11 Thread Mark R. Diggory
I'm sorry, that was on the development list, not the user list Mark R. Diggory wrote: > See my last message about multipart stuff. You can capture this > functionality in TEI (TagExtraInfo) Support class to your tag. Then in > your tag you can set the value of the variable via a special method

Re: c:set and scriptlets

2002-03-11 Thread Mark R. Diggory
See my last message about multipart stuff. You can capture this functionality in TEI (TagExtraInfo) Support class to your tag. Then in your tag you can set the value of the variable via a special method which you have to define. -Mark Diggory Shawn Bayern wrote: >On Mon, 11 Mar 2002, Agra

Re: c:set and scriptlets

2002-03-11 Thread Shawn Bayern
On Mon, 11 Mar 2002, Agrawal, Anuj (Anuj)** CTR ** wrote: > In my code i have > > I'd like to be able to access the variable x from within a scriptlet, > something like: > > <% > x = x++; > %> > > and vice versa. > > Is this even possible? I don't see anything in the docs that refer t