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 > which you have to define. > > <!-- Straight off the javadoc > > public abstract class TagExtraInfo > extends java.lang.Object > > Optional class provided by the tag library author to describe > additional translation-time information not described in the TLD. The > TagExtraInfo class is mentioned in the Tag Library Descriptor file (TLD). > > This class can be used: > > * to indicate that the tag defines scripting variables > * to perform translation-time validation of the tag attributes. > > ... > > --> > -Mark Diggory > > > Shawn Bayern wrote: > >> On Mon, 11 Mar 2002, Agrawal, Anuj (Anuj)** CTR ** wrote: >> >>> In my code i have <c:set var="x" value="4"/> >>> >>> 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 doesn't particularly encourage this usage, but it's perfectly >> possible using older, scriptlet-oriented mechanisms like >> <jsp:useBean>. Just use a <jsp:useBean> tag after <c:set> to declare >> your scripting >> variable. >> >> -- >> Shawn Bayern >> Author, "JSP Standard Tag Library" http://www.jstlbook.com >> (coming this spring from Manning Publications) >> >> >> -- >> To unsubscribe, e-mail: >> <mailto:[EMAIL PROTECTED]> >> For additional commands, e-mail: >> <mailto:[EMAIL PROTECTED]> >> > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>