Re: db troubles

2005-08-04 Thread Antonio Gallardo
PLease check: http://wiki.apache.org/cocoon/DB2V7 Best Regards, Antonio Gallardo MATTHEW ELLIOTT wrote: Hi I'm having a few problems connecting to a db. Can anyone tell me the syntax for the datasource for db2. It's something like: jdbc:db2:dbname. . If it's local I don't think you

Re: snapshot releases

2005-08-04 Thread Antonio Gallardo
Ray Allis wrote: Joerg Heinicke wrote: It seems to be indeed the wrong source. The code has been changed in October last year (!!) to be Java 5 compatible: import org.apache.commons.lang.enums.ValuedEnum; Try to get Cocoon from SVN if the snapshots don't work. I will have a look why. C

RE: XSLT transformation

2005-08-04 Thread Conal Tuohy
> Antony Grinyer wrote: > > Hi, > > > > A have a simple sitemap entry as below: > > > > > > > > > > > > > > > > > > The generator is a simple XML file which is passed to a java class > > transformer ( referenced as type="bdbxml") which returns > XML results. > > This all works fi

Re: snapshot releases

2005-08-04 Thread Ray Allis
Joerg Heinicke wrote: It seems to be indeed the wrong source. The code has been changed in October last year (!!) to be Java 5 compatible: import org.apache.commons.lang.enums.ValuedEnum; Try to get Cocoon from SVN if the snapshots don't work. I will have a look why. Could it be that the

java flow samples error

2005-08-04 Thread David
When I try to goto any of the java flow samples I get the error below. I am using Cocoon 2.1.7. Thanks in advance for any help I receive. I have been looking for hours and been trying IRC. Thanks - David org.apache.bcel.verifier.exc.StructuralCodeConstraintException: Instruction LDC_W constr

Re: snapshot releases

2005-08-04 Thread Ray Allis
Joerg Heinicke wrote: On 04.08.2005 22:20, Joerg Heinicke wrote: It seems to be indeed the wrong source. The code has been changed in October last year (!!) to be Java 5 compatible: import org.apache.commons.lang.enums.ValuedEnum; Try to get Cocoon from SVN if the snapshots don't work. I will

snapshot releases (was: target release 1.3 conflicts with default source release 1.5 (on daily snapshot))

2005-08-04 Thread Joerg Heinicke
On 04.08.2005 22:20, Joerg Heinicke wrote: Compiling 268 source files to /export/home/ray/cocoon-2.1/build/cocoon-2.2.0-dev/blocks/forms/dest /export/home/ray/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/event/ProcessingPhase.java:22: as of release 1.5, 'enum' is a keyword, and may

Re: target release 1.3 conflicts with default source release 1.5 (on daily snapshot)

2005-08-04 Thread Ron Wheeler
I just used the stable release of 2.1.7 with Java 1.5 and it worked OK. You directory structure is different from my buld so I do not know anything about the ...2.2.0... files that you have. Ron Joerg Heinicke wrote: On 04.08.2005 21:13, Ray Allis wrote: Compiling 268 source files to /expo

Re: target release 1.3 conflicts with default source release 1.5 (on daily snapshot)

2005-08-04 Thread Joerg Heinicke
On 04.08.2005 21:13, Ray Allis wrote: Compiling 268 source files to /export/home/ray/cocoon-2.1/build/cocoon-2.2.0-dev/blocks/forms/dest /export/home/ray/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/event/ProcessingPhase.java:22: as of release 1.5, 'enum' is a keyword, and may not b

Re: XSLT transformation

2005-08-04 Thread Upayavira
Antony Grinyer wrote: I seem to have got a bit further with this issue. I think it's a Xalan problem so I configured Cocoon to use Saxon instead which gives me a bit more error detail during the transformation: INFO(2005-08-04) 18:50.52:052 [sitemap] (/kde/showsyscontainer) PoolThread-4

Re: target release 1.3 conflicts with default source release 1.5 (on daily snapshot)

2005-08-04 Thread Ron Wheeler
It seems to me that I saw a not about compiling either Cocoon or Lenya with Eclipse that pointed out that you need to set source compliance to 1.4 when compiling with 1.5. Probably to avoid the kind of problems that you are having. enum became a reserved word in 1.5. Ron Ray Allis wrote: c

Re: [BUG 33762] coocon with jsp : "SAXParseException: Premature end of file"

2005-08-04 Thread Joerg Heinicke
On 04.08.2005 21:23, [EMAIL PROTECTED] wrote: I've been converting my pages to XSP, but I don't get it : it seems that it doesn't support nearly as much functionality as jsp. In particular, using beans and other custom java classes. Am I missing something ? I would not do this step! There are

