Hi all, I’m trying to pass a file name containing
oxf into a custom processor, but how would I evaluate/use that in my processor? Thanks Ryan Ryan Puddephatt Software Engineer TFX Group - IT UK Scotand EH54 7DP (
01506 407 110 7 01506 407 108 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Ryan,
Use: import org.orbeon.oxf.resources.URLFactory; URL my URL = URLFactory.createURL(myURLString); You should use this factory for any URL in OPS. This will give you access to the "oxf:" protocol handler as well as a better "http:" protocol handler. -Erik Ryan Puddephatt wrote: > Hi all, > > I’m trying to pass a file name containing oxf into a custom > processor, but how would I evaluate/use that in my processor? > > > > Thanks > > > > Ryan > > > > *Ryan Puddephatt* > > Software Engineer > > TFX Group - IT UK > > 1 Michaelson Square > > Livingston > > West Lothian > > Scotand > > EH54 7DP > > > > * [hidden email] > > ( 01506 407 110 > > 7 01506 407 108 Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Thanks Erik that works fine.
Ryan Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez >Sent: 08 May 2006 19:04 >To: [hidden email] >Subject: Re: [ops-users] Evaluating oxf protocol in a custom processor > >Ryan, > >Use: > > import org.orbeon.oxf.resources.URLFactory; > > URL my URL = URLFactory.createURL(myURLString); > >You should use this factory for any URL in OPS. This will give you >access to the "oxf:" protocol handler as well as a better "http:" >protocol handler. > >-Erik > >Ryan Puddephatt wrote: >> Hi all, >> >> I'm trying to pass a file name containing oxf into a custom >> processor, but how would I evaluate/use that in my processor? >> >> >> >> Thanks >> >> >> >> Ryan >> >> >> >> *Ryan Puddephatt* >> >> Software Engineer >> >> TFX Group - IT UK >> >> 1 Michaelson Square >> >> Livingston >> >> West Lothian >> >> Scotand >> >> EH54 7DP >> >> >> >> * [hidden email] >> >> ( 01506 407 110 >> >> 7 01506 407 108 > >-- >Orbeon - XForms Everywhere: >http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |