Re: Can't instantiate multiple nodesets on same stylesheet?

2003-09-11 Thread Tony Culshaw
You might be 'out of context' on the second nodeset, ie. it might be correct in the result being null.. Can you post your stylesheet (or an example) to this list? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 5:20 PM Subject:

wsproxy and request parameters

2003-09-11 Thread Jeff Ramsdale
I'm playing with the Amazon.com web service toolkit and Cocoon. Here's my sitemap snippete: map:match pattern=doSearch.html map:generate name=wsproxy src=http://xml.amazon.com/onca/xml3?t=webservices-20amp;dev-t=[my dev

Complex Cocoon setup: partial problem solved

2003-09-11 Thread Deepak Mehta
Hi, See my older email for reference on the setup: MacOSX 10.2.6, JDK 1.4.1, JOnAS 3.2.2, Tomcat 4.1.27 and Cocoon 2.1.1... Solved a classloader problem by using the Paranoid option in web.xml (read the fucking manuals or textfiles!)... Peoples this might solve some problems for other people

RE: i18n trouble with nested elements in catalog messages

2003-09-11 Thread Bruno Dumon
On Wed, 2003-09-10 at 20:28, Olivier Lange wrote: Is that normal SAX behavior - and we should replace the null value with an Oh! I should have read the doc. From the Javadocs for the org.w3c.dom.Node interface: http://java.sun.com/j2se/1.4.1/docs/api/org/w3c/dom/Node.html#getNamespaceUR

directory listing

2003-09-11 Thread Mustafa Yalniz
Hi, We have a cocoon application and the URL is http://localhost:8080/cocoon/application and with this url we can see our application. But whenever we try to browse http://localhost:8080/cocoon/application/ we see the directory listing application. The last slash / at the end shows us the

RE: wsproxy and request parameters

2003-09-11 Thread Jeff Ramsdale
I discovered that changing my search from johnny depp to depp returns a list of results. The problem, then, would seem to be the encoding of spaces in my request parameters. When I submit my search form it converts the space to a + in my browser. Examining the logs I see that they show , not + on

Re: directory listing

2003-09-11 Thread Joerg Heinicke
I wonder if this is pure Cocoon behaviour. Don't you have an Apache in front of the servlet container? What's your servlet container? Joerg Mustafa Yalniz wrote: Hi, We have a cocoon application and the URL is http://localhost:8080/cocoon/application and with this url we can see our

Re: directory listing

2003-09-11 Thread Mustafa Yalniz
It is the usual configuration. Apache Tomcat and Cocoon. Mustafa At 12:57 11.09.2003 +0200, you wrote: I wonder if this is pure Cocoon behaviour. Don't you have an Apache in front of the servlet container? What's your servlet container? Joerg Mustafa Yalniz wrote: Hi, We have a cocoon

Re: directory listing

2003-09-11 Thread Mustafa Yalniz
Hi, I tried to use mod_rewrite and my httpd.conf configuration is as below. IfModule mod_rewrite.c RewriteEngine on RewriteLogLevel 9 RewriteLog C:\temp\MOD_REWRITE.LOG /IfModule VirtualHost 127.0.0.1 RewriteRule ^/starportal/$ /starportal /VirtualHost But seems something is wrong

RE: directory listing

2003-09-11 Thread Reinhard Poetz
Do you have the problem if you call Tomcat directly too? Reinhard -Original Message- From: Mustafa Yalniz [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 4:44 PM To: [EMAIL PROTECTED] Subject: Re: directory listing Hi, I tried to use mod_rewrite and my

[Fwd: form validation]

2003-09-11 Thread Peter Choe
i want to validate a form using form validation. i can the validation to work if it checks to see if each field enter matches the criteria, but i would like a validation that checks a conditional. for example: if a person doesn't check one check box, i want to check if a text box has a

Problems building apache cocoon

2003-09-11 Thread Hans Andersen
Hi, I can't build my apache cocoon. When I try to run build.bat I get this message: Using java from c:\j2sdk1.4.2 Syntax error OFF I have set the JAVA_HOME environment variable. I have created the %JAVA_HOME%\jre\lib\endorsed directory and the %TOMCAT_HOME\common\endorsed. I have copied the

Re: [Help] Downloading file into local Disk

2003-09-11 Thread Stephan Niedermeier
Hello Lionel, it seems to me that your browser looks at first for the suffix of the recived document and then for the mime-type. Do you use IE? In my opinion, the only way to solve this problem is to zip the xml file before sending or to change the config of your browser, if possible. Regards

Form validation multiple rows

2003-09-11 Thread John Williams
Is it possible to validate a number of input fields having the same name and get back the error linked to the field causing the problem? I am using 2.0.4 and find that FormValidatorAction will act on a multivalued field but it only returns a single value for the field. For example I have a form

Re: wsproxy and request parameters

2003-09-11 Thread Tony Collen
Jeff Ramsdale wrote: I discovered that changing my search from johnny depp to depp returns a list of results. The problem, then, would seem to be the encoding of spaces in my request parameters. When I submit my search form it converts the space to a + in my browser. Examining the logs I see that

Re: wsproxy and request parameters

2003-09-11 Thread Tony Collen
Jeff Ramsdale wrote: I discovered that changing my search from johnny depp to depp returns a list of results. The problem, then, would seem to be the encoding of spaces in my request parameters. When I submit my search form it converts the space to a + in my browser. Examining the logs I see that

Update a pair of tables having a one-to-many cardinality in a transaction - modular database actions

2003-09-11 Thread John Williams
Say I have a pair of tables - ORDER_HEADER (who placed it, delivery date, etc)and ORDER_LINE per item (quantity, price, etc) - and I want to update the both based on changes submitted by a user. These changes could include: update to ORDER_HEADER, eg new date deletion of some ORDER_LINE

File upload with flow (Wiki examples)

2003-09-11 Thread Stephen Ramsay
I've spent the last couple of weeks beating my head against the wall trying to get file uploading to work in Cocoon 2.1. I've read the File Uploads with Flow howto on the Wiki (as well as the other upload howtos, the docs, the update guide, and the list archives), but I'm still confused about a

RE: [Help] Downloading file into local Disk

2003-09-11 Thread Tim Olson
changing the mime type of the download helps, but w3c says that it's up to the user-agent whether to display the document or save it. in other words, you can't control this behavior 100%. for example, if you send an unknown mime type to IE, then a save dialog will appear the first time.

RE: Can't instantiate multiple nodesets on same stylesheet?

2003-09-11 Thread David Benoff
Hi all (and thanks for the reply, Tony), To restate the problem from my original post, I'm having trouble when I invoke xalan:nodeset($myfragment) more than once on a stylesheet. Whichever variable gets invoked first renders fine, but all other nodesets are null. One of the problem xsl's is

Re: File upload with flow (Wiki examples)

2003-09-11 Thread Geoff Howard
Stephen Ramsay wrote: I've spent the last couple of weeks beating my head against the wall trying to get file uploading to work in Cocoon 2.1. I've read the File Uploads with Flow howto on the Wiki (as well as the other upload howtos, the docs, the update guide, and the list archives), but I'm