Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

using expression tag in custom tag  RSS feed

 
Jetendra Ivaturi
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi am creating a custom tag in that I have an attribute.

Ex.
<mytag:tag1 attribute1=""/> In the value for attribute if I directly hardcode the value its working fine other wise its give me an error stating expression cant be used here.

I made sure that there is a method present with setAttribute1() in taghandler class. And in the tld file in <attribute> tag <rtexvalue> is true.

Could any one suggest on this.

Thanks

Jetendra
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66184
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<rtexvalue>

You misspelled this.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!