webservices in cocoon and wsdl of them, how ?

2005-08-04 Thread bhaskar garikapati
dear All, i have seen some of the WebServices are deployed in Axis Block of Cocoon in 2.1.7 version. i have deployed the Cocoon as a WAR in JBoss 4.0.2. those here my question is : how can i get the WSDL for the WebService which is deployed in Axis Block of Cocoon? how to write Client program f

RE: target release 1.3 conflicts with default source release 1.5 (on daily snapshot)

2005-08-04 Thread Ray Allis
cocoon-2.1_20050804161305.tar.gz ... still !? fails with "... conflicts with ..." I changed init-build.xml in two places from 1.3 to 1.5, and started the build. Compiling 268 source files to /export/home/ray/cocoon-2.1/build/cocoon-2.2.0-dev/blocks/forms/dest /export/home/ray/cocoon-2.1/src/

[BUG 33762] coocon with jsp : "SAXParseException: Premature end of file"

2005-08-04 Thread galpix
Arghhh ... there's a bug filed against this : http://issues.apache.org/bugzilla/show_bug.cgi?id=33762 That explains it. I've been converting my pages to XSP, but I don't get it : it seems that it doesn't support nearly as much functionality as jsp. In particular, using beans and other custom jav

RE: XSLT transformation

2005-08-04 Thread Antony Grinyer
I seem to have got a bit further with this issue. I think it's a Xalan problem so I configured Cocoon to use Saxon instead which gives me a bit more error detail during the transformation:INFO    (2005-08-04) 18:50.52:052   [sitemap] (/kde/showsyscontainer) PoolThread-4/BDBXMLTransformer: >

db troubles

2005-08-04 Thread MATTHEW ELLIOTT
Hi I'm having a few problems connecting to a db. Can anyone tell me the syntax for the datasource for db2. It's something like:jdbc:db2:dbname..If it's local I don't think you need to add the localhost but I could be wrong.any help would be appreciated.thanks Matt

RE: Authentication Options in Cocoon- a Design Discussion

