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
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
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
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
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
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
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
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
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
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
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
; > 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.
> > >
>
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
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
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
>
> > ---
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:/
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.
>
>
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
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
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
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
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
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
23 matches
Mail list logo