Re: utf-8-form-encoding.xweb

2003-08-28 Thread Tomasz Nowak
Tim Olson <[EMAIL PROTECTED]> wrote: > > since the block is commented, it's not in the xml tree, > so how would there be an xpath to it? Since a comment is just another XML node, why should it not be in the XML tree? http://www.w3.org/TR/xpath#section-Comment-Nodes -- Tomasz Nowak Netventure,

Cocoon 2: Authentication Framework: Session handling

2003-08-28 Thread alpana
I am actively learning cocoon, and have been looking at the User guides and documents. because I am a newbie I am getting confused with the authentication, session contexts and handlers   can somebody provide me a good site map example which 1. displays login page, 2. performs login

Re: More Tomcat troubles...

2003-08-28 Thread Sonny Sukumar
From: Geoff Howard <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: More Tomcat troubles... Date: Thu, 28 Aug 2003 18:13:37 -0400 Sonny Sukumar wrote: From: Geoff Howard <[EMAIL PROTECTED]> Sonny Sukumar wrote: Well I changed the path in server.xml to "" from "c

OSCOM @ Seybold SF

2003-08-28 Thread Michael Wechner
Seybold organizers just told me that they want to cancel the OSCOM hackathon/sprint @ Seybold if there aren't enough participants which have signed up until tomorrow Friday (western times). The reason seems to be that room and internet connection are too expensive for hosting just a few people. So

RE: utf-8-form-encoding.xweb

2003-08-28 Thread Tim Olson
since the block is commented, it's not in the xml tree, so how would there be an xpath to it? > -Original Message- > From: Tomasz Nowak [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 28, 2003 6:40 PM > To: [EMAIL PROTECTED] > Subject: utf-8-form-encoding.xweb > > > Simple question: h

Re: logs for JSP

2003-08-28 Thread Geoff Howard
Wise Team wrote: Hi all, I' have forgotten to say that I'm working with tomcat 4.1.24, JVM 1.4.2 and Cocoon 2.1. In 2.0.4 version, errors were in log files (core.log, sitemap.log) and on my computer screen. But with cocoon 2.1, errors are only on my screen. Someone knows reasons of this beh

Re: More Tomcat troubles...

2003-08-28 Thread Geoff Howard
Sonny Sukumar wrote: From: Geoff Howard <[EMAIL PROTECTED]> Sonny Sukumar wrote: Well I changed the path in server.xml to "" from "cocoon" awhile ago, since I don't want the "cocoon/" in my URLs. So it's not that. I can access my Cocoon installation fine in general, but somehow trying to matc

Re: utf-8-form-encoding.xweb

2003-08-28 Thread Tomasz Nowak
Tomasz Nowak wrote: > > container-encoding Of course I meant form-encoding 'container-encoding' was quoted by mystake. -- Tomasz Nowak Netventure, http://www.netventure.pl/ - To unsubscribe, e-mail: [EMAIL P

utf-8-form-encoding.xweb

2003-08-28 Thread Tomasz Nowak
Simple question: how do I change this: into this: container-encoding utf-8 by xpatch file? I need to be able to change that while building so I've put config.utf-8-form-encoding=true into local.build.properties and started writing block, but it is not so easy.. ;-)

Re: Is this an endorsed lib problem?

2003-08-28 Thread Sonny Sukumar
From: Michael Kurz <[EMAIL PROTECTED]> Sonny Sukumar wrote: I know I know, an endorsed lib problem you say, since I *am* running JDK 1.4. I read http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem and copied over these 3 jars into $CATALINA_HOME/common/endorsed: 1.) xalan-2.5.1.jar 2.

Re: URLs being encoded WITH cookies enabled

2003-08-28 Thread Sonny Sukumar
Hi all, Joerg made a good point the other day (below) about always using URL rewriting rather than cookies, for security reasons. I've decided that we should do the same, since ours will be an e-commerce site and if somebody is using a public computer (like at a university) then closing the br

RE: More Tomcat troubles...

2003-08-28 Thread Sonny Sukumar
Uhhh, I don't know why the below message got delivered again. That's strange. Anyhow, please ignore it. From: "Sonny Sukumar" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: More Tomcat troubles... Date: Thu, 28 Aug 2003 11:09:02 -0700 Well I changed the path

Re: Is this an endorsed lib problem?

