problem vith sub_sitemap

2002-04-03 Thread Olivier GUCKERT
Hello I have a problem with sub-sitemap. I want to have a directory for my apps. This directory is : G:\site. So, i add a pipeline in sitemap.xmap, look like this : map:pipeline map:match pattern=transfo/** map:mount uri-prefix=transfo src=///./site/sitemap.xmap

RE: problem vith sub_sitemap

2002-04-03 Thread Hahn Kurt (CHA)
Hmmm. I'm a newbie, but I managed to mount a subsystem, though I put in the Cocoon-directory, but that shouldn't change much. In my configuration, I didn't point the src= to the sitemap, but only to the directory which contains the sitemap, like: map:pipeline map:match pattern=Kurt/**

RE: problem vith sub_sitemap

2002-04-03 Thread Luca Morandini
Oliver, what Kurt said is correct, in addition, I'd change the src=///./site/ to src=file:///g:/site/ Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED]

Re: problem vith sub_sitemap

2002-04-03 Thread Olivier GUCKERT
Hahn Kurt (CHA) a écrit : Hmmm. I'm a newbie, but I managed to mount a subsystem, though I put in the Cocoon-directory, but that shouldn't change much. In my configuration, I didn't point the src= to the sitemap, but only to the directory which contains the sitemap, like:

Re: problem vith sub_sitemap

2002-04-03 Thread Olivier GUCKERT
Luca Morandini wrote : Oliver, what Kurt said is correct, in addition, I'd change the src=///./site/ to src=file:///g:/site/ Best regards, Thanks, but i've done so to, and it doesn't work... - Please check that your

RE: problem vith sub_sitemap

2002-04-03 Thread oystein hauge
Other pages in cocoon still works? If yes, your problem is in the sub-sitemap (g:\site\sitemap.xmap), not the mounting in the main sitemap. There are several typo's in the sitemap. IIRC, some components also has to be specified. Use a sample sitemap and edit it instead. Øystein ?xml

RE: problem vith sub_sitemap

2002-04-03 Thread Luca Morandini
Oliver, you should define the components used in the sub-sitemap, this definition could be minimal, since they are inherited from the sitemap, these lines are enough: map:components map:generators default=file/ map:transformers default=xslt/ map:readers default=resource/

RE: problem vith sub_sitemap

2002-04-03 Thread Hahn Kurt (CHA)
I was going to write that, too. Since I don't know which components have to be defined (some should be automatically inherited, I think) and which can be omitted, I just edited the sitemap that comes with Cocoon. I think it's easier to strip parts away and see what happens once you get it

Re: Minimal Requirements

2002-04-03 Thread Peter Robins
On Tuesday 02 Apr 2002 2:23 pm, Vadim Gritsenko wrote: From: Peter Robins [mailto:[EMAIL PROTECTED]] Just tried this with 2.0.2: my docs etc plus core cocoon. However, it tries to generate the cocoon documentation and the scratchpad as well, which I don't want in my production

RE: problem vith sub_sitemap

2002-04-03 Thread Luca Morandini
Oliver, I think the rationale is that they're inherited but their categories (matcher, selector, ...) should be declared in the sub-sitemap as well. Best regards, - Luca Morandini GIS Consultant [EMAIL

RE: Urgent: Error in SunRise authentication logout Action

2002-04-03 Thread Carsten Ziegeler
Hi Chiths, first, could you please send plain emails and not html. Thanks. Could you give more information on what you are doing (relevant sitemap parts, logs, files etc)? I just tried the cocoon portal bundled with cocoon and logging out works fine without any exception. Carsten -Original

Re: problem vith sub_sitemap

2002-04-03 Thread Rodrigues Luc
Hi, Sorry for my poor english langage. ?xml version=1.0? map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; /map:pipelines ---^-Your error is here. type: map:pipelines at place. I hope that help you. Olivier GUCKERT wrote: Hello I have a problem with sub-sitemap.

Hosting

2002-04-03 Thread Jaroslaw Zabiello
I found that at http://xml.apache.org/cocoon/hosting.html you have a mistake. Link www.spilkalideriv.kiev.ua - Cocoon 1.8 seems to have nothing with free hosting of Cocoon. -- Jaroslaw Zabiello (ICQ: 6712522) http://www.pik-net.pl/~zbiru

multiple submit button on a form

2002-04-03 Thread Fiedler, Raul
Hi I have a HTML form with fields. In order to process the fields in 2 different ways I need 2 submit buttons. How can one assign different actions to the 2 buttons. Ultimately I want to have 2 pipelines. Can it be done with: HTML form input type=submit value=option1/ input type=submit

Re: multiple submit button on a form

2002-04-03 Thread Ivan Rubin
with HTML and JavaScript, you can specify which uri to post the form to for each button. (Changing the action attribute of the form and then submitting it.) form name=ff input type=submit onClick=javascript:somefunction()/ /form script language=javascript function somefunction() {

Re: multiple submit button on a form

2002-04-03 Thread Mario Brust
hi, you give the buttons some names and select for the names. in my option they can have the same with different values, but I'm not sure in this point. I'm sure you can't select for value - cocoon doesn't know what is value. cu Majo # Fiedler, Raul wrote: # # Hi # # I have a HTML form with

RE: multiple submit button on a form

2002-04-03 Thread Chris Newland
Hi Raul, The HTML input type submit supports the name attribute so you can just name your buttons differently: input type=submit value=option1 name=one/ input type=submit value=option2 name=two/ The button that was pressed will have the button text as its value so you can test in this way.

RE: multiple submit button on a form

2002-04-03 Thread Volker Schneider
Hi Raul, why don't you use the cocoon-action parameter with the submit-tag? I didn't use it in practise but the documentation says: form handler=create-dept.html ... submit name=Create Department/ ... /form The submit-tag is transformed into an HTML submit button with the name cocoon-action.

Re: problem vith sub_sitemap

2002-04-03 Thread Olivier GUCKERT
Rodrigues Luc a écrit : Hi, Sorry for my poor english langage. ?xml version=1.0? map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; /map:pipelines ---^-Your error is here. type: map:pipelines at place. I hope that help you. I thing my english langage is

RE: multiple submit button on a form

2002-04-03 Thread Torsten Curdt
this is possible since the latest release... please use the new cocoon-action syntax form input type=submit name=cocoon-action-add value=press here to add input type=submit name=cocoon-action-del value=press here to del /form then you need to define an action-set in the sitemap for that:

RE: multiple submit button on a form

2002-04-03 Thread Konstantin Piroumian
-Original Message- From: Torsten Curdt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 6:21 PM To: [EMAIL PROTECTED] Subject: RE: multiple submit button on a form this is possible since the latest release... please use the new cocoon-action syntax Seems that

RE: Minimal Requirements

2002-04-03 Thread Vadim Gritsenko
From: Peter Robins [mailto:[EMAIL PROTECTED]] On Tuesday 02 Apr 2002 2:23 pm, Vadim Gritsenko wrote: From: Peter Robins [mailto:[EMAIL PROTECTED]] Just tried this with 2.0.2: my docs etc plus core cocoon. However, it tries to generate the cocoon documentation and the

RE: multiple submit button on a form

2002-04-03 Thread Torsten Curdt
this is possible since the latest release... please use the new cocoon-action syntax Seems that nobody is aware of the new syntax. Is it documented somewhere? I don't remember if there were any notion in Announcement. I put it into the changes document as well as I fixed the documentation

RE: multiple submit button on a form

2002-04-03 Thread Konstantin Piroumian
From: Torsten Curdt [mailto:[EMAIL PROTECTED]] this is possible since the latest release... please use the new cocoon-action syntax Seems that nobody is aware of the new syntax. Is it documented somewhere? I don't remember if there were any notion in Announcement. I put it

[C2] Best palace for redirection in case of error

2002-04-03 Thread Artur Bialecki
Hello all, I'm in the process of migrating from C1.8 to C2 and I'm writing some actions to save form data. If saving this data generates exceptions I redirect to predefined (in form XSP) page based on type/id of the exception. My question is what is the proper way to do that redirection form

form-validation and utf-8

2002-04-03 Thread Montier Patrick
Hi, I can't resolve my problem : i try to make the form-validation works with utf-8 data, it only works with Iso- In my sitemap.xmap, i try the form-encoding as described in an email but it's still the same, when login or password input is in Utf-8 caracters, the form-validator reject.

esql and xsp:logic

2002-04-03 Thread sxk99c
Hi I have a problem with some logic. The problem is that I have some data stored in a mysql database and I would like to use this data in an XSP file. Eg: esql grab the data /esql xsp:logic start to use the data. /xsp:logic Am I correct that this is not possible because the xsp:logic

RE: esql and xsp:logic

2002-04-03 Thread Montier Patrick
hi, Your Mysql connexion (here Mybase) must be declared in the cocoon.xconf and web.xml. Here is an simple example : xsp:logic int idemp=0; /xsp:logic esql:connection esql:poolMybase/esql:pool bestof esql:execute-query esql:query SELECT * from mytable

Re: esql and xsp:logic

2002-04-03 Thread yuryx
Montier Patrick wrote: hi, Your Mysql connexion (here Mybase) must be declared in the cocoon.xconf and web.xml. Here is an simple example : xsp:logic int idemp=0; /xsp:logic esql:connection esql:poolMybase/esql:pool bestof esql:execute-query esql:query SELECT * from

RE: Why isn't Cocoon making into the commerical world?

2002-04-03 Thread Artur Bialecki
Cocoon is making into comertial world. My company uses it for all iterfaces to our sizable product (over 1000 XSPs). We started with 1.7.4 and moved to 1.8.1 and now I'm trying to move to 2.0.2 (I hope performance will be better). Where Coccon is lacking is documentation, documentation, and

Re: using MSQL's LAST_INSERT_ID() with DatabaseAddAction

2002-04-03 Thread Rolfe Jenny
Title: Re: using MSQL's LAST_INSERT_ID() with DatabaseAddAction I'm trying to do much the same thing as in the message beneath: please forgive me if I've posted this twice! auth-descriptor connectionxcpt/connection table name=page keys key param=pageid dbcol=pageid type=int mode=manual/

RE: Hosting

2002-04-03 Thread Vadim Gritsenko
Thanks. Fixed. Vadim From: Jaroslaw Zabiello [mailto:[EMAIL PROTECTED]] I found that at http://xml.apache.org/cocoon/hosting.html you have a mistake. Link www.spilkalideriv.kiev.ua - Cocoon 1.8 seems to have nothing with free hosting of Cocoon. -- Jaroslaw Zabiello (ICQ: 6712522)

RE: Livesites

2002-04-03 Thread Vadim Gritsenko
Please note that this site is already listed. Do you want to be listed twice? Vadim -Original Message- From: Montier Patrick [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 2:26 AM To: [EMAIL PROTECTED] Subject: Livesites The web site http://www.bethe1.com the

RE: Livesites

2002-04-03 Thread Vadim Gritsenko
Thanks, added. Vadim -Original Message- From: Wes Morgan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 2:48 PM To: [EMAIL PROTECTED] Subject: Livesites The Christian Classics Ethereal Library is now using Cocoon 2 to transform ThML (an XML application) documents into

Re: Minimal Requirements

2002-04-03 Thread Peter Robins
On Wednesday 03 Apr 2002 15:43, Vadim Gritsenko wrote: Also, although the cocoon jar is quite a bit smaller than the default, it's still not entirely clean. For example, I see hsqldb/Server.class in there, Server class is abstract Server, not the HSQLDB server. even though I'm not using

Livesites

2002-04-03 Thread Christoph Gaffga
Hi ! We like to run our site with cocoon 2. At the Moment we are using it for HTML-Generation, rendering dynamic SVG to PNG for banner-generation an for Price/Availabiliy-Tables, PDF for Print-Preview etc, and PS for dynamic generation of accomodation-catalogues for print. Our site is running on

RE: form-validation and utf-8

2002-04-03 Thread Vadim Gritsenko
From: Montier Patrick [mailto:[EMAIL PROTECTED]] Hi, Patrick, I can't resolve my problem : i try to make the form-validation works with utf-8 data, it only works with Iso- IIRC, form validator works on encoding of the servlet container. You have two options: 1. Patch form validator

RE: Why isn't Cocoon making into the commerical world?

2002-04-03 Thread giacomo
On Wed, 3 Apr 2002, Artur Bialecki wrote: Cocoon is making into comertial world. My company uses it for all iterfaces to our sizable product (over 1000 XSPs). We started with 1.7.4 and moved to 1.8.1 and now I'm trying to move to 2.0.2 (I hope performance will be better). Where Coccon is

RE: XSLT and international characters in parameters

2002-04-03 Thread Tomasz Bech
After deep searching I found that all information were on the mail list, but very distributed. I think that the subject 'International characters in Tomcat/Cocoon' would be good to describe in FAQ (is very common question). Maybe the content below can be good startup point. How to setup

RE: Livesites

2002-04-03 Thread Vadim Gritsenko
From: Christoph Gaffga [mailto:[EMAIL PROTECTED]] Hi ! We like to run our site with cocoon 2. At the Moment we are using it for HTML-Generation, rendering dynamic SVG to PNG for banner-generation an for Price/Availabiliy-Tables, PDF for Print-Preview etc, and PS for dynamic generation

Re: using MSQL's LAST_INSERT_ID() with DatabaseAddAction

2002-04-03 Thread Rolfe Jenny
Title: Re: using MSQL's LAST_INSERT_ID() with DatabaseAddAction I'm trying to do much the same thing as in the message beneath: auth-descriptor connectionxcpt/connection table name=page keys key param=pageid dbcol=pageid type=int mode=manual/ /keys values value param=pagetitle dbcol=title

forced reloading of descriptor.xml?

2002-04-03 Thread Jeremy Green
I'm using cocoon to generate some forms based on info stored in a db. I can also generate a descriptor.xml file for use with the FormValidator that works like a charm. The problem is that if the info in the db changes, the form is regenerated correctly, but the FormValidator uses the

Error compiling sitemap

2002-04-03 Thread Rajput, Ashish S
ENVIRONMENT: NT Server 4; JDK1.3.1; Tomcat4.0.1; Cocoon2.0 Tomcat installed fine, and I'm able to bring up the default homepage for Tomcat. I'm receiving an Error compiling sitemap error when I try to launch Cocoon in the web browser http://localhost:8080/cocoon/ Listed below is the error

Re: Error compiling sitemap

2002-04-03 Thread Eduardo Godoy
Copy batik-libs-1.1.1.jar to %TOMCAT_HOME%\lib Eduardo. - Original Message - From: Rajput, Ashish S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 4:33 PM Subject: Error compiling sitemap ENVIRONMENT: NT Server 4; JDK1.3.1; Tomcat4.0.1; Cocoon2.0 Tomcat

Urgent: Requirement - Ability to extract o/p from resources - SunShine developers - please peruse this and provide comments

2002-04-03 Thread Chitharanjan Das
Hello All, I have the following requirement I have created a set of pipelines (resources) that execute a set of logic and spit out XMLs (results) Now What I want is that somehow get hold of that XML as a String and do further manipulations like sending the result to

Re[2]: Cocoon 1.8.2

2002-04-03 Thread Russell Castagnaro
Aloha Matus, Weird it worked for me. However I switched to resin about two months ago. I DO remember problems with the 'param-value/cocoon.properties/param-value' Entry. I think I had to change it to 'WEB-INF/coocoon.properties' or something like that. You might also tru an absolute url

Followup: Urgent: Requirement - Ability to extract o/p from resources - SunShine developers - please peruse this and provide comments

2002-04-03 Thread Chitharanjan Das
The following XSP code snippet, does the required .. However, this is an implementation of the sunrise component. Which does not implement cocoon:/ (cocoon Relative URI) xsp:logic ResourceConnector resourceConnectorComponent = null; try {

RE: Error compiling sitemap

2002-04-03 Thread Chitharanjan Das
Copy batiks*.jar xmlapis.jar and xercer*.jar into TomCat's library from Cocoon/WEB-INF/lib directory And then restart Regds, Chiths -Original Message- From: Rajput, Ashish S [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 12:34 PM To: '[EMAIL PROTECTED]' Subject: Error

Urgent:Error in XSP Generation...

2002-04-03 Thread Chitharanjan Das
Hello, I am using cocoon 2.0.3 from CVS.. In XSP's , if I defined a function which o/p's data, it gives an error in compilation Variable xspAttr is not defined, because the XSP generator defines the variable only for the method public void generate() throws SAXException,

Help: XSL related Question - Able to process tokenized Strings from param

2002-04-03 Thread Chitharanjan Das
Purely an XSL related question.. Please find some time and help me out in this... I have a XML file , which is analogous to say a table containing parts information . Items Item id=1234 property1value1/property1 . /Item Item id=1235

XML Reader giving problems

2002-04-03 Thread Horst Rutter
Hi there, I have built the latest and greatest and suddenly get the following exception everytime a ServerPageGenerator gets used by a pipeline: org.apache.cocoon.ProcessingException: SAX2 driver class org.apache.xerces.parsers.SAXParser does not implement XMLReader:

RE: Urgent:Error in XSP Generation...

2002-04-03 Thread Vadim Gritsenko
From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] Hello, I am using cocoon 2.0.3 from CVS.. In XSP's , if I defined a function which o/p's data, it gives an error in compilation Variable xspAttr is not defined, because the XSP generator defines the variable only for the method

RE: XML Reader giving problems

2002-04-03 Thread Vadim Gritsenko
Have you followed latest and greatest install instructions? Vadim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 10:44 PM To: [EMAIL PROTECTED] Subject: XML Reader giving problems Hi there, I have built the latest and greatest and

RE: Urgent:Error in XSP Generation...

2002-04-03 Thread Chitharanjan Das
Hello Vadim, Thanks for the quick respose.. Shouldn't the XSP generator create the declaration for xspAttr for the functions generation code Or make xspAttr as a class member variable .. Having to define variables, which I will not be using in every function to ensure XSP gets

RE: Urgent:Error in XSP Generation...

2002-04-03 Thread Vadim Gritsenko
From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] Hello Vadim, Thanks for the quick respose.. Shouldn't the XSP generator create the declaration for xspAttr for the functions generation code Nope - how it will now? Or make xspAttr as a class member variable .. This is more

Build fail

2002-04-03 Thread [EMAIL PROTECTED]
Since yesterday unable to build from CVS Failto compile: Please_ compile: [copy] Copying 28 files to C:\xml-cocoon2\build\cocoon\classes [echo] Compiling with Java 1.3, debug on, optimize off, deprecation off [javac] Compiling 607 source files to

Re: XML Reader giving problems

2002-04-03 Thread Horst Rutter
Thanks for the hint. I am testing Cocoon 2.0.2 with JDK1.4 and Tomcat 4.0.3 I think the special install instructions for Tomcat 4.0.3 are problematic. I forgot to delete the 4 jars (xerces, xalan, xml-api, batik) from the Cocoon libs after rebuilding. (Stupid me!) However after following the

RE: XML Reader giving problems

2002-04-03 Thread Vadim Gritsenko
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Thanks for the hint. I am testing Cocoon 2.0.2 with JDK1.4 and Tomcat 4.0.3 I think the special install instructions for Tomcat 4.0.3 are problematic. I forgot to delete the 4 jars (xerces, xalan, xml-api, batik) from the Cocoon libs

S: XSP and map:parameter

2002-04-03 Thread Mathias Ochsendorf
Hello NG, I'm looking for a way to request in a XSP the value of a parameter defined in the sitemap: map:generate src=rc/xsp/request.xsp type=serverpages map:parameter name=dynamic_incude value={1}/ /map:generate Any hints ? Thx, Mathias -- Mathias Ochsendorf www:

RE: Help: XSL related Question - Able to process tokenized Strings from param

2002-04-03 Thread Luca Morandini
Chiths, you might find this useful: http://xml.apache.org/xalan-j/extensionslib.html#tokenize Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED]

Re: S: XSP and map:parameter

2002-04-03 Thread Bert Van Kets
Here's a snip from a page that does exactly what you want ?xml version=1.0 encoding=ISO-8859-1? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; data xsp:logic String myParam = ; !-- get the parameter from sitemap --

Re: XML Reader giving problems

2002-04-03 Thread Horst Rutter
Vadim, My extra class path in web.xml is setup correctly. Nevertheless I need the batik jar in both locations. -Horst - Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] Files/Apache Do you have correct extra classpath set up in the web.xml? Cocoon should pick batik from

Sorry to be a nag

2002-04-03 Thread Nader S. Henein
People sorry to be a nag and I have asked this one before and got nothing, but just to make sure .. has anyone out there developed an App as opposed to a webapp to create a search index using the lucene library on Cocoon 2.0.2 ? I tried and it's just giving me an ulcer. OS : Solaris 8

RE: Why isn't Cocoon making into the commercial world?

2002-04-03 Thread Fiedler, Raul
European Central Bank is using Cocoon for the front end of a big J2EE application. We run Cocoon right now inside BEA Weblogic (Just to let you know it is possible to do that). Next step for our company is to wait and see what the operational and maintainability benefits will be. However the

Re: S: XSP and map:parameter

2002-04-03 Thread Mathias Ochsendorf
Thanx Bert. Here's a snip from a page that does exactly what you want ?xml version=1.0 encoding=ISO-8859-1? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; data xsp:logic String myParam = ; !-- get the parameter from