On Tue, 19 Feb 2002 07:21, Berin Loritsch wrote: > Peter Donald wrote: > > On Tue, 19 Feb 2002 06:05, Berin Loritsch wrote: > >>In Phoenix, Blocks only need the core Resolver interface, so they don't > >>need to do anything special. The initialize() method would look like > >> this: > >> > >>(DataSourceSelector) m_resolver.lookup( DataSourceSelector.ROLE ); > >> > >>In the event we are using it to lookup file resources, we would have > >>something like this: > >> > >>(Resource) m_resolver.lookup( "context://my/file.xml" ); > > > > So you are wanting to merge CM and Context? > > Not exactly, although that would be possible. The "context:" psuedo > protocol as defined in Cocoon is any File resource that is within > Cocoon's context directory. Not the Context object.
Im uncomfortable with that. Why not have a FileService object in CM that can grab the file resource? -- Cheers, Pete --------------------------------------------------- Murphy's law - "Anything that can go wrong, will." (Actually, this is Finagle's law, which in itself shows that Finagle was right.) --------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
