Hi,

How to use the ${...} expression in our own taglib?

I have this code:
<c:set var="data1">Cambridge</c:set>
<c:set var="data2">London</c:set>
<mycustomtaglib:distance from="${data1}"
to="${data2}"/>

The problem is that within mycustomtaglib, the "from"
attribute gets the value of String "${data1}" instead
of "Cambridge". The same thing with data2.

It works fine if it is used without ${...}
<mycustomtaglib:distance from="Cambridge"
to="London"/>

Regards,
Amarant

=====
Amarant Merah - survive, and fighting.

http://www.sold.com.au - The Sold.com.au Big Brand Sale
- New PCs, notebooks, digital cameras, phones and more ... Sale ends June 12

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to