howto format user input and save to database by default database actions

2002-03-04 Thread marco
I am using the DatabaseAddAction to insert user input data into the database, but I cannot format the user input (e.g. uppercase) before saving data into the database or I cannot split one user input field data and save to serveral columns of a table. Please help! ---

my svg does not work in cocoon 2.0.1

2002-03-04 Thread marco
I was using cocoon 2.0.0, tomcat 4.0.1, jdk1.3.1_01 in Windows 98, the svg2png serializer works fine, but the svg graphics becomes blank after I upgraded the cocoon to 2.0.1. Please help! - Please check that your question has no

Re: xsp-request problem

2002-03-04 Thread Istvan Beszteri
Hi All, Thanks for the help! Istvan On Monday 04 March 2002 19:12, you wrote: > Hi Istvan, > > Your XSP is not valid. Any xsp:logic tag which comes before first > document tag goes to the XSP class definition, not to the XSP method > body. So your tag defines string member of the class "fruit" w

Re: HOWTO: jdk1.4

2002-03-04 Thread Joseph Rajkumar
Hi     Did you mean the Cocoon-2.0.1 which unfortunately does not have the recent excellent additions like Portals & Authentication. Have you tried the CVS HEAD version of Cocoon. Regards Joseph Rajkumar Matt Williams wrote: - Download Cocoon Binary and copy cocoon.war to $CATALINA_HOME/webapps

HOWTO: jdk1.4

2002-03-04 Thread Matt Williams
Title: Message Hi, Sorry I havent introduce myself, I will do so when im not so tired ;-)   Those wanting to use cocoon2 on windows with jdk1.4 do the following: - Download Tomcat Binary(LE) and "install" - Download Cocoon Binary and copy cocoon.war to $CATALINA_HOME/webapps - Launch Tomcat

RE: Internal server error

2002-03-04 Thread Vadim Gritsenko
You have to take a look into the Cocoon's log files. Information you provided is not enough. Regards, Vadim > -Original Message- > From: S.M. Siebinga [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 04, 2002 5:38 AM > To: [EMAIL PROTECTED] > Subject: Internal server error > > hi all, >

RE: xsp-request problem

2002-03-04 Thread Vadim Gritsenko
Thanks, This is fixed. See: http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/documentation/xdocs/us erdocs/xsp/request.xml?rev=1.3&content-type=text/vnd.viewcvs-markup Regards, Vadim > -Original Message- > From: Roger I Martin PhD [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 04, 200

RE: Urgent: Execution of pipeline at startup

2002-03-04 Thread Vadim Gritsenko
Your component can implement: - ThreadSafe - Runnable - Startable - Stoppable - Configurable - Parameterizable - ... Read "Developing with Avalon" on the jakarta.apache.org/Avalon for more info. See also comments in these interfaces. Then, you will have methods: - run() - start() - sto

RE: Urgent: Execution of pipeline at startup

2002-03-04 Thread Chitharanjan Das
Thank you for your quick response. After going thru the components information , sitemap basically consists of information regarding components and pipelines. I have designed a Component, which basically extends org.apache.avalon.framework.component.Component and as you specified it has I have e

RE: passing parameters to a template

2002-03-04 Thread Vadim Gritsenko
You may want to read http://xml.apache.org/cocoon/mail-lists.html, "Related Mailing Lists", and ask people on http://www.mulberrytech.com/xsl/ for help. PS Your question is not related to Cocoon, but to XSLT, right? Regards, Vadim > -Original Message- > From: DjiM [mailto:[EMAIL PROTECT

RE: Xinclude + cocoon pseudo protocol

2002-03-04 Thread Vadim Gritsenko
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Hi, > > I need to perform some inclusions into an XSL stylesheet using the cocoon > pseudo-protocol. > what i've tried to do is have two pipelines in my sitemap. > The main pipeline generates a XML file, which is transformed with an XSL >

Re: cocoon 1.8 and jre 1.4

2002-03-04 Thread Berin Loritsch
Marcel Stoer wrote: > hi all > > is it possible to run cocoon with jre 1.4? the cocoon version is the one > shipped with jbuilder 6 (comes with tomcat 4.0.1, too). on the index.html > claims to be version 1.8. > what steps do i have to take to configure my system? do i maybe have to > download/us

passing parameters to a template

2002-03-04 Thread DjiM
Okay, this is the problem: -I have a tree-like structured XML-document. Now I want my XSLT-stylesheet to pick that branch of the tree that has a certain URL in it (that URL is also given to the stylesheetas a parameter). So when I find the URL somewhere in the XML-file, I want to revisit the pare

cocoon 1.8 and jre 1.4

2002-03-04 Thread Marcel Stoer
hi all is it possible to run cocoon with jre 1.4? the cocoon version is the one shipped with jbuilder 6 (comes with tomcat 4.0.1, too). on the index.html claims to be version 1.8. what steps do i have to take to configure my system? do i maybe have to download/use the most recent binaries availab

Re: sub site...

2002-03-04 Thread Eduardo Godoy
bug found ... > Hi, > I need to add my cocoon project to main sitemap, I used to do using > > pattern !!! - Please check that your question has not already been answered in the

Xinclude + cocoon pseudo protocol

2002-03-04 Thread doan-tin . le
Hi, I need to perform some inclusions into an XSL stylesheet using the cocoon pseudo-protocol. what i've tried to do is have two pipelines in my sitemap. The main pipeline generates a XML file, which is transformed with an XSL stylesheet, then serialized into XML. In the stylesheet, i'm trying to

RE: sub site...

2002-03-04 Thread Luca Morandini
Eduardo, you could look under the tomcat work directory ($TOMCAT_HOME\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www) to find the sitemap_xmap.java source file and see what happens at line 3323. Anyway, you have close the element, haven't you ? Best regards,

sub site...

2002-03-04 Thread Eduardo Godoy
Hi,     I need to add my cocoon project to main sitemap, I used to do using map:match>   but I get this error message when I open my browser at http://localhost:809

[HELP] Cocoon 2.0/Oracle DB Connection: Excalibur could not create any connections.

2002-03-04 Thread CHERVIRALA Srinivas / FTR&D / US
Title: [HELP] Cocoon 2.0/Oracle DB Connection: Excalibur could not create any connections. I am unable to connect to Oracle Database from a xsp file. I made necessary changes in web.xml and cocoon.xconf. I also kept classes12.jar in appropriate directory. My log file says "Excalibur could

action problem

2002-03-04 Thread Niket Anand
Hi all, I am facing a cheap problem in executing an action class on click of a button. I have using simple map:act set as     ##             #

Re: Correction: [SOLUTION] Cocoon with the Tomcat 4.0.3

2002-03-04 Thread Diana Shannon
On Sunday, March 3, 2002, at 10:37 PM, Vadim Gritsenko wrote: >> From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] >> >> From: "Bud Gibson" <[EMAIL PROTECTED]> >> >>> I will note that I got some hangs. In those places, if I hit the > stop >>> button and and then resubmitted the url, that work

write generated pdf to file

2002-03-04 Thread kyle koss
Hello:   I am using cocoon to dynamically generate pdf’s using XML and an XSL-FO. What I would like to know is, is there any way to tell cocoon to also save the generated pdf to a file as well? Or, if it does already, where does it save them? In my sitemap, I have:  

Real world experiences with Cocoon2

2002-03-04 Thread Steven Sedlmeyer
Hello all, We're in the process of evaluating CMS/site publishing platforms for a reasonablly large content website and would like to consider using Cocoon2. We've done some experimentation with the platform but we are unable to complete a large scale test in the time frame we need. So, has anyo

How to Use the Data Source Component?