2003-08-28 Thread Michael Kurz
Sonny Sukumar wrote: I know I know, an endorsed lib problem you say, since I *am* running JDK 1.4. I read http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem and copied over these 3 jars into $CATALINA_HOME/common/endorsed: 1.) xalan-2.5.1.jar 2.) xercesImpl-2.4.0.jar 3.) xml-apis.jar I

a veiw over a request?

2003-08-28 Thread Robert Simmons
Is there a way I can get a view on a request that tells me all of the information known in the a POST request of a form? -- Robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: More Tomcat troubles...

2003-08-28 Thread Sonny Sukumar
From: Geoff Howard <[EMAIL PROTECTED]> Sonny Sukumar wrote: Well I changed the path in server.xml to "" from "cocoon" awhile ago, since I don't want the "cocoon/" in my URLs. So it's not that. I can access my Cocoon installation fine in general, but somehow trying to match against this "/admi

Re: [Proposal] Production install for Cocoon

2003-08-28 Thread Upayavira
I think this is an interesting idea. I would add one simple point - in my experience of configuring Cocoon, there are only a couple of details from the build.properties that I actually need - particularly the exclude.webapp, etc. I would leave most of build.properties in that file, but move the

Re: RES: creating a POST from XML

2003-08-28 Thread Upayavira
Gustavo Nalle Fernandes wrote: Yes, you can. Check the WebServiceProxyGenerator. http://wiki.cocoondev.org/Wiki.jsp?page=WebServiceProxyGenerator Gustavo -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 28 de agosto de 2003 12:30 Para: [EMAIL P

Is this an endorsed lib problem?

2003-08-28 Thread Sonny Sukumar
I tried upgrading my Tomcat from 4.1.12 to 4.1.24 but next to nothing happens, my browser indicates it's forever loading, and yet I hit view source and see this blank doc: I know I know, an endorsed lib problem you say, since I *am* running JDK 1.4. I read http://wiki.cocoondev.org/Wiki.jsp?

Re: XMLForm Deprecated?

2003-08-28 Thread Ryan Hoegg
I would guess that if you like XMLForm better than what you see of JXForms, then maybe the XMLForm community is not "dead" after all. Looking at http://www.xmlform.org and the CS repository, it looks like Ivelin has removed all Cocoon code from the codebase. The XMLFormTransformer is gone. So

Re: installing cocoon 2.1 from source code

2003-08-28 Thread Timothy Larson
--- àåøé ëäï <[EMAIL PROTECTED]> wrote: > Hi and good day to you all! Good day to you. > I am trying to install Cocoon version 2.1 from source code by compiling > the source using Jakarta “Ant” with the commands: “.\build.bat > –Dinclude.webapp.libs=yes webapp”. Try ".\build.bat war" instead. -

Re: More Tomcat troubles...

2003-08-28 Thread Geoff Howard
Sonny Sukumar wrote: Well I changed the path in server.xml to "" from "cocoon" awhile ago, since I don't want the "cocoon/" in my URLs. So it's not that. I can access my Cocoon installation fine in general, but somehow trying to match against this "/admin/fetchSomeFile" has confused Tomcat when

Re: installing cocoon 2.1 from source code

2003-08-28 Thread Geoff Howard
אורי כהן wrote: Hi and good day to you all! I am using the binary version of Cocoon version 2.0.4 for JDK 1.4. My server is the Apache Jakarta Tomcat version 4.1.27. My database is MySQL version 4.0.13 using the JConnector driver version 3.0.8. My computer’s operating system is Microsoft Windo

RE: [Proposal] Production install for Cocoon

