Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing values dynamically to a custom tag:

 
Raghav Sam
Ranch Hand
Posts: 412
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not able to pass values dynamically to a custom tag. In the loop below, the value of itemName (and quantity) changes with the loop.

This is the code I tried and the parameter name has the value as <%=itemName%> instead of the actual value of itemName.
What should I do to pass just the value of itemName (and quantity) ?
------------------
Raghav.
[This message has been edited by Raghav Sam (edited October 19, 2001).]
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you indicate in the tag library descriptor (TLD) that the attribute takes run-time expressions? Eg
- Peter
 
Raghav Sam
Ranch Hand
Posts: 412
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Peter den Haan:
[B]Did you indicate in the tag library descriptor (TLD) that the attribute takes run-time expressions? Eg
- Peter[/B]

I just figured it out myself. Thanx anyway...
Raghav.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic