processPipelineTo and error handling

2011-01-20 Thread Schmitz, Jeffrey A
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

pipeline error handler

2011-01-14 Thread Schmitz, Jeffrey A
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

RE: Switching to Saxon

2010-12-17 Thread Schmitz, Jeffrey A
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? > &

RE: Switching to Saxon

2010-12-16 Thread Schmitz, Jeffrey A
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

RE: Very large Generator file

2010-05-11 Thread Schmitz, Jeffrey A
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

RE: Very large Generator file

2010-05-11 Thread Schmitz, Jeffrey A
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

RE: Very large Generator file

2010-05-10 Thread Schmitz, Jeffrey A
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

RE: Very large Generator file

2010-05-10 Thread Schmitz, Jeffrey A
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

RE: Very large Generator file

2010-05-10 Thread Schmitz, Jeffrey A
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

RE: Very large Generator file

2010-05-10 Thread Schmitz, Jeffrey A
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 >

Very large Generator file

2010-05-07 Thread Schmitz, Jeffrey A
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

RE: cocoon upload {SOLVED}

2010-02-22 Thread Schmitz, Jeffrey A
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

Validator ?s

2010-02-18 Thread Schmitz, Jeffrey A
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

RE: Cocoon.load [SOLVED]

2010-02-17 Thread Schmitz, Jeffrey A
.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

RE: Cocoon.load

2010-02-17 Thread Schmitz, Jeffrey A
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

RE: Cocoon.load

2010-02-16 Thread Schmitz, Jeffrey A
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 > >

Cocoon.load

2010-02-15 Thread Schmitz, Jeffrey A
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

RE: Can't use switch with cocoon.request.get in flowscript [SOLUTION]

2010-02-11 Thread Schmitz, Jeffrey A
uot;); > break; > default: > print("request parameter was none of the above"); > break; > } > } > > > function getCmd(name) { > return "" + cocoon.

RE: Can't use switch with cocoon.request.get in flowscript

2010-02-08 Thread Schmitz, Jeffrey A
break; > } >case default: > { > print("Command did not match any of the above"); > break; > } > } > > If this snippet still does print the default output you know

RE: Can't use switch with cocoon.request.get in flowscript

2010-02-08 Thread Schmitz, Jeffrey A
print("Command is Create Model"); > break; > } >... >Case default: > { > print("Command did not match any of the above"); > break; > } > } &

Can't use switch with cocoon.request.get in flowscript

2010-02-08 Thread Schmitz, Jeffrey A
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

esql

2007-08-14 Thread Schmitz, Jeffrey A
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

Simple Java from flowscript ?

2007-07-25 Thread Schmitz, Jeffrey A
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

RE: Flowscript Continuation ID parameter

2007-06-13 Thread Schmitz, Jeffrey A
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

RE: File Update with flowscript

2007-06-13 Thread Schmitz, Jeffrey A
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

RE: File Update with flowscript

2007-06-13 Thread Schmitz, Jeffrey A
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

RE: File Update with flowscript

2007-06-12 Thread Schmitz, Jeffrey A
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

File Update with flowscript

2007-06-12 Thread Schmitz, Jeffrey A
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

Flowscript Continuation ID parameter

2007-06-12 Thread Schmitz, Jeffrey A
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

RE: Build against Java 6

2007-05-09 Thread Schmitz, Jeffrey A
- 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

Build against Java 6

2007-05-09 Thread Schmitz, Jeffrey A
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

RE: XML Transforms and namespaceURI

2007-03-07 Thread Schmitz, Jeffrey A
xmlStr.toSAX(contentHandler); } public String generate(String xmlStr) { return xmlStr; } public Serializable getKey() { return "1"; } public SourceValidity getValidity() { return NOPValidity.SHARE

XML Transforms and namespaceURI

2007-03-07 Thread Schmitz, Jeffrey A
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

RE: org.apache.cocoon.caching is missing from build

2007-03-01 Thread Schmitz, Jeffrey A
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

RE: org.apache.cocoon.caching is missing from build

2007-03-01 Thread Schmitz, Jeffrey A
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

org.apache.cocoon.caching is missing from build

2007-03-01 Thread Schmitz, Jeffrey A
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

RE: Custom Transformer

2007-03-01 Thread Schmitz, Jeffrey A
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: > > '

RE: Custom Transformer

2007-03-01 Thread Schmitz, Jeffrey A
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

RE: Custom Transformer

2007-03-01 Thread Schmitz, Jeffrey A
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

RE: Custom Transformer

2007-03-01 Thread Schmitz, Jeffrey A
; 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

RE: Custom Transformer

2007-03-01 Thread Schmitz, Jeffrey A
: 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 >

RE: Custom Transformer

2007-03-01 Thread Schmitz, Jeffrey A
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 { >

RE: Custom Transformer

2007-03-01 Thread Schmitz, Jeffrey A
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

RE: Custom Transformer

2007-03-01 Thread Schmitz, Jeffrey A
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

RE: Implementing a series of transformations

2007-03-01 Thread Schmitz, Jeffrey A
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

Custom Transformer

2007-03-01 Thread Schmitz, Jeffrey 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. Thanks, Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Implementing a series of transformations

2007-02-28 Thread Schmitz, Jeffrey A
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:

Implementing a series of transformations

2007-02-28 Thread Schmitz, Jeffrey A
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

RE: Installing

2007-02-27 Thread Schmitz, Jeffrey A
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:

Installing

2007-02-27 Thread Schmitz, Jeffrey A
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

RE: Creating pipeline with aggregate?

2007-02-27 Thread Schmitz, Jeffrey A
? 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

Creating pipeline with aggregate?

2007-02-27 Thread Schmitz, Jeffrey 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:aggregate element, everything works fine, but simply adding the second p

RE: Xsp logicsheet method invocation

2007-02-06 Thread Schmitz, Jeffrey A
: 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

RE: Xsp logicsheet method invocation

2007-02-06 Thread Schmitz, Jeffrey A
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

RE: Xsp logicsheet method invocation

2007-02-05 Thread Schmitz, Jeffrey A
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

Xsp logicsheet method invocation

2007-02-05 Thread Schmitz, Jeffrey A
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