|
From: Winterfeldt, D. \(IT\) <Dav...@mo...> - 2007-05-08 21:20:00
|
Thank you. I have everything working now. I should have looked at the delegate class more closely. David -----Original Message----- From: spr...@li... [mailto:spr...@li...] On Behalf Of Taras Tielkes Sent: Tuesday, May 08, 2007 2:20 PM To: spr...@li... Subject: Re: [Springframework-developer] Custom XML Parsing Issue Winterfeldt, David (IT) wrote: > I'm not sure if this would have been more appropriate for the user=20 > list or not. If it is, please let me know and I will resend to that list. >=20 > I'm using version Spring 2.0.3. I'd like to delegate parsing from=20 > within a custom parser back to the default Spring beans parsing to=20 > leverage default Spring functionality. >=20 > <mesh:process-remote id=3D"testRemote"> > <property name=3D"sender"><ref = local=3D"helloServiceSender"/></property> > </mesh:process-remote> =20 >=20 > When I call parserContext.getDelegate().parseCustomElement(element, > builder.getBeanDefinition()) in my custom parser, I get an exception. I assume you want to use something like: ---- parserContext.getDelegate().parsePropertyElement(element, definition) ---- -tt ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender = does not intend to waive confidentiality or privilege. Use of this email = is prohibited when received in error. |