When recently working on a custom Java tag library, I had forgotten one twist. If you need your tag to have a parameter accept an EL expression, your TLD attribute entry needs to include <rtexprvalue>true</rtexprvalue>.
Also don't forget that the tag lib version should be at least 1.2 and the JSP version should be at least 2.0.
Wednesday, June 15, 2011
Subscribe to:
Posts (Atom)