Re: Remove XML declaration and html DOCTYPE

2013-06-19 Thread Joel McConaughy
remove the xml declaration and doctype from xml and html serializes ?? -- Joel McConaughy 206-300-4732 joelmcconau...@gmail.com

Re: How to build cocoon 2.2 from source for debugging

2012-07-10 Thread Joel McConaughy
source code. Hartelijke groet, Huib. Verstuurd vanaf mijn iPhone Op 9 jul. 2012 om 22:07 heeft Joel McConaughy joelmcconau...@gmail.com het volgende geschreven: Unfortunately I am working on an app built on cocoon 2.2 so need to use that version. Thanks for the quick reply though

How to build cocoon 2.2 from source for debugging

2012-07-09 Thread Joel McConaughy
Are the build instructions at http://cocoon.apache.org/798_1_1.html still valid? I am getting some basic dependency errors from maven and wanted to see if there are updated instructions before I starting digging into the problems. Here is the output of mvn clean. Thanks. joel

Re: How to build cocoon 2.2 from source for debugging

2012-07-09 Thread Joel McConaughy
. -- Joel McConaughy 206-300-4732 joelmcconau...@gmail.com

Help applying a patch from BRANCH_2_1_X to v2.2

2011-07-16 Thread Joel McConaughy
Hi, There is a patch r1086733 to the cforms block that I would like to apply to v2.2. I am using maven to build our application but do not know how to update the local repository and apply these changes. Can anyone help point me in the right direction? Thanks! Joel

Re: Support / Consultancy for our Cocoon 2.1.9 platform

2011-02-18 Thread Joel McConaughy
...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org -- Joel McConaughy 206-300-4732 j...@displayware.com

[JOB] Cforms/Ajax expert needed

2006-08-09 Thread Joel McConaughy
Title: [JOB] Cforms/Ajax expert needed We are looking for a contract developer to help extend the Cforms framework with some new widgets and work towards getting these included in future cocoon releases. Our first project is to develop a replacement file upload widget that can handle

Help finding dbcp connection leaks

2006-01-17 Thread Joel McConaughy
I suspect we have a connection leak in our application. There is a logAbandoned parameter for dbcp but I can figure out how to configure it in cocoon 2.1.7/tomcat 5.5.9/mysql 4.1.11. The documentation on this is"sparse". Is there a better way to find connection leaks? Thanks. joel

[JOBS] Cocoon contractor, Seattle

2005-08-09 Thread Joel McConaughy
Title: [JOBS] Cocoon contractor, Seattle Displayware is a Seattle-based software development company. We have immediate need for a contractor experienced with cocoon, cforms, flowscript, hibernate, mysql, java, cvs, and eclipse (in order of importance). Project runs through October with

RE: Is ESQL/xsp supposed to stream?

2005-07-25 Thread Joel McConaughy
growing to the size of the total result set. - I can remove the stx transform and the xsp sill caches. Is there any way to get more visibility on what is going on inside the xsp generator? Joel Joel McConaughy Managing Partner Displayware LLC 800 Fifth Ave., #101-316 Seattle, WA 98104-3191 206-300

Is ESQL/xsp supposed to stream?

2005-07-24 Thread Joel McConaughy
I'm trying to use the serverpages generator with ESQL and the stx transfomer to process large database tables. The serverpages generator is not streaming but rather caches the entire contents of the query before passing data to the stx transformer. Is this expected behavior? Is there a way to

Which component causes out of memory error?

2005-06-28 Thread Joel McConaughy
Hi, I am trying to generate a large response (500MB) from a pipeline but get out of memory errors. I cannot just increase the jvm memory as the response may be of arbitrary length. I have tried to configure a pipeline that streams without caching or creating an in-memory tree using the

cannot create a quartz scheduler error

2004-09-14 Thread Joel McConaughy
I am trying to update the excalibur-datasource-1.1.1.jar to the latest version 1.2.0 to fix a problem with the database connection pool (cocoon 2.1.5.1, jdk 1.4.2_05, tomcat 5.0.19). When I replace the jar, I get the following error: org.quartz.SchedulerException: Scheduler with name

Database connections hang

2004-09-08 Thread Joel McConaughy
I have database connections hanging under load (2.1.5.1, jdk1.4.2_05, MySQL 4.0.18). I found a thread about updating excalibur-datasource-1.1.1.jar to a later version to fix this. When I upgrade to excalibur-datasource-1.2.0.jar, I get cannot create a quaetz scheduler. Has anyone seen this

How to use {session-context} in sitemap?