2003-08-28 Thread Ralph Goers
Yes, I think you have the general idea correct. Also, on the question of a default logging level, that should also be specifiable in the properties file below. Ralph > -Original Message- > From: Timothy Larson [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 28, 2003 11:19 AM > To: [EM

installing cocoon 2.1 from source code

2003-08-28 Thread אורי כהן
Title: installing cocoon 2.1 from source code Hi and good day to you all! I am using the binary version of Cocoon version 2.0.4 for JDK 1.4. My server is the Apache Jakarta Tomcat version 4.1.27. My database is MySQL version 4.0.13 using the JConnector driver version 3.0.8. My computer’s

Re: i18n problem setting the locale

2003-08-28 Thread Enrico Ballarin Dolfin
Thanks for your valuable help! I could solve the problem using the LocaleAction as you suggested. Enrico - Original Message - From: Konstantin Piroumian <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Enrico Ballarin Dolfin <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 11:16 AM Subject

Re: [Proposal] Simple "production build" directions

2003-08-28 Thread Timothy Larson
Comments inline... --- Geoff Howard <[EMAIL PROTECTED]> wrote: > Switching back to users, as the feedback we need is really for them. ... > Timothy Larson wrote: ... > > I lean toward a example properties file, because that introduces the > > customization system that Cocoon uses. ... > Ok, point

Re: [Proposal] Production install for Cocoon

2003-08-28 Thread Roger I Martin PhD
+1 from another user:-) - Original Message - From: "Ralph Goers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 1:45 PM Subject: RE: [Proposal] Production install for Cocoon > I don't really want to edit your page because I disagree with the premise > (i.e. r

RE: [Proposal] Production install for Cocoon

2003-08-28 Thread Timothy Larson
Ok, could you see the example production install configuration as the template for a binary distribution? Whether or not there is a binary distribution, I agree that we should have the post-build script that you mention. Download the binary distribution or do a custom build, then use separate conf

Re: How To Run 2 Cocoons Simultaneously?

2003-08-28 Thread Sonny Sukumar
I don't think it really has anything to do with my not having sufficient system memory, as this error only comes when I try to access a URI that does even extremely simple database access AND only when using the "live/" context I newly defined in Tomcat's server.xml. My normal Cocoon installati

RE: More Tomcat troubles...

2003-08-28 Thread Sonny Sukumar
Well I changed the path in server.xml to "" from "cocoon" awhile ago, since I don't want the "cocoon/" in my URLs. So it's not that. I can access my Cocoon installation fine in general, but somehow trying to match against this "/admin/fetchSomeFile" has confused Tomcat when it shouldn't have.

installing cocoon 2.1 from source code

2003-08-28 Thread אורי כהן
Title: installing cocoon 2.1 from source code Hi and good day to you all! I am using the binary version of Cocoon version 2.0.4 for JDK 1.4. My server is the Apache Jakarta Tomcat version 4.1.27. My database is MySQL version 4.0.13 using the JConnector driver version 3.0.8. My computer’s

Re: [Proposal] Simple "production build" directions

2003-08-28 Thread Geoff Howard
Switching back to users, as the feedback we need is really for them. Any developers (besides me) interested please follow over there, and whoever responds to this, please remove dev from the to: field. Timothy Larson wrote: --- Geoff Howard <[EMAIL PROTECTED]> wrote: It will be easy to add a ne

RE: [Proposal] Production install for Cocoon

2003-08-28 Thread Ralph Goers
I don't really want to edit your page because I disagree with the premise (i.e. requiring "customers" to build from source). Cocoon should have a single build that is its binary distribution. It should have a post-build script to create a web-app that meets the users needs. Ralph > -Original

[Proposal] Production install for Cocoon

2003-08-28 Thread Timothy Larson
For anybody interested, the production install proposal is at: http://wiki.cocoondev.org/Wiki.jsp?page=ProductionInstallProposal Please add your comments. --Tim Larson __ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com -

Re: How To Run 2 Cocoons Simultaneously?

2003-08-28 Thread e nio
In the bottom of your stack trace, OutOfMemoryError <-- you need to specify more memory for your JVM perhaps, which can be specified as an option to Tomcat. I have been experiencing this outofmemoryerror lately, I stopped the jvm (ie tomcat) and restarted and so far has recovered. Don't know if

RES: creating a POST from XML

2003-08-28 Thread Gustavo Nalle Fernandes
Yes, you can. Check the WebServiceProxyGenerator. http://wiki.cocoondev.org/Wiki.jsp?page=WebServiceProxyGenerator Gustavo -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 28 de agosto de 2003 12:30 Para: [EMAIL PROTECTED] Assunto: creating a

creating a POST from XML

2003-08-28 Thread jakarta
How can I create a http POST by cocoon send it to the server an get the response ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

LDAP transformer question

2003-08-28 Thread Sylvain.Thevoz
Hello, I'm using the LDAP transformer but there is something strange: In my LDAP repository each item has several "memberOf" attributes like: memberOf=something memberOf=something else memberOf=something else else etc... But the LDAP transformer returns only the first "memberOf" (memberOf=soment

RE: XMLForm Deprecated?

2003-08-28 Thread Sylvain.Thevoz
>Not yet Is it planned? My situation is that I'm going to finish the developement of my project based on XMLForm and I'm asking me this question: do I have to migrate to JXForm and how long does it take? Thanks Sylvain -Message d'origine- De: Geoff Howard [mailto:[EMAIL PROTECTED] Dat

Re: More HTML than Cocoon but...

2003-08-28 Thread Richard R. McKinley
Mariusz Sieraczkiewicz wrote: Why? When updating database table, the field (bool_field for example) should be set 0 when false and 1 when true. I use DatabaseAction to do it autamatically, but when checkbox is unchecked the HTTP request doesn't contain bool_field entry. The code like sets only 'c

RE: More Tomcat troubles...

2003-08-28 Thread Tim Olson
if cocoon is deployed as cocoon.war/ then the correct url would be http://my.server/cocoon/admin/fetchSomeFile > -Original Message- > From: Sonny Sukumar [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 28, 2003 3:55 AM > To: [EMAIL PROTECTED] > Subject: More Tomcat troubles... > > >

Antwort: More HTML than Cocoon but...

2003-08-28 Thread manfred . weigel
You won't get the parameter if a checkbox is not checked! If you need this, you can submit your form through a javascript, asking if your box not checked and setting a hidden input field to your specific value. regards Manfred [EMAIL PROTECTED] am 28.08.2003 17:27:44 Bitte antworten an [EMA

More HTML than Cocoon but...

2003-08-28 Thread Mariusz Sieraczkiewicz
How to force a checkbox to set some value when it's not checked so that the corresponding request parameter have a proper value. Why? When updating database table, the field (bool_field for example) should be set 0 when false and 1 when true. I use DatabaseAction to do it autamatically, but when c

RE: Porting Cocoon Logging to Log4j - Proposal and Discussion

2003-08-28 Thread Ralph Goers
While I don't agree with the proposal to move from logkit to log4j, I'm not sure why CocoonServlet has DefaultLogKitManager hardcoded in it - especially since that class is deprecated. It seems to me that I should be able to configure Cocoon to use any implementation of LoggerManager, including L

Cocoon 2.1 Poratal (poratal-fw) problems

2003-08-28 Thread agoke funmilayo
Dear cocoon Gurus,   Please help me,   Details: Cocoon version: 2.1Platform : Windows 200 ProffessionalServlet Container: Tomcat 4.1 Exceptions:   1.)  java.lang.NullPointerException   at org.apache.cocoon.webapps.authentication.components.PipelineAuthenticator.authenticate   2.)  java.lang.Il