2005-08-04 Thread Chris Marasti-Georg
One option that you did not mention is ACEGI. Since you mentioned you are using spring, you could easily put an acegi filter in front of the servlet requests... You could even use cocoon to display the login page, and probably to perform any redirection after authentication (you could of course us

Re: coocon with jsp : "SAXParseException: Premature end of file"

2005-08-04 Thread Ron Wheeler
Not on my fresh install? Ron [EMAIL PROTECTED] wrote: Hi, I also just noticed that the jsp examples that come with cocoon don't work for me : http://localhost:8080/cocoon/samples/blocks/jsp/welcome.htm This returns a blank page. Is it working for anyone ? thanks, galpi Hi Everyone,

Authentication Options in Cocoon- a Design Discussion

2005-08-04 Thread Cocoon User
I apologize if posting a design discussion this is too broad of a topic (I wasn't sure-please forgive me in advance!), but I promise I will Wiki this if I get good answers and I think it will be useful for a lot of people. Also, I apologize for the length of this post but I am hoping the detail

Re: [CFORM] How can I remove a previous validation error from a widget?

2005-08-04 Thread Dan Ochs
Here is the actual form definition where hte validation is defined and the flowscript for this form. Thanks! dan form definition: http://apache.org/cocoon/forms/1.0#definition"; xmlns:i18n="http://apache.org/cocoon/i18n/2.1";>

Antw: Re: RequestURI in aggregation page

2005-08-04 Thread Reinhard Haller
>>> [EMAIL PROTECTED] 03.08.2005 22:36 >>> Mark Lundquist wrote: >So, the ideal thing would be a sitemap matcher like the following: > > > > > > > > A simple way might be:

Re: [CFORM] How can I remove a previous validation error from a widget?

2005-08-04 Thread Mark Lundquist
Hi Dan, Would you mind posting your whole flowscript method for this form? Before you showed a little 'if...else' statement containing the setValidationError() call, but it might help to be able to see that in context... cheers, —ml— On Aug 4, 2005, at 6:32 AM, Dan Ochs wrote: This this

Re: [CFORM] How can I remove a previous validation error from a widget?

2005-08-04 Thread Dan Ochs
This this seems to have the same effect as setting the validation error to null. The error is cleared in the form, but the form returns back to me with no errors, when it should post and give me back my results. So it looks like my issues has become, how can I tell the form to try to submit after

RE:

2005-08-04 Thread Jeroen Reijn
Hi, I normally put a space ( ) between the script tags in my XSLT. This is weird behaviour, but I guess it's a browser issue and not a Cocoon issue. Somebody posted this a couple of days ago on the cocoon-dev list as well. http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=112297476604059&w=2 J

RE: XSLT transformation

2005-08-04 Thread Antony Grinyer
Thanks for your help Upayavira, I'm using Cocoon 2.1.7, however I'll try downloading a subversion client. I've attached the transformer Java class. Basically is takes an XML file which represents a query instruction. This query instruction is processed and is used to communicate with BDB XML conta

Re: XSLT transformation

2005-08-04 Thread Upayavira
Try upgrading to the latest Cocoon 2.1.X from Subversion. There are some improvements there that get around a tendency of Xalan to swallow exceptions. You've got a NullPointerException happening, but there's no mention of it in your stacktrace, so you're looking in the wrong place for it. Dow

Re: Strange problem upgrading Tomcat/Cocoon

2005-08-04 Thread Aurélien DEHAY
Hi. Steve Burling wrote: I'm starting the process of upgrading our Tomcat/Cocoon install, currently Tomcat 5.0.16 and Cocoon 2.1.3, wanting to move to Tomcat 5.5.9 and Cocoon 2.1.7. I've run into a problem that I can't explain, and hope that someone else has seen (and solved!) the problem.

RE: CForms - adding style to labels

2005-08-04 Thread Stuart Thorne
Hi, Yes, you could use something like this, in the form template: Then use a CSS file to style the ' form-input' class Thanks, Stu -Original Message- From: Thomas Lutz [mailto:[EMAIL PROTECTED] Sent: 04 August 2005 10:09 To: users@cocoon.apache.org Subject: Re: CForms - a

RE: XSLT transformation

2005-08-04 Thread Antony Grinyer
The stack trace returned is: ERROR (2005-08-04) 09:46.59:112 [sitemap.handled-errors] (/kde/listcontainers) PoolThread-4/ErrorHandlerHelper: Error executing pipeline. org.apache.cocoon.ProcessingException: Error executing pipeline.: java.lang.RuntimeException at org.apache.cocoon.co

Re: coocon with jsp : "SAXParseException: Premature end of file"

2005-08-04 Thread galpix
Hi, I also just noticed that the jsp examples that come with cocoon don't work for me : http://localhost:8080/cocoon/samples/blocks/jsp/welcome.htm This returns a blank page. Is it working for anyone ? thanks, galpi > Hi Everyone, > > I'm running cocoon-2.1.7 with Tomcat-5.5.9 on MacOSX 10.4

Re: CForms - adding style to labels

2005-08-04 Thread Thomas Lutz
Isn't there something like a fi:styling tag in the form template ? I think I used this for some additional javascript hacks.. everything you pass in the fi:styling is copied to the output tag... footh wrote: Hello, I'm trying to add a class attribute to the tag that gets generated from the

Re: [CFORM] How can I remove a previous validation error from a widget?

2005-08-04 Thread Christoph Hermann
Dan Ochs schrieb: Hello, > I have tried removing the validation error by doing this, and the > validation error is removed, but the form does not submit and I get > the page back again, but without any errors. (So I have to click > submit twice after the error is fixed) > else{ >form.lookupWi

eXist/XQuery and auth-fw

2005-08-04 Thread Aurélien DEHAY
Hello. I'm trying to use a xql file with the eXist 1.0b2 org.exist.cocoon.XQueryGenerator with the auth-fw. I've got: in the handler conf. The login-authenticate is: How can I retrieve the param

Re: XSLT transformation

2005-08-04 Thread Upayavira
Antony Grinyer wrote: Hi, A have a simple sitemap entry as below: The generator is a simple XML file which is passed to a java class transformer ( referenced as type="bdbxml") which returns XML results. This all works fine if I use to simply output the XML, however if I try to

Re: XSLT transformation

2005-08-04 Thread Upayavira
Marc Salvetti wrote: Yes, this is the expected behavior, the pipe will always stop at the first serializer, or before if there is an error, no matter what's after it. I just left the second transform because i always use this technique to debug my pipes : moving a serialize type="xml" line to

Re: Graphing standards

2005-08-04 Thread Thor Heinrichs-Wolpert
I think that's Stefano's presentation.  I seem to remember downloading his OmniGraffle palette that has those same SiteMap component shapes in it.Googling says this is it here:http://www.betaversion.org/~stefano/software/cocoon/Sitemap.graffleCheers,Thor HWOn 3-Aug-05, at 6:48 PM, Ron Wheeler wrote