Re: Building a DOM Model with XMLForms

2002-10-13 Thread Ivelin Ivanov
Scott, Your thoughts are quite logical. The initial implementation of XMLForm looked very similar to what you describe. If you go back in CVS to February-March this year, you will see that version. Over time I was convinced by Torsten and Konstantin, that form processing can involve a lot of

Re: Building a DOM Model with XMLForms

2002-10-13 Thread Robert Ellis Parrott
On Sat, 12 Oct 2002, Ivelin Ivanov wrote: Robert, Sorry for the delayed reply. - Original Message - From: Robert Ellis Parrott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 11, 2002 10:35 AM Subject: Building a DOM Model with XMLForms Hi folks, I'm

Re: Need to specify target.vm

2002-10-13 Thread Colin Paul Adams
Scott == Scott Schram [EMAIL PROTECTED] writes: Scott What happens if you type which java ? Do you get an Scott unexpected one installed by your linux distribution? No. 1.4.1 Scott It looks like you're using an ant that came in some other Scott package. Perhaps that package

RE: XMLHTTP and cocoon [site map how to]

2002-10-13 Thread Cocoon User
i have succesfull write a js that create an xmlobject and then post it using xmlhttp i have too succesfull post this xml stream to .php and java servlet . server side i just echo this stream and return this echo to js how can i modify sitemap to make cocoon ready to receive this stream and

Re: Need to specify target.vm

2002-10-13 Thread Robert Ellis Parrott
Try setting $ANT_HOME and $JDK_HOME as well (and $TOMCAT_HOME if relevant for that matter) I built on 10/12/2002 OK, so perhaps just environment? rob On 13 Oct 2002, Colin Paul Adams wrote: Hello, I'm trying to install cocoon 2.1 from a CVS snapshot (Oct 12th). JAVA_HOME points to a

Re: Need to specify target.vm

2002-10-13 Thread Scott Schram
At 01:12 AM 10/13/2002, you wrote: Robert I built on 10/12/2002 OK, so perhaps just environment? Could be. If I type: which ant then it finds ant in the jwsdp/bin directory - that's ant 1.4.1, do I need a different version? What happens if you type which java ? Do you get an unexpected

[Q] Pipeline best practices

2002-10-13 Thread Ivelin Ivanov
Can someone point me to a document or briefly explain what are the best practices to writing pipeline in regard of multiplicity. For example how many pipelines in a sitemap are reasonable? How do one chooses when to put multiple matchers in one pipeline vs splitting them in separate pipelines.

Re: XMLForm Howto - not Working still

