Hello,
I have a flowscript which calls processPipelineTo, and I can't figure out
how to get back into the script if there is an exception in one of the
components of the pipeline that has been called. For some reason, any error
handling in my sitemap sends its results back to the client (i.e
Hello,
I'm having a problem with my error handlers in Cocoon 2.1.11. Specifically, I
can't get my error handlers to work when attached to an individual pipeline.
They work when attached to a "pipelines" element, so I think my map:selectors
is setup ok, but the handlers attached to a pipeline
gt; Subject: Re: Switching to Saxon
>
> On 16/12/10 16:23, Schmitz, Jeffrey A wrote:
> > Taking a quick look, that looks like the same as I did, although I'm
> > using a saxon9he.jar file. To ask maybe a dumb question, did you
> > restart Cocoon after adding the jar?
>
&
Taking a quick look, that looks like the same as I did, although I'm using a
saxon9he.jar file. To ask maybe a dumb question, did you restart Cocoon after
adding the jar?
> -Original Message-
> From: Peter Flynn [mailto:pfl...@ucc.ie]
> Sent: Thursday, December 16, 2010 9:58 AM
> To: us
Hi Steve,
Yeah, I was looking at the Saxon solution earlier. The restriction that you
can't use predicates (e.g. //eleme...@name=$refname]) I'm afraid may be a deal
breaker for us.
Jeff
> -Original Message-
> From: Steven D. Majewski [mailto:sd...@virginia.edu]
> Sent: Tuesday, May
Thanks Huib,
I'm afraid my document is very interconnected. I'm coming to realize that
xslt has pretty much a hard limit on the size of files you can process with it,
i.e. if it can't fit into memory and you need the full power of xslt you're
pretty much out of luck. What about going to a 6
emory footprint all the
> time.
>
>
> On Mon, 2010-05-10 at 09:43 -0500, Schmitz, Jeffrey A wrote:
> > Yes, the resulting XHTML file is not for online use.
> >
> > And yes, I've given max memory to the tomcat instance. So, will
> having my specialized tra
eport/summary.
> If this is the case a short java program can make that xhtml file for
> you.
>
> Cheers,
> Jos
>
>
> On Mon, 2010-05-10 at 09:17 -0500, Schmitz, Jeffrey A wrote:
> > Hi Jos,
> >I've already written my own Transformer (extends
> Abstrac
read xml
> - do something with it (transforming, for instance)
> - write output to a file
>
> Jos
>
> On Mon, 2010-05-10 at 08:23 -0500, Schmitz, Jeffrey A wrote:
> > Correct, it's not being turned into a web page. Is a SAX pipeline
> part of Cocoon? I'm
e web page?
> In general, if you have to deal with lengthy inputs, a SAX pipeline is
> the way to go.
>
> Jos
>
> On Fri, 2010-05-07 at 18:14 -0500, Schmitz, Jeffrey A wrote:
> > Hello,
> >
> >I was wondering if there’s a way to handle very large files as
>
Hello,
I was wondering if there's a way to handle very large files as inputs to the
default cocoon generator? As it is, I am getting a memory heap error when
trying to process an input file because it's so large. Am I going to have to
process it in some other manner, or is there a way to ma
Ended up being the user-roles attribute got inadvertantly deleted in the cocoon
element of the cocoon.xconf file. That linked example still works fine with 2.1
Jeff
Work: 314-232-1997
Cell: 636-448-5990
From: Francesco Chicchiriccò [mailto:francesco.chicchi
Hello,
In the validator documentation is states the following:
As an alternative for fd:java, you can also add validators at run time to a
form instance, using the addValidator method on a form or widget. Since you
then instantiate the validator yourself, you can pass it anything you want, an
.xconf,
others?) to work.
Jeff
> -Original Message-----
> From: Schmitz, Jeffrey A
> Sent: Wednesday, February 17, 2010 2:45 PM
> To: users@cocoon.apache.org
> Subject: RE: Cocoon.load
>
> I've determined that the referenced Form.js script actually
> is bein
at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
Jeff
Work: 314-232-1997
Cell: 636-448-5990
> -Original Message-
> From: Schmitz, Jeffrey A
> Sent: Tuesday, February 16, 2010 10:09 AM
ett.it]
> Sent: Tuesday, February 16, 2010 3:29 AM
> To: users@cocoon.apache.org
> Subject: Re: Cocoon.load
>
> On 15/feb/10, at 19:30, Schmitz, Jeffrey A wrote:
>
> > Hello,
> > I'm running my cocoon app under tomcat, and am trying to
> figure out
> >
Hello,
I'm running my cocoon app under tomcat, and am trying to figure out where to
place the target of a cocoon.load call in my flowscript so that it will be
found at runtime.
For example, I'm trying to use:
cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js");
While I
uot;);
> break;
> default:
> print("request parameter was none of the above");
> break;
> }
> }
>
>
> function getCmd(name) {
> return "" + cocoon.
break;
> }
>case default:
> {
> print("Command did not match any of the above");
> break;
> }
> }
>
> If this snippet still does print the default output you know
print("Command is Create Model");
> break;
> }
>...
>Case default:
> {
> print("Command did not match any of the above");
> break;
> }
> }
&
Hello,
In Cocoonn 2.1, does anyone know why I can't use a switch command with the
result of cocoon.request.get in flowscript? if's work just fine, but switch
doesn't. E.g. to get the switch to work I have to do the following:
var cmd = cocoon.request.get("Cmd");
//For some reason
Hello,
I'm trying to get esql query to work within my xsp page, but am
having no luck. I don't get any errors, but I don't get any data
either, and also the no-results tag doesn't get invoked, nor does the
get-message tag. It looks pretty simple, but with no results and no
error messages to go
Hello,
I've tried to call java from my flowscript as shown here:
http://cocoon.apache.org/2.1/userdocs/flow/java.html
However, I get a compilation error when I try to load my webpage. First,
is there anywhere to see specifics about the compilation error
encountered? All it tells me is Compil
On this subject, I'm thinking my scheme isn't going to work. It looks
like it's the call to sendPageAndWait that generates a new
continuationID. Since I'm using sendPageAndWait to invoke my
non-JXTemplateGenerator sitemap entry, I have no way to access the new
continuation ID from within my javas
From: Schmitz, Jeffrey A
Sent: Wednesday, June 13, 2007 12:02 PM
To: Schmitz, Jeffrey A; 'users@cocoon.apache.org'
Cc: 'Joerg Heinicke'
Subject: RE: File Update with flowscript
Hello,
I'm still working on getting a file upload to work using flowscript
per Joerg's
anks,
Jeff
-Original Message-----
From: Schmitz, Jeffrey A
Sent: Tuesday, June 12, 2007 12:25 PM
To: 'users@cocoon.apache.org'
Subject: RE: File Update with flowscript
I was able to build it myself from the source, jar it and install it and
that seems to have gotten me past the class no
I was able to build it myself from the source, jar it and install it and
that seems to have gotten me past the class not found error.
Jeff
-Original Message-
From: Schmitz, Jeffrey A
Sent: Tuesday, June 12, 2007 12:08 PM
To: users@cocoon.apache.org
Subject: File Update with flowscript
Hello,
I was trying to follow the instructions here:
http://wiki.apache.org/cocoon/FileUploadsWithFlow
But am getting a class not found exception on
org.apache.cocoon.components.upload.FileUploadManagerImpl
I did download and install the referenced cocoon-upload.jar file.
Any ideas?
Thank
Hello,
I see how the continuration ID can be accessed from within a .jx file
as follows:
As long as the .jx file is processed by the JXTemplateGenerator, e.g.
However, as part of my page "flow" I want to invoke an already existing
transform that uses the file ge
-
From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 09, 2007 2:23 PM
To: users@cocoon.apache.org
Subject: Re: Build against Java 6
On 09.05.2007 20:28, Schmitz, Jeffrey A wrote:
>I downloaded Cocoon 2.1.10 and tried to build against jdk1.6.0_01
> but get the er
Hello,
I downloaded Cocoon 2.1.10 and tried to build against jdk1.6.0_01 but
get the error below. Does cocoon not yet work with java 6?
C:\Program Files\Apache Software
Foundation\cocoon-2.1.10\src\blocks\databases\j
ava\org\apache\cocoon\databases\ibatis\ExcaliburDataSourceFactory.java:8
2
xmlStr.toSAX(contentHandler);
}
public String generate(String xmlStr) {
return xmlStr;
}
public Serializable getKey() {
return "1";
}
public SourceValidity getValidity() {
return NOPValidity.SHARE
This is hopefully a very simple question. I'm trying to figure out the
whole namespace concept as it applies to a custom transformation. For
my xml data, I don't use namespaces, and I don't want any filtering on
any namespace, i.e. I want to process all the data in the xml file. For
this situati
OK, it built, no errors, but still no caching package. I downloaded
cocoon-2.1.10 just a couple days ago. Perhaps there is a problem with the
build file?
-Original Message-
From: Schmitz, Jeffrey A
Sent: Thursday, March 01, 2007 3:13 PM
To: users@cocoon.apache.org
Subject: RE
bject: Re: org.apache.cocoon.caching is missing from build
Schmitz, Jeffrey A napisał(a):
> I'm still back where I was, tomcat can't find the
> org/apache/cocoon/caching/CacheableProcessingComponent class.
>
> When I look in .../cocoon/WEB-INF/classes/org/apache/cocoo
ursday, March 01, 2007 2:01 PM
To: users@cocoon.apache.org
Subject: Re: Custom Transformer
Schmitz, Jeffrey A napisał(a):
> Sorry to be a pain, but the build still isn't working.
>
> What exactly does the JAVA_HOME need to be set to? I'm setting it to:
>
> 'C:\Program Files\J
ROTECTED]
Sent: Thursday, March 01, 2007 2:01 PM
To: users@cocoon.apache.org
Subject: Re: Custom Transformer
Schmitz, Jeffrey A napisał(a):
> Sorry to be a pain, but the build still isn't working.
>
> What exactly does the JAVA_HOME need to be set to? I'm setting it to:
>
> '
AVA_HOME/lib and javac is in JAVA_HOME/bin
Thanks,
Jeff
-Original Message-
From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 1:07 PM
To: users@cocoon.apache.org
Subject: Re: Custom Transformer
Schmitz, Jeffrey A napisał(a):
> I think it's pretty c
OK, got the build to work, I was using double quotes. I'll have to set it up
and try with my transformer.
Jeff
-Original Message-
From: Schmitz, Jeffrey A
Sent: Thursday, March 01, 2007 1:17 PM
To: users@cocoon.apache.org
Subject: RE: Custom Transformer
Here's what I did
; was unexpected
Thanks,
Jeff
-Original Message-
From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 1:07 PM
To: users@cocoon.apache.org
Subject: Re: Custom Transformer
Schmitz, Jeffrey A napisał(a):
> I think it's pretty close (see below), but
: Thursday, March 01, 2007 10:36 AM
To: users@cocoon.apache.org
Subject: Re: Custom Transformer
Schmitz, Jeffrey A napisał(a):
> Thanks!
>
> So something like this (did I get the SaxBuffer stuff right?):
>
> public class Mytrans extends AbstractTransformer implements
>
To: users@cocoon.apache.org
Subject: Re: Custom Transformer
Schmitz, Jeffrey A napisał(a):
> Thanks!
>
> So something like this (did I get the SaxBuffer stuff right?):
>
> public class Mytrans extends AbstractTransformer implements
> CacheableProcessingComponent {
>
StringXMLizable(content);
xmlStr.toSAX(contentHandler);
}
}
-Original Message-
From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 9:22 AM
To: users@cocoon.apache.org
Subject: Re: Custom Transformer
Schmitz, Jeffrey
t: Re: Custom Transformer
Schmitz, Jeffrey A napisał(a):
> Is there a simple implementation of a Custom Transformer using
> AbstractSAXTransformer anywhere? Would love to see just a Hello World
> program, but can't seem to find one.
>
The most simple transfo
owski [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 8:25 AM
To: users@cocoon.apache.org
Subject: Re: Implementing a series of transformations
Schmitz, Jeffrey A napisał(a):
> Hello,
>I've been struggling with the following scenario for some time and
> thought it was time
Is there a simple implementation of a Custom Transformer using
AbstractSAXTransformer anywhere? Would love to see just a Hello World
program, but can't seem to find one.
Thanks,
Jeff
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
e an intermediate file and reader if need be, but I still can't
seem to get the flow I need using this approach.
Thanks,
Jeff
-Original Message-
From: Jason Johnston [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 28, 2007 9:29 AM
To: users@cocoon.apache.org
Subject: Re:
Hello,
I've been struggling with the following scenario for some time and
thought it was time to post. Basically, I need to be able to perform
the following types of translations, in the order specified, all with
one pipeline, and I can't figure out how to do it using Cocoon:
1. Transform an
OK, I got past that problem, but now it doesn't like the space in my
JAVA_HOME environment variable path(C:\Program Files\Java\jdk1.5.0_07).
How can I get around this?
Thanks,
Jeff
-Original Message-
From: Schmitz, Jeffrey A
Sent: Tuesday, February 27, 2007 4:28 PM
To:
OK, I tried following the "Don't worry - this is really easy if you
follow the instructions in the INSTALL.txt file" (see below) process to
build the latest version of Cocoon on Windows XP. However, when I get
to step three below, I don't know where to execute the "build" command
from. I tried
?
Schmitz, Jeffrey A napisał(a):
> Hello,
> I'm trying to create a pipeline with an aggregate, and I must be
> doing something wrong in the syntax that I just can't see. Below are
> my sitemap definitions, and when the second map:part isn't specified
> in the map
Hello,
I'm trying to create a pipeline with an aggregate, and I must be
doing something wrong in the syntax that I just can't see. Below are my
sitemap definitions, and when the second map:part isn't specified in the
map:aggregate element, everything works fine, but simply adding the
second p
: Xsp logicsheet method invocation
Schmitz, Jeffrey A wrote:
> My logicsheet function which serves as my generator produces (and
> returns) an xml string. Why, before it gets passed to my xsl
> transformer are all the angle brackets converted to < and >, and
> is there a wa
r an answer and read through all the xsp/logicsheet
stuff and don't see this described anywhere.
Thanks,
Jeff
-Original Message-----
From: Schmitz, Jeffrey A
Sent: Monday, February 05, 2007 3:12 PM
To: users@cocoon.apache.org
Subject: RE: Xsp logicsheet method invocation
In a related q
o this conversion on my generator output so that my xsl
transform will properly transform the code?
Thanks
Jeff
-Original Message-
From: Schmitz, Jeffrey A
Sent: Monday, February 05, 2007 1:49 PM
To: users@cocoon.apache.org
Subject: Xsp logicsheet method invocation
Hello,
I'm trying
Hello,
I'm trying use and xsp generator that uses a logic sheet, and I'm
almost there, but there's something I don't understand. For some
reason, in my logicsheet xsl file, I have to put xml tags around my java
function invocation, otherwise, when I try to invoke the associated
sitemap pipeline
56 matches
Mail list logo