Scriplets as attribute values of custom tags
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Hema_Sudha
Posted On:   Tuesday, January 29, 2002 10:54 AM

I tried to use a scriplet tag as value of one of the attributes of custom tag as,

			

name=" <%= MyClass.USER_ID" %>
value="" />


But,
<%= MyClass.USER_ID" %> didn't get replaced by it's value.

Is there some thing I missed in the .tld file or there is some other way of doing this? Please clarify.


Thanking in advance.

Re: Scriplets as attribute values of custom tags

Posted By:   Nitin_Baligar  
Posted On:   Tuesday, January 29, 2002 01:24 PM

Hi Sudha,
try this code,

name="<%= MyClass.USER_ID %>"
value="" />

The only change I made is closing double quotes "<%= var %>"

-Nitin
About | Sitemap | Contact