Re: Implementing XSLT Tag Libraries?

2003-08-28 Thread jcplerm
And what about this?: http://xml.apache.org/xalan-j/extensions.html jlerm - Original Message - From: Conal Tuohy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 4:53 PM Subject: RE: Implementing XSLT Tag Libraries? Robert Simmons wrote: I meant the XSP

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. Im using Cocoon 2.0.4. My main sitemap includes the following mount to the sub sitemap: map:pipelines !--my mount for the route application sub-sitemap-- map:pipeline

[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. In a

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 no

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: Authentification Framework problem

2003-08-28 Thread Carsten Ziegeler
Hi, your test in the stylesheet looks a little bit strange to me: xsl:if (test=normalize-space(name) = $name and test=normalize-space(password) = $password) I think it should read xsl:if test=normalize-space(name) = $name and normalize-space(password) = $password HTH Carsten

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/ 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

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: Authentification

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!

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:

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

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

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,

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: map:act type=validator ... load new page /map:act ... re-load existing page to display

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]

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

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.

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

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

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 map:act type=auth-protect map:parameter name=handler value=yourhandler/ map:generate src={ID}/ !-- The id of the user -- map:transform src={stylesheet}/ !-- information stored in

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: 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

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

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

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]

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: http://cocoon.apache.org/2.1/userdocs/flow/jxforms.html --

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

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 instead.

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

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 have

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 map:pipelines section in sitemap Ok. No.

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.

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

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.)

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

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

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 input

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]

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

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

[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: [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

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. It

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

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

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.

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 well

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:

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 computers

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: [EMAIL

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 computers operating system is Microsoft Windows 2000

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 it

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. --Tim

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

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: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//ENhtmlheadtitle/title/headbody/body/html I know I know, an

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

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

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

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: 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

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 in

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

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.)

utf-8-form-encoding.xweb

2003-08-28 Thread Tomasz Nowak
Simple question: how do I change this: !-- init-param param-namecontainer-encoding/param-name param-valueutf-8/param-value /init-param -- into this: init-param param-namecontainer-encoding/param-name param-valueutf-8/param-value /init-param by

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

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

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 new