You need to add the property editors to the PropertyEditorManager
Try using the PropertyEditorManagerService mbean in the properties-service.xml
file:
<mbean code="org.jboss.varia.property.PropertyEditorManagerService"
name="jboss:type=Service,name=PropertyEditorManager">
<!--
| Register and editor for each of the type_name=editor_type_name listed
| in properties file style convetion.
<attribute name="Editors">
java.net.URL=my.project.editors.URLPropertyEditor
</attribute>
-->
</mbean>
Either that or add the package your editors are in to the PropertyEditorManager
EditorSearchPath, taking care to maintain the existing path.
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
----- Original Message -----
From: "Matt Munz" <[EMAIL PROTECTED]>
To: "JBoss Developers Group" <[EMAIL PROTECTED]>
Sent: Wednesday, September 18, 2002 10:01 AM
Subject: [JBoss-dev] property editors for the jmx html adaptor
>
> Hi all,
>
> I'm thinking of making my MBean more accessible through the jmx console.
> Specifically, I'd like to allow the user to enter values for complex objects
> (not primitives, Strings, etc.). Is there currently a way to add a property
> editor for an object so that I can enter it (as a String) in the jmx
> console?
>
> - Matt
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: AMD - Your access to the experts
> on Hammer Technology! Open Source & Linux Developers, register now
> for the AMD Developer Symposium. Code: EX8664
> http://www.developwithamd.com/developerlab
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
>
-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development