2002-03-04 Thread giuseppe . devincenzi
Hi All! I'm developing a little application for Oracle8-Cocoon2 my system PC1 win2000,Tomcat4,jdk1.3 end data souce is in PC2 cocon.xconf jdbc:oracle:thin:@2000server.asa.ned.dmroma.it:1521:oras de gi ***How to Use the Data Source Component?

RE: Sitemap question

2002-03-04 Thread Vadim Gritsenko
> From: Luca Morandini [mailto:[EMAIL PROTECTED]] > > Stephan, > > excuse me but I don't follow you: if I put check-reload equal to > "yes" in a sub-sitemap mount, is the whole sitemap recompiled > every time a sub-sitemap is changed ? No. Main sitemap is recompiled only when its file chang

Re: Sitemap question

2002-03-04 Thread Olivier Rossel
Luca Morandini wrote: > Stephan, > > excuse me but I don't follow you: if I put check-reload equal to > "yes" in a sub-sitemap mount, is the whole sitemap recompiled > every time a sub-sitemap is changed ? > you can set this attribute only - in cocoon.xconf, inside the declaration tag of the

RE: xsp-request problem

2002-03-04 Thread Vadim Gritsenko
Hi Istvan, Your XSP is not valid. Any xsp:logic tag which comes before first document tag goes to the XSP class definition, not to the XSP method body. So your tag defines string member of the class "fruit" with initializer. Initializer you specified requires request object. At the time of instan

RE: Sitemap question

2002-03-04 Thread Luca Morandini
Stephan, excuse me but I don't follow you: if I put check-reload equal to "yes" in a sub-sitemap mount, is the whole sitemap recompiled every time a sub-sitemap is changed ? Bet regards, - Luca Morandini GI

Re: Merging Cocoon2 and a webapp, same context

2002-03-04 Thread Olivier Rossel
Florent =?iso-8859-1?Q?Soulière?= wrote: > Hi folks! > > I seeked in the mailing-list archive, but I did not found how to make > cocoon and a webapp using servlets share the same session context. > I am using Tomcat 4.0.1 and Cocoon 2.0.1. Everything used to work well > till I started to try th

Re: xsp-request problem

2002-03-04 Thread Roger I Martin PhD
Thank you! http://xml.apache.org/cocoon/userdocs/xsp/request.html shows name without the xsp-request: but of course it needs to be there! Otherwise name is a very lonely element. Thanks you very much! Roger - Original Message - From: "Vadim Gritsenko" <[EMAIL PROTECTED]> To: <[EMAIL PR

Merging Cocoon2 and a webapp, same context

2002-03-04 Thread Florent Soulière
Hi folks! I seeked in the mailing-list archive, but I did not found how to make cocoon and a webapp using servlets share the same session context. I am using Tomcat 4.0.1 and Cocoon 2.0.1. Everything used to work well till I started to try the merge. Now the detailed situation: For the try, I

Local characters in request params

