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

what is use of variable directive?

 
koteswararao arvapalli
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

When will we use Attribute directive and Variable directive. What is the differnce between that?

Please let me know ASAP

Regards,
KOTI
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you asking about Tag Files ? The attribute is just something a usual tag attribute you set to the tag :
<mytag:hello msg="hello"/>. Here, "msg" is an attibute, and you declare it using the attribute directive. It's read-only. If you modify it in the tag, there's no way to read the new value in the calling page. To do this, you'd use the variable directive.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic