David M. Karr wrote:
"Hans" == Hans Bergsten <[EMAIL PROTECTED]> writes:
Hans> BeanInfo classes are used by the JavaBeans introspector so it should
Hans> work. You may some ideas from the "PropertyEditors for custom string
Hans> literal conversion" section in this article I wrote for ONJava.com:
Hans> <http://www.onjava.com/pub/a/onjava/2001/11/07/jsp12.html>
Hans> It deals with using a BeanInfo class to associate PropertyEditors with
Hans> a custom action attribute, but the basics are the same.
I must have something wrong at a high level then. I put a print statement at
the top of my BeanInfo's "getPropertyDescriptors" method. I never see it.
My two classes have the following package path:
org.apache.strutsel.taglib.html.ELHtmlTag
org.apache.strutsel.taglib.html.ELHtmlTagBeanInfo
I'm using Tomcat 4.1.10 on Win2k.
I've verified both classes are in my WAR file.
It _may_ be a TC 4.1.x bug; I tested the example in the article with
TC 4.0.x way back when I wrote the article and have not tested it with
the TC 4.1.x versions. You may want to test with 4.0.x as well to find
out.
Hans
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
JavaServer Pages http://TheJSPBook.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com