2002-03-04 Thread KOZLOV Roman
Hi all, Could you, please, help me? Is it possible to perform a request via Cocoon 2.01 using xmldb protocol if xpath contains "local" characters, for example 'é' (or %E9 or é). It seems that such characters are translated to escaped codes (like é) and dbXML (I use dbXML 1.0b4 "Mustar

Re: embedded fonts are invisible

2002-03-04 Thread Nicola Ken Barozzi
From: kyle koss ... > The text that uses the embedded font is invisible ... > We are running Cocoon 2 on Apache Tomcat 4.0.1. ... > Cocoon is using fop 0.20.3 ... Maybe there are some issues with this for fop 0.20.3 . See this fresh post on the fop-user list ("dissapearing fonts"): http://m

RE: xsp-request problem

2002-03-04 Thread Vadim Gritsenko
> From: Roger I Martin PhD [mailto:[EMAIL PROTECTED]] > > Hello, I'm using cvs( March 02, 2002) and having success with: > > > String fruit = name="fruit">; > > > generated java code is: > String fruit = > ((XSPRequestHelper.getParameter(objectModel, "fru

RE: Sitemap question

2002-03-04 Thread Stephan Michels
On Mon, 4 Mar 2002, Luca Morandini wrote: > Stephan, > > won't it be better to limit this behaviour to sub-sitemaps only ? > > It will cause a recompilation of the sitemap, which is usually the most > complex sitemap in a server... better mount sub-sitemap, don't you agree ? > This feature can

Re: xsp-request problem

2002-03-04 Thread Roger I Martin PhD
Hello, I'm using cvs( March 02, 2002) and having success with: String fruit = ; generated java code is: String fruit = ((XSPRequestHelper.getParameter(objectModel, "fruit", null, null, null))); but when I try to

Servlet generator problems with Cocoon 2.01 and Jetty 4

2002-03-04 Thread Spectron International, Inc.
I have a site running Cocoon-2rc1 and Jetty 3, the site is running ok. I have another server and I installed the latest versions (Cocoon 2.01, Jetty 4.0) and the site also runs (demos) . The problem is that I had made some ServletGenerator and these generators run ok on the old version, but after

embedded fonts are invisible

2002-03-04 Thread kyle koss
Hello all:   Okay, here’s my problem. After a lot of experimenting, reading the mail archives, and trying different things, I was finally able to embed fonts into my pdf. But, after the initial joy of my success wore off, I discovered a new problem. The text that uses the embedded font is

RE: Sitemap question

2002-03-04 Thread Luca Morandini
Stephan, won't it be better to limit this behaviour to sub-sitemaps only ? It will cause a recompilation of the sitemap, which is usually the most complex sitemap in a server... better mount sub-sitemap, don't you agree ? Best regards, -

RE: Sitemap question

2002-03-04 Thread Luca Morandini
Stefano, just mount a sub-sitemap for your app and make you editings on that (of course, check-reload should be "yes"). By doung so you won't need to re-start Tomcat, the sub-sitemap is recompiled whenever it is changed, while the "main" sitemap and cocoon.xconf need the restarting of Tomcat for

Re: Sitemap question

2002-03-04 Thread Stephan Michels
On Mon, 4 Mar 2002, Stefano Bonnin wrote: > It seems that the sitemap it wasn't recompiled. Why? > How can I do for recompile the sitemap. I always restart tomcat! Is this a > wrong way? > > Excuse me for this stupid questions but ... I'am a new cocoon2 user. cocoon.xconf:

Re: Sitemap question

2002-03-04 Thread Stefano Bonnin
It seems that the sitemap it wasn't recompiled. Why? How can I do for recompile the sitemap. I always restart tomcat! Is this a wrong way? Excuse me for this stupid questions but ... I'am a new cocoon2 user. Thanks, thanks. - Original Message - From: "Stephan Michels" <[EMAIL PROTECTED

Re: Sitemap question

2002-03-04 Thread Stephan Michels
On Mon, 4 Mar 2002, Stefano Bonnin wrote: > ok, now I have taken the original sitemap file given with Cocoon, > I have substituted the original map:pipeline with this: > > > > > > > > > > > > I have restarted tomcat and > > the same "error" is re

Re: Sitemap question

2002-03-04 Thread Bertrand Delacretaz
On Monday 04 March 2002 16:26, Stefano Bonnin wrote: > >     >         >     > >     >         >         MISSING HERE: > most probably the sitemap wasn't recompiled due to this error in the sitemap file (you could see the error messages in the WEB-INF/logs subdirectory of the Cocoon

Re: Sitemap question

2002-03-04 Thread Stefano Bonnin
ok, now I have taken the original sitemap file given with Cocoon, I have substituted the original map:pipeline with this: I have restarted tomcat and the same "error" is returned: * Apache Tomcat/4.0.1 - HTTP Status 404 - Not Found -

Re: Sitemap question

2002-03-04 Thread Olivier Rossel
Stefano Bonnin wrote: >ok > >How can I define a very simple pipeline that gets the initial URI and >present a simple HTML file? > you must understand that sitemap.xconf is the only relation between your URL and the files on your disk. There is no direct mapping such as in Apache or usual web ser

Re: Sitemap question

2002-03-04 Thread Bertrand Delacretaz
On Monday 04 March 2002 15:55, Stefano Bonnin wrote: > How can I define a very simple pipeline that gets the initial URI and > present a simple HTML file? . . . > > > > > That's only the beginning, it will redirect the / URL to myApplication/myfile.html. Then, t

Re: Sitemap question

2002-03-04 Thread Stefano Bonnin
ok How can I define a very simple pipeline that gets the initial URI and present a simple HTML file? For example: in the cocoon directory I define the following subdirectory: myApplication and I put into this directory the following html file: myfile.html Now, I want that co

RE: xsp-request problem

2002-03-04 Thread Michael Homeijer
Hi, Have a look at the generated java code in the work directory of your servlet engine. I am sure it will give you a clue about how XSP works in Cocoon. ;-) Michael > -Original Message- > From: Istvan Beszteri [mailto:[EMAIL PROTECTED]] > Sent: maandag 4 maart 2002 16:35 > To: [EMAIL P

RE: Sitemap question

2002-03-04 Thread Luca Morandini
Stefano, Cocoon provides a lot of error messges, look at cocoon.log.xx, or components.log.xx, or root.log.xx (xx being 01, 02, ...) under /WEB-INF/logs. Best regards, - Luca Morandini GIS Consultan

Re: Sitemap question

2002-03-04 Thread Olivier Rossel
Stefano Bonnin wrote: >Hi, I have a simple question about cocoon 2 sitemap: > >I defined a simple pipeline for my personal application. > >When I try to run the web application Tomcat return me the following error: > > >** >Apache Tomcat/4.0.1 - HTTP Status 404 - Not Found > >

Sitemap question

2002-03-04 Thread Stefano Bonnin
Hi, I have a simple question about cocoon 2 sitemap: I defined a simple pipeline for my personal application. When I try to run the web application Tomcat return me the following error: ** Apache Tomcat/4.0.1 - HTTP Status 404 - Not Found --

RE: How does the link following system works in offline mode?

2002-03-04 Thread Vadim Gritsenko
Here is hint: It uses "views": http://xml.apache.org/cocoon/userdocs/concepts/views.html, and search engine shipped with Cocoon also uses views. Try: http://localhost:8080/cocoon/welcome?cocoon-view=links Vadim > -Original Message- > From: Artur Matos [mailto:[EMAIL PROTECTED]] > Sent:

[C1] Problem with turbine pooling: ignored MaxConnections

2002-03-04 Thread Alessandro Marcellini
Hi all, I'm using Cocoon 1.8.2 on a RedHat Linux with tomcat 3.2.3 and apache 1.3.20 I've got this problem using connection pooling: It seems that the parameter maxConnections is ignored, and that the maxConnections is fixed to 10 someone know if it is a bug of the turbine-pool.jar or a misconfigu

xsp-request problem

2002-03-04 Thread Istvan Beszteri
Hi All, I just started to learn XSP and I tried some examples. I have found a strange problem with xsp-request. The following xsp works properly: http://apache.org/xsp"; xmlns:xsp-request="http://apache.org/xsp/request/2.0"; > String fruit = "apple"; The str

Problems with DatabaseXXXActions

2002-03-04 Thread Derek Hohls
C2.0 / TC 4.01 / Win2000 I am having problems getting a database form to work; the call to form_chemicals.xsp causes the error.xml page to be displayed. I have set my log level to WARN but cannot see anything in the log reports as to where the problem might be? In the sub-sitemap (in a dir call

RE: Design question with DB

2002-03-04 Thread Luca Morandini
Vittorio, have you considered Stored Procedures (provided ypur DBMS supports them) ? This is the most flexible way to deal with a databsse task, and you can cope easily with errors within a Stored Procedure. in my eyes, you should use SQL Transformer and build a series of SP-call using a styles

Design question with DB

2002-03-04 Thread Rigamonti Vittorio
Hi All! Can anyone help me with this problem? I'm developing a little piece of a B2B application that deal with DB updating. This is what I want to do: My input is an XML document like this: field1field2field3field4 aaabbbcccddd 1234 With this input file I want

RE: [HELP] Cocoon 2.0 - Oracle DB connection problems...

2002-03-04 Thread Alan Tibbetts
Title: Message Is it valid to just rename the zip files to jar files?  Check your logs to see that the classes12.zip(/jar) is actually deployed.   I unpacked the zip files and created a jar file using the jar utility before deploying in WEB-INF/lib.  Everything works fine; I am using Win2K

Re: [STATUS] Cocoon Roadmap

2002-03-04 Thread Sylvain Wallez
Derek Hohls wrote: >Hi > >You said: > >To make things easier for those who want to write with our document >DTD, >I've written a CSS2 stylesheet for it. I tested it with the XMLmind XML >editor (aka XXE, see http://www.xmlmind.com/xmleditor/) : it's a cool >open-source CSS2 enabled XML editor w

Re: use DefaultConfiguration class (avalon API)

2002-03-04 Thread yuryx
Thanx Vadim! It work! :) Regards. Yury. - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]> For ad

Internal server error

2002-03-04 Thread S.M. Siebinga
hi all, I am using the latest cvs-source of cocoon2. When I compile it on my machine (SuSE 7.3, tomcat 4.0.1 and j2sdk1.4.0-rc) everything works fine. But when I restart tomcat I get the following internal server error == type fatal message markup-languages: ComponentSelector could not acce

Re: Cocoon and Jetty

2002-03-04 Thread Jozsa Kristof
Hi, let meg add my 2c.. I'm developing on Cocoon 2.0.1 dropped in JBoss3 beta cvs snapshots, which uses Jetty as its webserver. It's about 30 sec getting Cocoon work on that config: - drop xerces, xalan, xml-apis and jstyle jars into jboss3/lib - add this into run.sh of jboss3: # Cocoon stuff

Re: image internationalization

2002-03-04 Thread KOZLOV Roman
Try {../2} instead of {2} because you have to refer to a sitemap of a pattern and not to a sitemap of an action. Best regards. Niket Anand wrote: > Hi All,I want to configure pipeline such that in case of any locale > language it will find the image from corresponding language mapped > imag

Error Building Cocoon

2002-03-04 Thread Cédric Damioli
Hi, I got a strange error building cocoon with jdk1.4/linux compile: Compiling with Java 1.4, debug on, optimize off, deprecation off Compiling 423 source files to /home/www/xml/xml-cocoon2/build/cocoon/classes /home/www/xml/xml-cocoon2/tools/bin/ant: line 107: 4378 Killed $JA

image internationalization

2002-03-04 Thread Niket Anand
Hi All, I want to configure pipeline such that in case of any locale language it will find the image from corresponding language mapped image folder. eg, If locale lang is en then it should find image from images_en folder. But I am not able to assign {2} value in pipeline(it should be the n

Re: XML updating as well as publishing

2002-03-04 Thread Derek Hohls
Robert Thanks for the detailed reply - and link to Stafano's comments. Limits - are really more short term things - lack of documentation - particularly well-commented and worked-through examples.The whole 'live editing' and content/user management framework side of things - which seem they

Re: Convert RTF to XSL:FO

2002-03-04 Thread Bartomeu Adrover
See this URL: http://www.novosoft-us.com/ns2b.nsf/w1/RTF2FO http://www-106.ibm.com/developerworks/xml/library/x-tiprtf/ Matthew Langham wrote: > Looking for some suggestions on how to convert RTF documents into XSL:FO for > further processing into PDF. Yes I know there are several tools > "avial