In above code i am using scripting to get attribute username and assign value to attribute of tag names userName even if body of tag is scriptless. it works fine. it means that when we specify value inside body-content that value is applied to body of tag only. attributes are indepedent of value inside body-content in TLD. is it so? Thanks
posted 10 years ago
In TLD when you declare the attributes for a tag then you specify "rtexpvalue" for that attribute.
If its true then you can sepcify the value of attribute through JSP expression and vice versa.
Like to add one more thing that attributes are not included in the body of tag.
Hope it helps [ December 19, 2006: Message edited by: Ali Gohar ]