2004-08-14 Thread Joel McConaughy
I'm trying to access the session context from the sitemap using {session-context:session/attribute} syntax as described in the session docs but am getting an empty value. It looks like I have properly set the session attribute but that the core.session-manager can't find it. What am I doing

Re: Cocoon won't install on tomcat 4.1x?

2004-08-11 Thread Joel McConaughy
Millo Magnocavallo wrote: Hi, I wish to install cocoon-2.1.5.1 on my system and I'm running tomcat 4.1.27 however in the installation instructions there doesn't seem to be anything related to installing for this tomcat version. It covers the following versions: # Installing on Tomcat 3.3.X #

Where to store a hibernate session in Flow?

2004-08-03 Thread Joel McConaughy
I would like to open one hibernate session for each user session and close it when the session is invalidated or times out. I can see how save the hibernate session in Flow using cocoon.session.setAttribute() and cocoon.session.getAttribute() however there doesn't seem to be a way to get

Re: Where to store a hibernate session in Flow?

2004-08-03 Thread Joel McConaughy
to access it from Flow. This is one of those things that seems like it should be simple. Any ideas? Thanks in advance. Mark Lundquist wrote: On Aug 3, 2004, at 6:20 PM, Joel McConaughy wrote: I would like to open one hibernate session for each user session and close it when the session

esql:get-xml default namespace?

2004-07-09 Thread Joel McConaughy
I am using the tag esql:get-xml column=otherxml/ to retrieve xml from a database column. Using a view, I can see the output from this step in the pipeline and it looks fine. However, when I try to access the returned xml from a stylesheet later on in the pipeline, it doesn't find it. I

Re: SQL Transformer: inserting XML into TEXT column?

2004-07-09 Thread Joel McConaughy
this or do I just following the wiki instructions? Thanks. joel Joel McConaughy wrote: I'm trying to insert some XML into a text column using the SQL Transformer however the element tags are getting removed and only the text elements are getting into the insert statement. Is there a way to do

Cforms: bean AND xml binding in a single form?

2004-07-06 Thread Joel McConaughy
Title: Cforms: bean AND xml binding in a single form? Is it possible to use both bean and xml binding in a single form? I'm using hibernate and the bean binding to access SQL data. One of the columns contains xml data that I would like to include in the form. Thanks. Joel

ValidationTransformer bits?

2004-07-06 Thread Joel McConaughy
There is a ValidationTransformer described in the wiki but no download links that I can find. Is this code available somewhere? Thanks. joel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

SQL Transformer: inserting XML into TEXT column?

2004-07-06 Thread Joel McConaughy
I'm trying to insert some XML into a text column using the SQL Transformer however the element tags are getting removed and only the text elements are getting into the insert statement. Is there a way to do this? Thanks. joel

Making an xml-rpc call within a pipeline?

2004-07-01 Thread Joel McConaughy
I have an XML-RPC based logging system. I would like to call this within other pipelines to log certain application results. Ideally, I'd like something like the following: match pattern=some-pipeline generate type=serverpages src=some.xsp / transform type=xslt src=insert-logging-xml.xsl /

Validating XML in pipeline?

2004-06-29 Thread Joel McConaughy
I would like to validate XML within the pipeline before running it through a set of stylesheets. Rooting thru the archives, I found a couple of references to a custom action that validates against a DTD. Is there a way to do this without resorting to an action? This seems like it should be

RE: CForms+Hibernate+Flow

2004-06-18 Thread Joel McConaughy
. Regards, joel Joel McConaughy Managing Partner Displayware LLC 800 Fifth Ave., #101-316 Seattle, WA 98104-3191 206-300-4732 Direct 206-382-2188 Fax [EMAIL PROTECTED] -Original Message- From: Nick Van den Bleeken [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 1:02 PM To: [EMAIL

[cforms] How to add tag attributes that contain ft:widget?

2004-06-06 Thread Joel McConaughy
I want to create anchor tags in my form template that contain widget values like the following: a href=nextpage?id=/ft:widget id='uid'// / This produces the following error: The value of attribute href associated with an element type a must not contain the '' character Is there a way to do

RE: Vote: to unify, or not to unify (Was RE: Business Logic in Cocoon Applications?)

2004-05-04 Thread Joel McConaughy
! Joel McConaughy Managing Partner Displayware LLC 800 Fifth Ave., #101-316 Seattle, WA 98104-3191 206-300-4732 Direct 206-382-2188 Fax [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: wb:delete-bean?

2004-05-04 Thread Joel McConaughy
to do this as each delete event is fired. However, I don't know how to access the row inside the wb:on-delete tag or how to call some external Java from there. May be there's an easier way to accomplish this? Thanks for the response. joel Joel McConaughy Managing Partner Displayware LLC 800 Fifth

