How to create custom tag taht supports %{
Hello!(I'm from sweden so I write in english, but feel free to answer in danish)
Using struts-tags you can pass parameters within %{} like:
<img src="<s:url action='ImageAction?imageId=%{product.id}' />" />
But how do you do that with a custom tag of your own?
I tried:
<my_custom_tags:OrderCounterTag productId="%{product.id}" title="Orders for "/>
But it do not work.
Do I need to put some extra support in my tag or is this impossible?
Best regards
Fredrik