Re: XMLHTTP and cocoon [site map how to]

2002-10-14 Thread Ugo Cei
Cocoon User wrote: > 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 re

RE: [SUMMARY] Pipeline match optimization (Re: [Q] Pipeline best practices)

2002-10-14 Thread Reinhard Poetz
The results of this thread from my point of view can be found at http://outerthought.net/wiki/Wiki.jsp?page=DesignPipelines. Are there any other points? Regards, Reinhard > -Original Message- > From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 14, 2002 8:57 AM

Cocoon and hsqldb

2002-10-14 Thread Sylvain.Thevoz
Hello everybody, I try to run a Cocoon example with the sql transformer and I use the hsqldb database included in Cocoon distribution for this. But how can I start this db? Thank you Sylvain - Please check that your question

RE: Cocoon and hsqldb

2002-10-14 Thread Piroumian Konstantin
It is started automatically when Cocoon is loaded. Usually, you can see a message like: "Server started. Press Ctrl+C to shutdown" in console window - it is the HSQLDB message. If don't get a similar message then check logs to see what's wrong. -- Konstantin Piroumian > -Original Message

RE: Cocoon and hsqldb

2002-10-14 Thread Sylvain.Thevoz
Thank you Konstantin, I have this message: "Server 1.6 is running". Is there a console where I can execute queries? Sylvain -Message d'origine- De: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] Date: lundi, 14. octobre 2002 10:50 À: '[EMAIL PROTECTED]' Objet: RE: Cocoon and hsqldb

RE: Cocoon and hsqldb

2002-10-14 Thread Piroumian Konstantin
> From: [EMAIL PROTECTED] > > Thank you Konstantin, I have this message: "Server 1.6 is running". Yes, it's the HSQLDB. > > Is there a console where I can execute queries? Have no idea here. Try to search for some tools for HSQLDB. I don't know if there is anything like that is bundled with

RE: Cocoon and hsqldb

2002-10-14 Thread Sylvain.Thevoz
I have found a script file that creates tables and entries in the default Cocoon example database, you can find this file here: \WEB-INF\db\cocoondb.script Now all work with HSQLDB! Has someone tried to connect Cocoon to a Microsoft SQL Server database? I'm looking for a database URL connectio

Re: Cocoon and hsqldb

2002-10-14 Thread Bertrand Delacretaz
On Monday 14 October 2002 11:18, [EMAIL PROTECTED] wrote: >. . . > Has someone tried to connect Cocoon to a Microsoft SQL Server database? > I'm looking for a database URL connection example. >. . . If you're courageous you can use the JDBC-ODBC bridge for this, but last time I checked it was fa

RE: Cocoon and hsqldb

2002-10-14 Thread ROSSEL Olivier
There is a JDBC driver for MS SQL Server, available at sourceforge.net: jtds. > -Message d'origine- > De: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]] > Date: lundi 14 octobre 2002 11:26 > á: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Objet: Re: Cocoon and hsqldb > > > On Monday 14 Octobe

Re: Cocoon and hsqldb

2002-10-14 Thread Ralph Henke
> Is there a console where I can execute queries? Yes, start: java org.hsqldb.util.DatabaseManager Ralph Henke - Please check that your question has not already been answered in the FAQ before posting.

XSP, ESQL and MySQL

2002-10-14 Thread Tom Place
Apologies if this is a slightly “lower level” problem than normal but I think I am going slowly mad. I have just started working with cocoon 2 and am having some problems getting this to connect to mySQL. I have followed the tutorials to the letter and am getting an Exception in ServerPagesGener

Problem with sitemap

2002-10-14 Thread Kavitha Ramesh
Hi, My sitemap is as follows: In my welcome folder I have author.xsl and learner.xsl.My xml file has the tag, role.Depending upon the role the sitemap has to choose the respective stylesheet and do the transformation.But I get an error "Failed to process the pipeline".I use Tomcat-4.0-b7

RE: Action example

2002-10-14 Thread Hong Gia Dinh
Title: Action example Hi Is there any other example for using action? because i still cant find any pratical and useful application of action??!! ;P cheers -Original Message-From: Sternath Elmar [mailto:[EMAIL PROTECTED]]Sent: lundi 14 octobre 2002 12:56To: '[EMAIL PROTECTED]'

Re: Action example

2002-10-14 Thread Antonio Gallardo Rivera
See the sources of samples: http://localhost:8080/cocoon/samples/authentication-fw/login http://localhost:8080/cocoon/samples/portal-fw/sunspotdemoportal http://localhost:8080/cocoon/samples/tutorial/home.html Antonio Gallardo El Lunes, 14 de Octubre de 2002 04:54, Hong Gia Dinh escribió: > Hi

TR: Cocoon and hsqldb