2002-10-13 Thread Ivelin Ivanov
There is a good chance that your package names or sitemaps are not quite right. Instead of typing the howto code, start with the demo source code which works and change it for your taste. - Original Message - From: aps olute [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday,

Re: Building a DOM Model with XMLForms

2002-10-13 Thread Robert Ellis Parrott
I believe that XMLForms are accessed by the pipeline via an Action Component, based on AbstractXMLFormAction. This is the Component that can would handle most of what you are saying below. The Action taken by the Action will depend on the command encoded in the request; one could, at the end of

Re: Aggregation of xml in a directory

2002-10-13 Thread Alex McLintock
Alex McLintock wrote: I am trying to figure out how to get Cocoon to display all the xml files in a directory without being explicitly told each of their names in the sitemap. I guess I need a combination of the Directory Generator and the Aggregation tools. At 14:34 12/10/02, Steven Noels

RE: i18n:when

2002-10-13 Thread Piroumian Konstantin
From: Alex Romayev [mailto:[EMAIL PROTECTED]] Hello, Just wanted to follow through on the discussion from a couple of month back. There was a proposal that Konstantin was going to work on to implement i18:when tag as an alternative to using message files, so that you could have in

Need to specify target.vm

2002-10-13 Thread Colin Paul Adams
Hello, I'm trying to install cocoon 2.1 from a CVS snapshot (Oct 12th). JAVA_HOME points to a 1.4.1 j2sdk (from sun, for Linux). It's the only version of java I have installed (to my knowledge). When I tried the instructions for an automatic build, I got an error that ./lib/core/jvm1.3 was not

Re: Building a DOM Model with XMLForms

2002-10-13 Thread Ivelin Ivanov
Robert, Sorry for the delayed reply. - Original Message - From: Robert Ellis Parrott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 11, 2002 10:35 AM Subject: Building a DOM Model with XMLForms Hi folks, I'm working on a project prototype where I'm trying to

Re: Need to specify target.vm

2002-10-13 Thread Colin Paul Adams
Robert == Robert Ellis Parrott [EMAIL PROTECTED] writes: Robert Try setting $ANT_HOME and $JDK_HOME as well (and To what? What are they supposed to achieve? Robert $TOMCAT_HOME if relevant for that matter) Well, I'm using tomcat 4, and CATALINA_HOME is set. (As is JAVA_HOME - what is

Re: Aggregation of xml in a directory

2002-10-13 Thread Jeff Turner
On Sat, Oct 12, 2002 at 02:08:16PM +0100, Alex McLintock wrote: Hi folks, I am trying to figure out how to get Cocoon to display all the xml files in a directory without being explicitly told each of their names in the sitemap. Have a look at the XPathDirectoryGenerator in the

RE: [Q] Pipeline best practices

2002-10-13 Thread Reinhard Poetz
Hi Ivelin, -Original Message- From: Ivelin Ivanov [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 13, 2002 4:25 PM To: [EMAIL PROTECTED] Subject: [Q] Pipeline best practices For example how many pipelines in a sitemap are reasonable? How do one chooses when to put multiple

DO NOT REPLY [PATCH QUEUE] Summary October 13 2002

2002-10-13 Thread nicolaken
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to

Re: Need to specify target.vm

2002-10-13 Thread Colin Paul Adams
Robert == Robert Ellis Parrott [EMAIL PROTECTED] writes: Robert I built on 10/12/2002 OK, so perhaps just environment? check-jars: Copying 1 file to /home/colin/xml-cocoon2/build/cocoon Processing /home/colin/xml-cocoon2/lib/jars.xml to

Re: Need to specify target.vm

2002-10-13 Thread Colin Paul Adams
Well, to answer my own question, I had an old .ant.properties file lying around from about a year ago. Oh well ... -- Colin Paul Adams Preston Lancashire - Please check that your question has not already been answered in the

Re: Sitemap question

2002-10-13 Thread Miles Elam
Miles Elam wrote: Is there any particular reason why subsitemaps must redefine components instead of inheriting the parent's component definitions and defaults? Seems quite redundant to me. Let me restate the question. I noticed that the sitemap isn't inheriting things it should be. I

Possible with XSPs?

2002-10-13 Thread Sonny Sukumar
Hi guys, Is it possible to access request parameters from within an XSP or logicsheet? For example, when I go to http://localhost:8080/cocoon/test?param=12345678 I'd like to use the value of param in my XSP or logicsheet as a basis for calling Java functions. In my pipeline, I currently just

Re: Possible with XSPs?

2002-10-13 Thread Antonio Gallardo Rivera
El Domingo, 13 de Octubre de 2002 17:26, Sonny Sukumar escribió: Hi guys, Is it possible to access request parameters from within an XSP or logicsheet? Yes, you can, for more info: http://xml.apache.org/cocoon/userdocs/xsp/request.html For example, when I go to

Action example

2002-10-13 Thread Hong Gia Dinh
Title: Action example Hi I am new to Cocoon, i use and find it pretty nice, and i find i like it but just one scope i cant figure out and not yet use it . it is 'action' application where can i find a simple example of using 'action'? because the cocoon specification mainly show how to write

XMLForm - VoiceXML

2002-10-13 Thread apurva zaveri
This is a serious problem about the use of XMLForm in VoiceXML. While experimenting with XMLForm to generate VoiceXML this a problem that I faced. Since in XMLForm all the name of the fields begins with / in HTML select name=/city is not a problem while in VXML field name=/city is an error.

Re: [Q] Pipeline best practices

2002-10-13 Thread Markdelanoy
Another issue of having too many pipelines. As i understand in the sitemap is generated into a java class. And the various matchers within a pipeline(s) are really a bunch of if-else if statements. So the more matchers you have (to match to a pipeline or various paths within a pipeline)

Cocoon2.0 with JBoss-2.4.7_Tomcat-4.0.4

2002-10-13 Thread Niket Anand
Hello all, I have successfully integrated Cocoon-2.0 with JBoss-2.4.7_Tomcat-4.0.4 and it is working fine. I have properly made ear file containing EJB jar file and cocoon folders as war file. If I need to change any XSP and other classes then How will it work without redeploying all stuffs. I

Re: [Q] Pipeline best practices

2002-10-13 Thread Geoff Howard
--- [EMAIL PROTECTED] wrote: It may help to break things up with sub site maps to help limit the searching. Or put the most likely pipelines to get hit first and the least likely last... After reading Stefano's thread on dev (?) regarding the profiling work he did revealing that matching

Re: Possible with XSPs?

2002-10-13 Thread Antonio Gallardo Rivera
What version of Cocoon are you using? I am using the lastest CVS and its works fine for me. Just see the default value: xsp:logic String productId = xsp-request:get-parameter name=productid default=/;

Escape characters in ESQL

2002-10-13 Thread Katzigas Dimitris
Hi there, I want to execute this query over an Oracle database. alter session set nls_date_format=DD/MM/ the code fragment from my XSP file is shown below. esql:execute-query esql:query alter session set nls_date_format=DD/MM/ /esql:query /esql:execute-query This of course

Re: Possible with XSPs?

2002-10-13 Thread Katzigas Dimitris
I think that your code is OK. xsp:logic String productId = xsp-request:get-parameter name=productid/; /xsp:logic This code is right above my root document element But i think that you have to put the whole xsp:logic fragment inside your root element. I think that in order to use the

AW: Action example

2002-10-13 Thread Sternath Elmar
Title: Action example In the cocoon docs there is a nice example how to create AND use actions: http://xml.apache.org/cocoon/userdocs/concepts/actions.html Inside an action, you put key/value pairs into a hashmap which you can then access inside the corresponding act/act tags in your

Re: Possible with XSPs?

2002-10-13 Thread Antonio Gallardo Rivera
Its the syntaxis of XSP ;) Antonio Gallardo El Lunes, 14 de Octubre de 2002 00:00, Sonny Sukumar escribió: Aha! That fixed it. I'd love to know why one can only use xsp-request elements inside the document (root element). Anyone know? --- Katzigas Dimitris [EMAIL PROTECTED] wrote: I

Re: Possible with XSPs?

2002-10-13 Thread Sonny Sukumar
Aha! That fixed it. I'd love to know why one can only use xsp-request elements inside the document (root element). Anyone know? --- Katzigas Dimitris [EMAIL PROTECTED] wrote: I think that your code is OK. xsp:logic String productId = xsp-request:get-parameter name=productid/; /xsp:logic