Re: XMLForm Deprecated?

2003-08-28 Thread Geoff Howard
[EMAIL PROTECTED] wrote: Is there a document that explain how to migrate from XMLForm to JXForm because lot of people (like me) still use XMLForm. Not yet. Everyone interested in this topic should note by the way that XMLForm is deprecated because it died at a community level. Normally the depr

RE: XMLForm Deprecated?

2003-08-28 Thread Sylvain.Thevoz
Is there a document that explain how to migrate from XMLForm to JXForm because lot of people (like me) still use XMLForm. Sylvain -Message d'origine- De: Chris Clark [mailto:[EMAIL PROTECTED] Date: jeudi, 28. août 2003 14:00 À: [EMAIL PROTECTED] Objet: RE: XMLForm Deprecated? Yes. JXF

RE: [proposal] Production Build Target (was Re: Products in the Build directory?)

2003-08-28 Thread Ralph Goers
> -Original Message- > From: Geoff Howard [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 27, 2003 6:30 PM > To: [EMAIL PROTECTED] > Subject: [proposal] Production Build Target (was Re: Products in the > Build directory?) > > > Have an empty section in sitemap > > Ok. > > No.

cocoon.sendPage() enforces a text/plain in the responce, no matterwhat serializer is used !!

2003-08-28 Thread Ramy Mamdouh
Hi, cocoon.sendPage() enforces a text/plain in the responce, no matter what serializer is used !! Something like : cocoon.sendPage( "index.defaultview", {} ); will always result in a text/plain output, while calling the same url from outside the flow, the page is shown in text/html (which is

Re: XMLForm Deprecated?

2003-08-28 Thread Steven Noels
On Thu, 28 Aug 2003, Robert Simmons wrote: > Has XMLForms really been deprecated? If so what has replaced it in > functionality? Finally, where can I find documentation on its replacement? * Yes, XMLForms is being deprecated (long story - basically there's no further development on it) * You hav

Wrong aggregate function?

2003-08-28 Thread Fleischer Roman
Hello, I try to use an aggregate function in my sitemap. The src are two http-requests, but I get a strange Error: FATAL_E (2003-08-28) 14:54.04:000 [access] (/cocoon/prod/OCIputShoppingBasket) Thread-35/CocoonServlet: The Cocoon engine said it failed to process the request for an unknown reaso

Incremental Processing in Cocoon 2.1

2003-08-28 Thread Hauke Ernst
Hello, I have got a problem with incremental processing in cocoon 2.1, running with Java 1.4. In cocoon 2.0.3, incremental processing worked fine following the guide given in FAQ "Specifying Different XSLT Processor Options". In 2.1, the transformations work, but not incrementally. Does anyone

Re: XMLForm Deprecated?

2003-08-28 Thread Timothy Larson
That is a different project that just happens to have the same name. --- Robert Simmons <[EMAIL PROTECTED]> wrote: > Yet I did a JXforms search in google and the first page I came up with was > the project originator that said the project is dead. > > What about integrating chiba into Cocoon inst

Re: XMLForm Deprecated?

2003-08-28 Thread Timothy Larson
Yes, XMLForms is deprecated. The replacements are: JXForms http://cocoon.apache.org/2.1/userdocs/flow/jxforms.html Woody http://wiki.cocoondev.org/Wiki.jsp?page=Woody http://cocoon.apache.org/2.1/userdocs/flow/woody.html JXForms is positioned as the successor to XMLForms, and Woody is a new opt

Re: XMLForm Deprecated?

2003-08-28 Thread Michael Kurz
Robert Simmons wrote: Has XMLForms really been deprecated? If so what has replaced it in functionality? Finally, where can I find documentation on its replacement? The replacement seems to be JXForms. Documentation can be found here: -- Mi

Re: XMLForm Deprecated?

2003-08-28 Thread Robert Simmons
Yet I did a JXforms search in google and the first page I came up with was the project originator that said the project is dead. What about integrating chiba into Cocoon instead. It has several active developers and 90% of the W3C XForms implemented. -- Robert "Chris Clark" <[EMAIL PROTECTED]> s

Re: logs for JSP

2003-08-28 Thread Wise Team
Hi all, I' have forgotten to say that I'm working with tomcat 4.1.24, JVM 1.4.2 and Cocoon 2.1. In 2.0.4 version, errors were in log files (core.log, sitemap.log) and on my computer screen. But with cocoon 2.1, errors are only on my screen. Someone knows reasons of this behavior and knows s

RE: XMLForm Deprecated?

2003-08-28 Thread Chris Clark
Yes. JXForms has replaced it. Woody is also in active development (although I haven't checked it out). To my knowledge, there aren't any docs for JXForms (but I haven't checked recently). I've reverse-engineered all I know about it from the sample and some playing around. JXForms isn't that far

XMLForm Deprecated?

2003-08-28 Thread Robert Simmons
I am reading though the local.blocks.properties and I see the followign lines: # Deprecated blocks # Although these blocks are stable they have been deprecated in favour of other # blocks. #exclude.block.xmlform=true Has XMLForms rea

Re: (Cocoon2.1) Samples and Docs show up blank

2003-08-28 Thread Deepak Mehta
After further digging I found the following error in the log files of jonas: 2003-08-28 13:41:10 StandardWrapperValve[Cocoon]: Servlet.service() for servlet Cocoon threw exception javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.Applica

RE: Porting Cocoon Logging to Log4j - Proposal and Discussion

2003-08-28 Thread Jorg Heymans
Reading up on the wiki http://wiki.cocoondev.org/Wiki.jsp?page=ConfiguringTheLogs it seems that all of the stuff you want can be done already using the avalon logging factories. It looks maybe a bit more complicated to setup but I'm sure that once you can configure async JMS logging in log4j you

accessing cocoon.xconf variables from transformer code

2003-08-28 Thread Jorg Heymans
Hi, Does the objectmodel allow to access variables from the defaultsmetamodule in transformer java code ? I would like to have a global defined in here that I can use in the sitemap AND in code, without having to pass it as a parameter to the transformation tag. Basically , I'm hoping to avoid

RE: Authentification Framework problem

2003-08-28 Thread Alex
Thanks Carsten, I am downloading the latest CVS now - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Get authentication data in sitemap

2003-08-28 Thread Carsten Ziegeler
The auth-protect action provides you the information, so you can do the following From: EXT / TRANSICIEL MASSOUD Bertrand > [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 28, 2003 11:37 AM > To: '[EMAIL PROTECTED]' > Subject: Get authentication data in sitemap > > > I want to us

Porting Cocoon Logging to Log4j - Proposal and Discussion

2003-08-28 Thread Robert Simmons
One of the major implementaiton complaints I have about Cocoon is its lack of Log4J logging functionality. Log4j, is without a doubt the best logging package for java. No other package can even hope to compare to it. If Cocoon was built to use Log4j instead of the avalon logging mechanism, it would

Get authentication data in sitemap

2003-08-28 Thread EXT / TRANSICIEL MASSOUD Bertrand
I want to use authentication data in sitemap. I see that {session-attr:userid} and {session-attr:password} can give login form informations but what about additional informations contained in authentication structure like /authentication/data/xxx? Is there some {session:xxx} expression that can b

Re: i18n problem setting the locale

2003-08-28 Thread Konstantin Piroumian
From: "Enrico Ballarin Dolfin" <[EMAIL PROTECTED]> > Thanks Konstantin > > I have already added the 'locale' attribute with the selected language to > all the links and it works. > > My problem is that if you access the startpage without the 'locale' > parameter in the URL e.g. > "http://localhost

Form Handling per Session

2003-08-28 Thread Mustafa Ali, Halgurt
Hi,   I want to write a very simple Form, I sow that it is possible with the Session form handling, but I could not find any examples about it, can you please tell me where I can find an example, or maybe some useful links.   Best regard ---

writing and deleting files in an archive by cocoon

2003-08-28 Thread Uwe Knorr
Is ist posiible to write or delete files in an archive maybe by ftp, the file being created by cocoon ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

thoughts needed: form validation & soap !

2003-08-28 Thread scott
Hi guys, I've come up with a new one in my daily wrestlings with Cocoon - presently I use the FormValidatorAction inbuilt in Cocoon to validate my form-fields, screen-flow being controlled via sitemap such as: ... load new page ... re-load existing page to display error messages Now this kind

More Tomcat troubles...

2003-08-28 Thread Sonny Sukumar
I'm trying to access http://my.server/admin/fetchSomeFile but Tomcat keeps me a HTTP Status 404 error saying "The requested resource (/admin/fetchSomeFile) is not available" I don't have any "/admin" context defined (and I commented out that "/live" context I've been trying to make work), so I

(Cocoon2.1) Samples and Docs show up blank

2003-08-28 Thread Deepak Mehta
Hi, Just upped my setup from Cocoon 2.04 to 2.1 and I am getting the /cocoon/ page but not the /cocoon/samples/ and /cocoon/docs/ pages, but the other two links do work. The set up is as follows and thus complex: -Jonas 3.2.2 with integrated Tomcat 4.1.27 -MacOS X 10.2.6 with Java 1.4.1 I have

Re: i18n problem setting the locale

2003-08-28 Thread Enrico Ballarin Dolfin
Thanks Konstantin I have already added the 'locale' attribute with the selected language to all the links and it works. My problem is that if you access the startpage without the 'locale' parameter in the URL e.g. "http://localhost:8080/startpage"; the 'locale' attribute will not be initialized,

Re: How To Run 2 Cocoons Simultaneously?

2003-08-28 Thread Sonny Sukumar
Hmm, apparently I can read static html files under the /live context (using a simple Cocoon reader) but if I try to access *any* URI which involves database access I get: javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.int

Re: i18n problem setting the locale

2003-08-28 Thread Konstantin Piroumian
I see two ways of preserving the selected locale (if you don't want to use sessions): 1. Add 'locale' attribute with the selected language to each link on the page. You can pass this paramter to a transformer that will do the job. 2. Use cookies on the client side to store the locale. This can be

Re: How To Run 2 Cocoons Simultaneously?

2003-08-28 Thread Bertrand Delacretaz
Le Jeudi, 28 aoû 2003, à 00:37 Europe/Zurich, Sonny Sukumar a écrit : ...Nevertheless, I tried commenting out the section in cocoon.xconf for both Cocoon instances. I still get a blank server response (if that's even a response) for the instance with path "/live." The instance with default pa

RE: Resource Not Found Message

2003-08-28 Thread Sam Chance
I actually did look at the logs, but I was unable to gain insight. As you may have seen in my response to Geoff's advice, I made a mistake and forgot to copy the xerces/xalan libs to the new Tomcat common/endorsed directory... Thank you for responding! Sam -Original Message- From: Christ

RE: Resource Not Found Message

2003-08-28 Thread Sam Chance
Thank you! Rookie mistake. Just as you suggested, I am using JDK 1.4 and I DID forget to copy the endorsed libs to the common/endorsed directory in the new Tomcat...sorry about that! By the way, Can I use the latest Xerces/Xalan libs, or must I use the versions shipped with Cocoon? Thank you! S

RE: Authentification Framework problem

2003-08-28 Thread Carsten Ziegeler
Hi, see my response to your other mail for your problem. The NPE occuring is a bug in 2.1 which is fixed in the latest CVS Carsten > -Original Message- > From: Alex Scott [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 27, 2003 5:55 PM > To: [EMAIL PROTECTED] > Subject: Authentificat

Re: Resource Not Found Message

2003-08-28 Thread Upayavira
From your sitemap, the url http://localhost:8080/cocoon/route shouldn't work. Using http://localhost:8080/cocoon/route/ should. I think you'll find Cocoon is working file, but you discretely changed your URL! To make the former work, add to your main sitema

RE: Authentification Framework problem

2003-08-28 Thread Carsten Ziegeler
Hi, your test in the stylesheet looks a little bit strange to me: >test="normalize-space(password) = $password")> I think it should read HTH Carsten > -Original Message- > From: Alex Scott [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 27, 2003 6:10 PM > To: [EMAIL PROTE

New Scheduler Docs on Wiki

2003-08-28 Thread Tony Collen
Hi everybody, I dove into the scratchpad scheduler that Cartsten talked about earlier, and a Wiki page came out of it. You can check it out at http://wiki.cocoondev.org/Wiki.jsp?page=Scheduler Input welcome, as are suggestions for additions to the docs (ie writing your own target). Tony

Re: Resource Not Found Message

2003-08-28 Thread Christoph Gaffga
What are your logs telling? Christoph - Original Message - From: "Chance, Sam USA" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 2:33 AM Subject: Resource Not Found Message > > Hi! > > I recently upgraded my Tomcat version from 4.1.18 to 4.1.27 and I can

[proposal] Production Build Target (was Re: Products in the Builddirectory?)

2003-08-28 Thread Geoff Howard
Timothy Larson wrote: --- Geoff Howard <[EMAIL PROTECTED]> wrote: ... Can you all agree on which options should define a "production build"? Geoff I don't know. Lets try! I suggest that a baseline production build should: Include all components, even scratchpad and deprecated I'd disagree. I

Re: Resource Not Found Message

2003-08-28 Thread Geoff Howard
Chance, Sam USA wrote: Hi! I recently upgraded my Tomcat version from 4.1.18 to 4.1.27 and I can no longer access my Cocoon application. I’m using Cocoon 2.0.4. My main sitemap includes the following mount to the sub sitemap: Which JDK? If 1.4, did you forget to move the endorsed libs to com

Re: Vote for Cocoon on the O'Reilly Open source Directory.

2003-08-28 Thread Geoff Howard
Geoff Howard wrote: Robert Simmons wrote: Go vote http://www.osdir.com/Downloads-req-ratedownload-lid-11-ttitle-Cocoon.html Hmmm - the description is taken from the 2.0 site, and no wonder -- the link is to http://xml.apache.org/cocoon --> http://cocoon.apache.org/2.0/ Who can fix that redirec

Re: Vote for Cocoon on the O'Reilly Open source Directory.

2003-08-28 Thread Geoff Howard
Robert Simmons wrote: Go vote http://www.osdir.com/Downloads-req-ratedownload-lid-11-ttitle-Cocoon.html Hmmm - the description is taken from the 2.0 site, and no wonder -- the link is to http://xml.apache.org/cocoon --> http://cocoon.apache.org/2.0/ Who can fix that redirect now that 2.1 is rel

Resource Not Found Message

2003-08-28 Thread Chance, Sam USA
Hi!   I recently upgraded my Tomcat version from 4.1.18 to 4.1.27 and I can no longer access my Cocoon application.  I’m using Cocoon 2.0.4.  My main sitemap includes the following mount to the sub sitemap: