This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 93445 - Property editor does not show custom converters in the same project, specified in faces-config.xml
Summary: Property editor does not show custom converters in the same project, specifie...
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Gregory Murphy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-29 14:57 UTC by rdelaplante
Modified: 2007-03-05 23:45 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rdelaplante 2007-01-29 14:57:11 UTC
I've created a new custom converter that implements
javax.faces.convert.Converter.  In faces-config.xml  I've added:

<converter>
     <description>
       My description
     </description>
     <converter-id>MyConverter</converter-id>
     <converter-class>
       com.mydomain.web.MyConverter
     </converter-class>
 </converter>


When look at the converter property for any object, MyConverter is not listed as
a converter I can choose.  I've tried restarting the IDE, and closing/reopening
the project. 

On the nbusers mailing list, Gregory Murphy says:

Currently, the property editor only picks up converter definitions that are part
of libraries in the project's classpath. So you could, if you wanted, define
your converters as part of a separate project, and make your web project depend
on it. That should cause the converter to appear in the drop-down for the
property editor.