Your taglib definition file (tld) can declare an <rtexprvalue> element for
attributes of your tags. "true" value allows JSP to use "runtime expression
values".

<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>

Nico




> Hi All,
>
> When I use tags in Apache tag libraries in my JSPs, I am able to pass
> dynamic values from Java as its attributes.
> Ex - <lib: form form name = <%=formname%>
>
> However when I write my own tags, I can only pass constant attibutes as
the
> tag replaces the attribute vales as as a string instead of treating it as
> Java code that needs to be executed. Any clues what I need to do to make
my
> tags accept dynamic values? or rather what has Apache done so that it
takes
> it?
>
> Thanks in advance.
>
> Regards,
> Praveer
>
>
> --
> 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]>

Reply via email to