Hi
background:
Glassfish (build b19)
Mac OS X 10.4.7
I've a problem in passing parameter to custom tag files.
Example of tag file (EmailTag.tagx):
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
version="2.0">
<jsp:directive.tag body-content="empty" />
<jsp:directive.attribute name="eMail" required="false" />
...
</jsp:root>
The TLD
<?xml version="1.0" encoding="UTF-8"?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<short-name>myCustom</short-name>
<tlib-version>1.0</tlib-version>
<uri>myCustomUri</uri>
<tag-file>
<name>EmailTag</name>
<path>/META-INF/tags/com/lele/component/EmailTag.tagx</path>
</tag-file>
</taglib>
In the jspx page I call the tag file in this way:
<myCustom:EmailTag eMail="xxxxxxxxxx" />
But using glassfish verifier I got this error:
Unable to find setter method for attribute: eMail
I'm a bit confused. Wat's wrong?