2002-10-14 Thread Sylvain.Thevoz
Thank you for all your replies! At the moment for the development phase, I use the JDBC driver provided by Microsoft. It is not very fast but it works. For information the driver is: Microsoft SQL Server 2000 Driver for JDBC. I use the URL: jdbc:microsoft:sqlserver:your_server:1433:DatabaseName

XInclude & db queries

2002-10-14 Thread Nicholas Hemley
Hello, I would like to use the XInclude transformer so that I can put my database queries into separate files (i.e. atomic queries that are reused elsewhere). Currently, the SQL Transformer does not transform the resulting XML [using Cocoon 2.0.3+Tomcat 4.1.12 under win2k]. Does anyone have an

Re: Software Development magazine reviews a Cocoon book

2002-10-14 Thread Chuck Amadi
Hi there I'm a member but still unable to track it down (in the prev_reviews.html )Plz could post the complete url - path Luca Morandini wrote: >Folks, > >in the November issue of Software Developoment ( http://www.sdmagazine.com ) you may >find a brief review of "Cocoon: building XML >applic

Re: XMLForm - VoiceXML

2002-10-14 Thread apurva zaveri
One more thing to mention. I am working on creating "wizard2vxml.xsl" and "xmlform2vxml.xsl" for VoiceXML 2.0 for XMLForm. Is it Necessary to have “/” in the field name (html input variable name) like : this? Would this be fine? I am using bean not dom for XMLForm --- apurva zaveri <[EMAI

RE: XML to PDF

2002-10-14 Thread Tony Goodwin
I have achieved this using some work originally done by Nikolai Grigoriev at renderx.com. You may still be able to find some examples from their web site. If not come back, and I'll email some privately rather than clog up this list. Tony - Tony Goodwin [EMAIL PROTECTED] -

Re: XSP, ESQL and MySQL

2002-10-14 Thread Geoff Howard
Check the logs in WEB-INF/logs to see if your driver is being loaded. I'm not sure why, but all current cocoon documentation does not mention using in the cocoon.xconf declaration. The recommended way to make your driver available is to place it in web.xml under the load-class init-param like

RE: sunRise User Administration for Dummies

2002-10-14 Thread Brandes, Wayne
Thank you Matthew >> I've read it adn it seemed fairly understandable, sort of, except for the chapter on "The authentication resource", which introduces this syntax: "" without explaining what "raw" is about, and give a practical example of how to actually utilize an authentication resource. <<

RE: SunShine-InsertTransformer: encoding

2002-10-14 Thread Alex Romayev
Hi Carsten, I've tested both encoding and namespaces and they worked fine. Thanks very much for the quick fixes. Now, a couple of problems: 1. The namespace declarations are generated at each individual element rather than the root node. Of course it still works, but add to the file size and

Storing XML-documents

2002-10-14 Thread simo kauranen
Hi, I would like to store XML-documents after transformations to disk (with a store key) in a way that I can access it later on with url like http://../cocoon/MyDir/Store?key=123456789abcdefg. Are there any tools to do this (transformation)? SourceFileWriter doesn't work because I need to save a

How do I match cocoon-action-*

2002-10-14 Thread Bobby Mitchell
I want to be able to match cocoon-action-* and use the value {1}. Is this possible? Which matcher? Thanks -- Robert J. (Bobby) Mitchell Systems Administrator NASA Institute for Advanced Concepts 555A 14th St Atlanta, Ga. 30318 Phone: (404)347-9633 Fax: (404)347-9638 ---

Encoding problem with HTML-serializer and URLs

2002-10-14 Thread Stefan Riegel
Hello, doing the following I do not get the expected results. The german umlaut with "ISO-8859-1" converts magically to "UTF-8". All encodings (html-/xml-serializers, xml-files, xsl-files) are set to "ISO-8859-1" src.xml: ... ö (ö = german umlaut for "oe") ... Sitemap snippet:

Re: Port 8180 works, port 80 with mod_jk doesn't ... and it feels so close

2002-10-14 Thread Kjetil Kjernsmo
On Friday 11 October 2002 22:05, Geoff Howard wrote: > P.S. Do you really mean 8180? FYI, Debian seems to do this. I work on that port too. Best, Kjetil -- Kjetil Kjernsmo Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PR

Help wanted: Cocoon documentation tracks!

2002-10-14 Thread Bertrand Delacretaz
(cross-posted to -dev and -user, we need you too!) IMHO adding "tracks" to the Cocoon documentation could make it much more useful, by providing several "reading lists" targeted to the various uses of Cocoon. Please see http://outerthought.net/wiki/Wiki.jsp?page=DocumentationTracksProject abou

Re: Encoding problem with HTML-serializer and URLs

2002-10-14 Thread Alex Romayev
Try this in your sitemap: and --- Stefan Riegel <[EMAIL PROTECTED]> wrote: > Hello, > > doing the following I do not get the expected > results. The german umlaut > with "ISO-8859-1" converts magically to "UTF-8". All > encodings > (html-/xml-serializers, xml-files, xsl-file

Re: How do I match cocoon-action-*

2002-10-14 Thread Antonio Gallardo Rivera
Try using this: Antonio Gallardo El Lunes, 14 de Octubre de 2002 09:19, Bobby Mitchell escribió: > I want to be able to match cocoon-action-* and use the value {1}. Is > this possible? Which matcher? > > Thanks - Please check

Re: How do I match cocoon-action-*

2002-10-14 Thread Bobby Mitchell
Antonio Gallardo Rivera wrote: >Try using this: > > > > This example will match a request parameter with the name of cocoon-action-*, with the * as a literal character. I have tried all sorts of different matchers and haven't found one that works. Anybody else got any tips? > > -- Robert

RE: [Q] Pipeline best practices

2002-10-14 Thread Hunsberger, Peter
> Or put the most likely pipelines to get hit first and the least likely last... That can be problematic if your most used pipelines are the generic matches. Eg, three special cases and 100 general cases: match="fee.foe" match="fee.fie" match="fee.fum" match= "

Re: How do I match cocoon-action-*

2002-10-14 Thread Christian Haul
On 14.Oct.2002 -- 12:41 PM, Bobby Mitchell wrote: > Antonio Gallardo Rivera wrote: > > >Try using this: > > > > > > > > > This example will match a request parameter with the name of > cocoon-action-*, with the * as a literal character. I have tried all > sorts of different matchers and haven't

Re: How do I match cocoon-action-*

2002-10-14 Thread Christian Haul
On 14.Oct.2002 -- 07:22 PM, Christian Haul wrote: > On 14.Oct.2002 -- 12:41 PM, Bobby Mitchell wrote: > > Antonio Gallardo Rivera wrote: > > > > >Try using this: > > > > > > > > > > > > > > This example will match a request parameter with the name of > > cocoon-action-*, with the * as a literal

AW: Encoding problem with HTML-serializer and URLs

2002-10-14 Thread Stefan Riegel
Thank You Alex, but this did not change any behaviour. Sending the "o" from a form works fine as it did without the SetCharacterEncodingAction. I guess the problem has to do with 1. Encoding ISO-8859-1 in href-attributes to the encoding scheme used in URLs and 2. decoding back to ISO-8859-1 So

Re: Port 8180 works, port 80 with mod_jk doesn't ... and it feels so close

2002-10-14 Thread Geoff Howard
Interesting. Thanks. --- Kjetil Kjernsmo <[EMAIL PROTECTED]> wrote: > On Friday 11 October 2002 22:05, Geoff Howard wrote: > > > P.S. Do you really mean 8180? > > FYI, Debian seems to do this. I work on that port > too. > > Best, > > Kjetil > -- > Kjetil Kjernsmo > Astrophysicist/IT > Cons

Re: Storing XML-documents

2002-10-14 Thread Barbara Post
Can't you generate the key with an action and pass it as sitemap parameter then use SourceWritingTransformer (CVS) ? What change would be needed for SourceWritingTransformer to be able to write any format out, and can it do so already ? -- website : www.babsfrance.fr.st ICQ : 135868405 - Orig

Re: How do I match cocoon-action-*

2002-10-14 Thread Bobby Mitchell
> > > >However, there is a RequestParameterExistsAction that could be used if >you knew all possible values for "*" > > Chris. > > Here is what I have tried: This particular instance matched cocoon-action-prev. I can see that I can use 'cocoon-

Re: XMLForm - VoiceXML

2002-10-14 Thread J.Pietschmann
apurva zaveri wrote: > One more thing to mention. > > I am working on creating "wizard2vxml.xsl" and > "xmlform2vxml.xsl" for VoiceXML 2.0 for XMLForm. > > Is it Necessary to have “/” in the field name (html > input variable name) like : > this? If you do a transformation, why can't you strip

Simple XSP Ordering Problem

2002-10-14 Thread Sonny Sukumar
Using: Cocoon 2.0.3 with Tomcat 4.1.12 on Redhat 7.3 My problem is this: I'm writing an XSP and trying to insert an attribute in the root element of my document. The root element is , as this doc stores product info. Anyhow, a logicsheet inserts an products.getCategory(productId) int

Re: [Q] Pipeline best practices

2002-10-14 Thread Markdelanoy
To be honest, I circumvented this whole issue by having as few pipelines as possible. Basically I use action or event id's that point to metadata files. The metadata files have all the information how to build a portal page, I then use WSUI (wsui.org) files to describe each of the portlets.

Re: How do I match cocoon-action-*

2002-10-14 Thread Christian Haul
On 14.Oct.2002 -- 02:23 PM, Bobby Mitchell wrote: > > > > > > > >However, there is a RequestParameterExistsAction that could be used if > >you knew all possible values for "*" > > > Here is what I have tried: > > > > > > This particular instance matched coc

Build Test Suite fails

2002-10-14 Thread Marc Driftmeyer
List, C:\Java\xml-cocoon2>build test Chugs along and then during the jUnit portion produces 51 errors culminating with this final one. If you want I can output the file into a txt file for verification. Final line of error output BUILD FAILED file:C:/Java/xml-cocoon2/build.xml:2027: Compile f

Resource not found "/"

2002-10-14 Thread Bryan Zarnett
I am currently trying to make a weblog application I created the main association to my root URL. Right now I have it setup so that the welcome.xhtml is called whenever I hit my URL. What I want to happen is that i want my weblog sitemap to be called and the "foo.html" to be passed to my weblog si

Re: XMLForm - VoiceXML

2002-10-14 Thread Ivelin Ivanov
elements in XMLForm do not have to start with "/". It is just used for clarity in the examples. You can try just "city". What are the limitations for names of VXML forms? - Original Message - From: "apurva zaveri" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 13, 2

Re: XMLForm - VoiceXML

2002-10-14 Thread Ivelin Ivanov
Would be just fine if your bean has a get/setCity() - Original Message - From: "apurva zaveri" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 14, 2002 7:59 AM Subject: Re: XMLForm - VoiceXML One more thing to mention. I am working on creating "wizard2vxml.xsl" an

Re: [Q] Pipeline best practices

2002-10-14 Thread Ivelin Ivanov
Can you share your pipeline. Maybe you organize your content in a much smarter way than I can imagine. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 14, 2002 3:59 PM Subject: Re: [Q] Pipeline best practices > To be honest, I circumvented

RE: sunRise User Administration for Dummies

2002-10-14 Thread Richard Reyes
Hi Matthew, I have read the documentation a couple of times... this one http://xml.apache.org/cocoon/developing/webapps/sunrise.html But still, I cannot understand or apply anything on the User Administration... Can I use it with a database? Where would the user data be stored? Do I need to in

Re: Aggregation of xml in a directory

2002-10-14 Thread Martin Lüthi
Hi Upon recommendation from this list, I initially used XPathDirectoryGenerator, but it was too slow for online use. Since I know when a file is changed, I call the following URL which produces one large XML file with the contents of all files in the directory. A FileChainingGenerator would prob

org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.NullPointerException

2002-10-14 Thread Majcen, Kurt
Hello all! In my frame based solution I have a main frame with the navigation being some links to xhtml files for the second frame. For each of these links I did a sitemap in a sub-directory. The phaenomenon I realised: When I click on a navigation link for the first time everything seems ok. Wh

RE: sunRise User Administration for Dummies

2002-10-14 Thread Matthew Langham
Richard, this is the correct link to the _current_ version (in 2.1-dev): http://xml.apache.org/cocoon/developing/webapps/authentication.html >> Can I use it with a database? << Yes - the authentication framework maps functions to pipelines. And as such a pipeline can do whatever _you_ want. >>

Re: sunRise User Administration for Dummies

2002-10-14 Thread Richard Reyes
Hi Matthew, Thanks for the response... I am done with the Authentication stuffs. And i am more concern on how I'll create my Roles ( admin, guest, user ) and on where would these datas be saved. Since the Authentication framework is providing a way to managed users and user roles. Thanks again

org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.NullPointerException

2002-10-14 Thread Majcen, Kurt
Hello all! In my frame based solution I have a main frame with the navigation being some links to xhtml files for the second frame. For each of these functionalities behind the links I did a sitemap in a sub-directory. The phaenomenon I realised: When I click on a navigation link for the first t

RE: Simple XSP Ordering Problem

2002-10-14 Thread Nathaniel Alfred
>-Original Message- >From: Sonny Sukumar [mailto:[EMAIL PROTECTED]] >Sent: Montag, 14. Oktober 2002 21:56 >To: [EMAIL PROTECTED] >Subject: Simple XSP Ordering Problem > > > >String productId = name="productid" default=""/>; > > ... Try: String productId = request.getPara

RE: Simple XSP Ordering Problem

2002-10-14 Thread Sonny Sukumar
Hmmm, I didn't read about the request object in my Cocoon book. Where is it defined exactly? Do I need to import anything to use it? Thanks again, Sonny --- "Nathaniel Alfred" <[EMAIL PROTECTED]> wrote: > > >>-Original Message- >>From: Sonny Sukumar [mailto:[EMAIL PROTECTED]] >>Sent

Serializing JavaScript

2002-10-14 Thread Lenz, Evan
I have an XSLT transformation that outputs a JavaScript file that I need to serialize as text to send to the client. I am using , but the serialized result includes an XML declaration with markup characters escaped (as if serializing an external parsed general entity). How do I force Cocoon to ser