Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confirmation required

 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

for above tag in TLD body-content is scriptless

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
 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic