You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Borislav Iordanov <bo...@kobrix.com> on 2002/03/06 20:06:36 UTC

id attribute

Hi all,

Does anybody know what a JSP container is supposed to do when an 'id'
attribute of a custom tag is specified through a run-time expression
value? For example:

in mytaglib.tld

<tag>
   <name>mytag</name>
    ....
   <attribute>
        <name>id</name>
        <rtexprevalue>true</rtexprvalue>
   </attribute>
</tag>

and then in a JSP:

<mylib:mytag id='<%= someFunction() %>'/>


I know the intent of the 'id' attribute is to be specified at
translation time, but if no scripting variable is created why not have
an id that takes one its value dynamically?

Thanks in advance,
Boris


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>