Unable to get 'Cocoon-Libs' attribute from the Manifest

2003-06-10 Thread Collin VanDyck
I'm running Cocoon 2.0.4 on JDK1.4. I have an EAR application that includes two WARs.  In each of my WARs I include the WEB-INF/lib jars and the WEB-INF/Manifest.mf, amongst others.  When I deploy as a flattened or exploded application, everything works perfectly.   However, when I try and d

Transforming with XML in database

2003-03-14 Thread Collin VanDyck
We've got a database of XSLT documents, and I'd like to be able to selectively apply one of those transforms at some point in my pipeline.   We also generate XML from the database by extending AbstractSAXSource, and implementing a pseudo-protocol that calls it.   I'd like to be able to say s

Re: passing argument into logicsheet?

2003-03-14 Thread Collin VanDyck
We do this by using an attribute: Does that help? In your logic sheet, under that template, you would access the value with @param. - Original Message - From: "Tsui, Alban" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 05, 2003 12:12 PM Subject: passing argument i

& not decoding correctly in request parameter

2003-03-07 Thread Collin VanDyck
Hi, I have an XSLT that generates a request to a cocoon XSP page. It looks something like this: /template?inputName=templateId&saveAttribute=entityId However, when I get to the XSP page, and I try and figure out what the value of saveAttribute is, using: String saveAttribute = (String)re

Re: Error compiling sitemap

2003-03-04 Thread Collin VanDyck
I figured it out... I was working on a new computer using jdk 1.4.1, and the computer did not have the udpated xalan libraries in the endorsed directory. http://xml.apache.org/security/install.html thanks, Collin - Original Message - From: "Collin VanDyck" <[EMAIL P

Error compiling sitemap

2003-03-04 Thread Collin VanDyck
Hi, I've got a couple of sitemaps in my application, and I have just noticed something which I cannot figure out. I change the sitemap, and deploy to my app server (JBoss). When I request a resource that maps to the newly changed sitemap, Cocoon pauses (compiling) and then comes back with a comp

Undeclared Prefix Issue

2003-02-26 Thread Collin VanDyck
I'm using XSPUtil.includeString() to bring in some external XML into my source XML tree before I apply my transforms. This involves me assigning the XML to a string variable, and then including it as such: String xmlString = xmlDataValue.getXMLData(); XSPUtil.includeString(xmlString ,this.manager

Re: Pass custom parameters into an XSP

2003-02-14 Thread Collin VanDyck
  String entityType = this.parameters.getParameter("entityType");   including the other nice features of Parameters such as defaulting and converting to int, boolean, and so on. -----Original Message-From: Collin VanDyck [mailto:[EMAIL PROTECTED]]Sent: Donnerstag, 13. Februar

Re: Pass custom parameters into an XSP

2003-02-12 Thread Collin VanDyck
Wow. I did not know you could use the XSP to override the setup method.  That is VERY helpful. Thanks!!     - Original Message - From: Marco Rolappe To: [EMAIL PROTECTED] Sent: Wednesday, February 12, 2003 5:59 PM Subject: AW: Pass custom parameters into an

Pass custom parameters into an XSP

2003-02-12 Thread Collin VanDyck
Hello,   I am trying to figure out how I can pass in custom parameters into an already existing generator such as the XSP/serverpages generator.  Here's my scenario:   I receive a request for /edit/page   Which matches /edit/*   So from this matcher, I have {1} == "page".. I want to pass this

Using getLastModified() to implement browser caching

2003-01-30 Thread Collin VanDyck
Hi,   I've implemented a custom Reader to read file entities out of my database.  Because these file entities span across multiple tables and are managed thru my J2EE container, I'd like to implement some browser-side caching to prevent excessive generation on the server side.   In my reader

Re: Parsing multipart form data

2003-01-21 Thread Collin VanDyck
; > There you go - you've cast to FilePartFile - cast to FilePart > > (or directly > > > to FilePartArray) and you're set. We need another example at the Wiki > > > (assuming that's where you got the concept from?) showing FilePartArray. > > > >

Re: Parsing multipart form data

2003-01-20 Thread Collin VanDyck
from?) showing FilePartArray. > > Should have thought of that first, > Geoff > > > -Original Message- > > From: Collin VanDyck [mailto:[EMAIL PROTECTED]] > > Sent: Monday, January 20, 2003 5:22 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Parsing multi

Re: Parsing multipart form data

2003-01-20 Thread Collin VanDyck
Well, with regards to which web.xml file we are using. I am not sure why this is the way it is, but we have three WAR files, right now exploded, so they aren't archived (read: easy to modify).. Each of the WARs has its own web.xml file with a web-app tag that deals with Cocoon for that web appl

Re: Parsing multipart form data

2003-01-20 Thread Collin VanDyck
rd" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 20, 2003 5:32 PM Subject: RE: Parsing multipart form data > ah, that brings to mind another idea - send a snippet of your action that > deals with getting the FilePart... > > Geoff > > > ---

Re: Parsing multipart form data

2003-01-20 Thread Collin VanDyck
Here is my web.xml file. (It's long, so an apology in advance). I hope this helps, and I really do appreciate everyone's help in this list. I commented out overwrite-uploads and set the autosave-uploads to false, but I still get a FilePartFile instead of a FilePartArray. thanks, Collin http:/

Re: Parsing multipart form data

2003-01-20 Thread Collin VanDyck
done for you by the time your action gets > on the scene. You can then use the FilePart object to get the contents of > the file via an InputStream and do whatever you want with it. > > If that doesn't help, give more of an idea of what you need to do on the > backend. > >

Parsing multipart form data

2003-01-20 Thread Collin VanDyck
Hi,   I'm trying to figure out the best way to parse multi-part form data.  I have a page which submits to a certain URI which invokes an action.  This action needs to parse the multi-part form data (in the request object I believe) and then pass that data off to my j2ee backend for processi

Logkit logger not working from within custom protocol

2003-01-15 Thread Collin VanDyck
Hi,   I've extended AbstractLoggable and implemented SourceFactory and Composable in order to create a protocol that will generate SAX events.  When I retrieve the logger (this.getLogger()), I get null back, which means i have resorted to system.out.printlns to debug (yek).  Does anyone also

Re: java.lang.NullPointerException when initializing AbstractSAXSource

2002-12-30 Thread Collin VanDyck
Sorry about the double post guys.  I had emailed from a different account and wasn't sure if it would show up or not, so I resent using the account from which I had registered to the list.   Collin   - Original Message - From: Collin VanDyck To: [EMAIL PROT

java.lang.NullPointerException when initializing AbstractSAXSource

2002-12-30 Thread Collin VanDyck
I've got a class that extends AbstractSAXSource.  My class's constructor is called with the parameters:   Environment ComponentManager Logger and others...   The first time that this class is instantiated once the j2ee (Jboss) system has been started, it runs fine.  No problem.   However, s

AbstractSAXSource constructor throwing java.lang.NullPointerException

2002-12-30 Thread Collin VanDyck
I've got a class that extends AbstractSAXSource.  My class's constructor is called with the parameters:   Environment ComponentManager Logger and others...   The first time that this class is instantiated once the j2ee (Jboss) system has been started, it runs fine.  No problem.   However, s

Re: Cocoon 2.0.4, Tomcat 4.1.18, Java 1.4, and

2002-12-23 Thread Collin VanDyck
Jonathan, Did you rebuild cocoon with 1.4 using the xerces and xalan libraries? I was having problems until I built it from scratch. http://xml.apache.org/cocoon/installing/index.html Collin - Original Message - From: "Jonathan Lancelle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent