On Fri, 5 Jul 2002, Mark O'Driscoll wrote:

> Date: Fri, 5 Jul 2002 10:31:39 +0100
> From: Mark O'Driscoll <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: Property Editor
>
> Sorry, I didn't make myself clear. I have read the bean stuff and can see
> how to set property descriptors. My question is how do
> I register all this stuff with Tomcat? .....or maybe I haven't understood it
> at all!

JSP uses standard property editor APIs just like you do.  So,

  PropertyEditorManager.registerEditor(Class targetType,
                                       Class editorClass)

sounds like a good bet to me :-).

Craig


> ----- Original Message -----
> From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, July 04, 2002 6:59 PM
> Subject: Re: Property Editor
>
>
> >
> >
> > On Thu, 4 Jul 2002, Mark O'Driscoll wrote:
> >
> > > Date: Thu, 4 Jul 2002 18:07:35 +0100
> > > From: Mark O'Driscoll <[EMAIL PROTECTED]>
> > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> > > To: Tomcat Users List <[EMAIL PROTECTED]>
> > > Subject: Property Editor
> > >
> > > I need to use <jsp:setProperty....> with a value of a non supported
> type? I
> > > need to register a Property Editor to do this.
> > >
> >
> > How about the JavaDocs for java.beans.PropertyEditorManager?  I would also
> > suggest reading the JavaBeans specification for more background:
> >
> >   http://java.sun.com/products/javabeans/
> >
> > > Any ideas where I might find some info. on configuring specific data
> types
> > > to work with the bean mechanisms for tomcat?
> > >
> > > TIA
> > >
> > > - Mark
> > >
> >
> > Craig
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to