wb:delete-bean?

2004-05-03 Thread Joel McConaughy
Is there a delete equivalent to wb:insert-bean? I'd like to pick up the delete event and do some app-specific processing on the row before it is removed from the repeater with wb:delete-node/ but don't know how to access the row. Thanks.

RE: JXT or XSP?

2004-04-30 Thread Joel McConaughy
How are you mapping/binding between hibernate persistent objects and the flow model? Joel McConaughy Managing Partner Displayware LLC 800 Fifth Ave., #101-316 Seattle, WA 98104-3191 206-300-4732 Direct 206-382-2188 Fax [EMAIL PROTECTED] -Original Message- From: beyaNet Consultancy

Re: Hibernate logging in cocoon?

2004-04-30 Thread Joel McConaughy
Skipped over the rootLogger entry. As soon as I changed this to file, works fine. Thanks for the reply. beyaNet Consultancy wrote: Yep, i have log4j-1.2.7.jar in both web-inf/lib and web-inf/classes Peter On 29 Apr 2004, at 23:53, Joel McConaughy wrote: Is there a way to enable hibernate

Hibernate logging in cocoon?

2004-04-29 Thread Joel McConaughy
Is there a way to enable hibernate logging within cocoon? I've tried putting log4j.properties in the classpath but get nothing. THanks. joel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Cocoon: Language Babel -or- Database Development Platform ?

2004-04-28 Thread Joel McConaughy
, an out-of-the-box hibernate/cforms binding (or some other O/R framework) should be a hard requirement -- otherwise where is the productivity gain? OK, I'll climb down from the soap box now ;) Joel McConaughy Managing Partner Displayware LLC 800 Fifth Ave., #101-316 Seattle, WA 98104-3191 206-300-4732

RE: Cocoon: Language Babel -or- Database Development Platform ?

2004-04-28 Thread Joel McConaughy
I make thje corresponding change to the hibernate collection? Joel McConaughy Managing Partner Displayware LLC 800 Fifth Ave., #101-316 Seattle, WA 98104-3191 206-300-4732 Direct 206-382-2188 Fax [EMAIL PROTECTED] -Original Message- From: Ugo Cei [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: Cocoon: Language Babel -or- Database Development Platform ?

2004-04-28 Thread Joel McConaughy
It is a simple CRUD tool and is a good example of what I believe is an important use case. I documented the problem here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg13665.html Joel McConaughy Managing Partner Displayware LLC 800 Fifth Ave., #101-316 Seattle, WA 98104-3191 206-300-4732

RE: Cannot access Hibernate queries with Woody

2004-04-28 Thread Joel McConaughy
Thanks much. I will give this a try and will document what I find. I've never submitted a patch before but would be happy to do so if this works. Joel McConaughy Managing Partner Displayware LLC 800 Fifth Ave., #101-316 Seattle, WA 98104-3191 206-300-4732 Direct 206-382-2188 Fax [EMAIL

Cannot access Hibernate queries with Woody

2004-04-25 Thread Joel McConaughy
I'm trying to extend Hugo's hibernate sample to handle queries that return multiple rows but have run into a problem. I can load the query results, edit existing rows and delete rows successfully using the following flow: var factory =

cannot create a quartz scheduler

2004-04-24 Thread Joel McConaughy
I'm trying to port my version of Hugo's Woody-Hibernate sample to cfoms. When I add the following to cocoon.xconf: component role=com.displayware.hiblib.PersistentFactory class=com.displayware.hiblib.Hibernate/ I get the following error message: cannot create a quartz scheduler Has anyone

RE: Problem redirecting in flowscript

2004-04-19 Thread Joel McConaughy
I bet it uses the http-client library instead. Joel McConaughy Managing Partner Displayware 800 Fifth Ave., #101-316 Seattle, WA 98104-3191 206-300-4732 Direct 206-382-2188 Fax [EMAIL PROTECTED] -Original Message- From: Mark Lundquist [mailto:[EMAIL PROTECTED] Sent: Saturday, April 17

RE: Hibernate, Woody and repeaters

2004-04-17 Thread Joel McConaughy
() is called. So, I have been trying to use this default bindingas is, substituting the bean created by hbm2java. In the form2bean sample, I can't even find a binding file. Do I need one? Joel McConaughy Managing Partner Displayware 800 Fifth Ave., #101-316 Seattle, WA 98104-3191 206-300-4732

RE: Hibernate, Woody and repeaters

