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).]
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.<br />- Dr. Seuss
Peter den Haan
author
Ranch Hand
Joined: Apr 20, 2000
Posts: 3252
posted
0
Did you indicate in the tag library descriptor (TLD) that the attribute takes run-time expressions? Eg - Peter
Raghav Sam
Ranch Hand
Joined: Apr 12, 2001
Posts: 412
posted
0
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.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Passing values dynamically to a custom tag: