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]>