Shawn - Sometimes long-shots come through. The defining tag was inside an <html:form> block. That brings up another question - I thought that the variable would have page scope (and I need it to). Am I just out-of-luck?
Thanks, Bryan -- Bryan Glennon (mailto:[EMAIL PROTECTED]) BPG Consulting, Inc. (http://www.bpgc.com) Tech Question? (mailto:[EMAIL PROTECTED]) -----Original Message----- From: Shawn Bayern [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 11:23 AM To: Tag Libraries Users List Subject: Re: Tags, Extra Info and scripting variables On Tue, 8 Jan 2002, Bryan P. Glennon wrote: > Anyway, I'm trying to allow a content developer to specify a variable > name as a parameter to a custom tag. I then want to set the variable > from within the tag and allow the page developer to see that data with > the specified variable name later in the page, something like this: > > <custom:t1 varName="foo"/> > ... > Variable data is <%=foo%> <!-- I get an error here that foo is not > defined --> Glancing over your code, it looks like you're doing everything right. One thought, just as a long-shot: is it possible that <custom:t1> is inside some block (e.g., another custom tag, or a <% { %> ... <% } %> block) that's limiting the variable's scope? Do you get the same error if <%=foo%> appears immediately after the tag? Shawn -- 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]>