2004-04-17 Thread Joel McConaughy
Title: Message You're on! The beer fridge is stocked... Thanks for the help. Joel McConaughy Managing Partner Displayware 800 Fifth Ave., #101-316 Seattle, WA 98104-3191 206-300-4732 Direct 206-382-2188 Fax [EMAIL PROTECTED] -Original Message-From: Mark Lundquist

Hibernate, Woody and repeaters

2004-04-16 Thread Joel McConaughy
I am having trouble using the result of a hibernate query in a woody form. I'm trying to do the following: 1. Generate the bean from a hibernate mapping file using hbm2java. 2. Load the entire contents of a table using hibernate -- obj = hs.find(queryString). 3. Use the resulting object as

RE: Hibernate, Woody and repeaters

2004-04-16 Thread Joel McConaughy
/ /td /tr /table input type=submit / /wi:items /wi:group /wi:items /wi:group input type=submit / /td /tr /table /wt:form-template /content /page Joel McConaughy Managing Partner Displayware 800 Fifth Ave., #101-316 Seattle, WA 98104-3191 206-300-4732 Direct 206-382-2188

RE: Problem redirecting in flowscript

2004-04-13 Thread Joel McConaughy
Apache commons library does not support cross-host redirects. Solution is to use the httpClient library in an XSP to manually process the redirects and then read the response and serialize into the stream. Joel McConaughy Managing Partner Displayware 800 Fifth Ave., #101-316 Seattle, WA 98104

RE: [POLL] form frameworks

2004-03-11 Thread Joel McConaughy
One ring to rule them all xml-form [ ] keep it as deprecated in the 2.1 branch [x] remove it with the next 2.1.5 release [ ] remove it with the 2.1.6 release [ ] remove it only in the 2.2 branch jxforms [ ] keep it as deprecated in the 2.1 branch [x] remove it with the next 2.1.5 release [ ]

jpath expression in xsp returns invalid class

2004-03-05 Thread Joel McConaughy
I'm getting a funny looking class returned from a jpath expression. Here is a small code example displays the class name for two strings, one created with a jpath expression and the other a static value. Notice the the class type from the jpath expression looks funny. Am I doing something

Re: jpath expression in xsp returns invalid class

2004-03-05 Thread Joel McConaughy
but the Class type of your first object is an array of Strings. The [L prefix tells you that you have an array of objects. Perhaps your jpath expression is returning more than one String result? Joel McConaughy wrote: I'm getting a funny looking class returned from a jpath expression. Here is a small

Re: jpath expression in xsp returns invalid class

2004-03-05 Thread Joel McConaughy
but the Class type of your first object is an array of Strings. The [L prefix tells you that you have an array of objects. Perhaps your jpath expression is returning more than one String result? Joel McConaughy wrote: I'm getting a funny looking class returned from a jpath expression. Here

Re: binding params in dynamic queries in ESQL

2004-03-05 Thread Joel McConaughy
I ran into the same problem and ended up building the entire sql statement in a String variable within an xsp:logic block. This eliminated a number of parsing problems I was having and avoids having to root thru the esql logicsheet to figure out exactly whats going on. R Hunt wrote: Thanks

Re: binding params in dynamic queries in ESQL

2004-03-05 Thread Joel McConaughy
It WOULD be interesting if that's what I did. I actually didn't end up using any bound parameters; just dynamically created the statement. Are you required to use a prepared statement? If so, I'd be interested in why -- it may be somethig I need to do with my app as well. Sorry I can't be

Accessing flowscript data using jpath?

2004-03-02 Thread Joel McConaughy
I am trying to use flowscript data passed into an XSP in the following way: xsp:logic String s; s = xsp:exprjpath:value-of select=tagname//xsp:expr /xsp:logic This produces the error: Type mismatch: cannot convert from Object to String. Is there something wrong here or is there another

How to log input to wsproxy/SAX?

2004-02-24 Thread Joel McConaughy
I am getting SAXParseExceptions when using the wsproxy generator. Is there some way to get a dump of the raw input coming into the parser so I can see what's going on? FYI, I've set up the Log Transformer but nothing interesting gets logged here. Thanks. Joel

Handling redirects with file generator?

2004-02-20 Thread Joel McConaughy
I am trying to harvest some data from a website that returns an initial redirect. Using the file generator, I get the following error: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.io.IOException which I'm guessing is caused by the redirect not being handled within

Accessing flowscript sendPage() bean object within xsp

2004-02-04 Thread Joel McConaughy
I'm new to cocoon. I'm trying to pass a parameter from flowscript into a pipeline that calls an esql logicsheet and then access the parameter from within the logicsheet to build a dynamic select statement. I can't find any docs or examples that show how. Can someone point me to an example?