Joshua Lucas wrote:
> 
> ----- Original Message -----
> From: Joshua Lucas <[EMAIL PROTECTED]>
> To: Turbine <[EMAIL PROTECTED]>
> Sent: Friday, January 07, 2000 6:16 PM
> Subject: Tomcat and Turbine
> 
> > After all of this, I now have a question.  The current architecture that
> I'm
> > working with has user information in XML files as opposed to a database
> and
> > authentication against a server instead of a database.  I realize that the
> > out-of-the-box Turbine does not support this but I was wondering if anyone
> > had any suggestions as to where to start looking to modify the necessary
> > code in order to work with this architecture.
> >
> > Any help would be greatly appreciated.
> >
> >
> > josh
> >
> >
> 
> As I try to sort of add to my own question, if I took authentication out of
> the picture and wanted to use Cocoon as the mechanism for 'filling in' my
> Screens, would a Cocoon Producer be the correct place for the XML lookup as
> opposed to adding the XML lookup to the DBBroker architecture?

You would use org.apache.cocoon.util.CocoonServletRequest (in the
samples dir of CVS for Cocoon) to wrap your data into a servlet request
object.  You would then pass this into the Cocoon engine, and let Cocoon
process it with the ProducerFromRequest.  I have been meaning to add
examples to Cocoon, I just have a big product release at work right now
so haven't had time... soon, i promise ;-)  In the meantime, look at
samples/fromServlet in Cocoon, those are ones I wrote that will show you
how.

-Brett

> 
> josh
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to