Master-Detail form using Cocoon

2002-09-27 Thread Antonio Gallardo Rivera
Hi folks, Can someone provide an example of a lets said a invoice or something similar using Cocoon and database? Antonio Gallardo - Please check that your question has not already been answered in the FAQ before posting.

Re: JDK 1.3.1 is driving me MAD!

2002-09-27 Thread Roger Ting
Tried every thing i know. I downloaded the latest Tomcat and cocoon both built with jdk 1.4. Now Tomcat doesn't even run. cocoon just take up too much memory it keep throwing out of memory error. set catalina ops to 32 and 64 and it still doesn't work. does anyone know latest j-connector is buil

Error compiling sitemap_xmap / problems Installing cocoon-2.0.3 on fresh jwsdp1_0_01 and j2sdk1.4_0_01

2002-09-27 Thread Dario Liberman
Hello, I am having problems Installing cocoon-2.0.3 on top of a fresh jwsdp1_0_01 and j2sdk1.4_0_01 installation running on a winNT4.0 SP6a At the page the error shows: Cocoon 2 - Internal server error type fatal

Re: How to create db conn in action to use in esql or sql?

2002-09-27 Thread Vadim Gritsenko
Timothy Larson wrote: >I am interfacing to an established system >and cannot change the security model. > >It works like this: >1) Login as specific user with rights to public objects only >2) Run a report >3) Report does key exchange to prove its authenticity to the db >4) Database yields key to

displaying values in a browser from

2002-09-27 Thread Matt MacDougall
Hello, I'm having a problem getting the results of a Java function wrapped in tags to display on my page. All I would like to do is display the value of the variables prevurl and nexturl on the page. This code below is in an xsl file outside of the main template. I'm calling this template wit

RE: Serializig and LF: Problem

2002-09-27 Thread Luca Morandini
Jakob (is that your name ?), I meant the Cocoon's cache, not the browser's one. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html

Re: Serializig and LF: Problem

2002-09-27 Thread Skansen
It can't be the Cache because i used the Comandline. //Jakob - Original Message - From: "Luca Morandini" <[EMAIL PROTECTED]> To: "Cocoon-users" <[EMAIL PROTECTED]> Sent: Thursday, September 26, 2002 10:35 PM Subject: RE: Serializig and LF: Problem > Skansen, > > hold on a second... >

Re: AW: FOP In Latest Cocoon Releases

2002-09-27 Thread Barbara Post
May 0.20.4 be buggy ? I have this in my WEB-INF\lib, guess I got it from C... Babs -- website : www.babsfrance.fr.st ICQ : 135868405 - Original Message - From: "J.Pietschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 11:28 PM Subject: Re: AW: FOP In

Re: RE: Handler information not found

2002-09-27 Thread Markdelanoy
Last month this thread went on for a bit and then died out. I wondering if there was a fix to the solution, e.g. using the auth-protect action I've protected a set of pages. When the user is not logged in, the login page correctly shows up, and then the authentication resource is called. Aft

Re: JDK 1.3.1 is driving me MAD!

2002-09-27 Thread [EMAIL PROTECTED]
As Booby pointed out ... did you try and rebuild C 2.0.3 with the new JDK 1.4? I had to rebuild and it worked for me. If you don't have the old mysql jdbc driver, I can dig it up and send to your email directly. Conrad Original Message: - From: Roger Ting [EMAIL PROTECTED] Date

Re: JDK 1.3.1 is driving me MAD!

2002-09-27 Thread Roger Ting
yeah i agree.. i am using cocoon 2.0.3 built with jdk 1.3. So you are saying i can't use j-connector supplied by mysql? Is there any driver that i can use with cocoon built on jdk1.3? more specifically jdk1.3.1 This would help me a lot THX! >From: Bobby Mitchell <[EMAIL PROTECTED]> >Reply-To:

Re: JDK 1.3.1 is driving me MAD!

2002-09-27 Thread Bobby Mitchell
Roger Ting wrote: > > Have anyone got the prolem of using ESQL when using cocoon 2.0.3 and > Tomcat 4.0.4 and jdk 1.3.1 on unix solaris? i follow all the correct > instruction and cocoon just keep throwing me no suitable driver error. > > I have put in the j connector jar file into WEB-INF/lib d

RE: JDK 1.3.1 is driving me MAD!

2002-09-27 Thread [EMAIL PROTECTED]
Roger, Try moving the jdbc driver/connector to the Tomcat/lib directory. I had all kinds of database errors with Tomcat 4.0.4 and Cocoon 2.0.3 with jdk1.3.1_02 on a RH Linux 7.x box. I did a lot of moving of the driver around and mucked with the config files. Nothing scientific just a lot o

JDK 1.3.1 is driving me MAD!

2002-09-27 Thread Roger Ting
Have anyone got the prolem of using ESQL when using cocoon 2.0.3 and Tomcat 4.0.4 and jdk 1.3.1 on unix solaris? i follow all the correct instruction and cocoon just keep throwing me no suitable driver error. I have put in the j connector jar file into WEB-INF/lib directory. configure cocoon.xc

RE: Output xsl --- next trap

2002-09-27 Thread Luca Morandini
Jessica, three things: 1) could you please post the output of myfile.xml (in other words, the input of myfile.xsl) ? 2) could you tell me why the output is in Italian ? 3) could you use plain text for messages ? Best regards, - Luca

Re: AW: AW: FOP In Latest Cocoon Releases

2002-09-27 Thread J.Pietschmann
Skladovs, Victor wrote: > What would you suggest in this situation? > How could I improve the Cocoon work as pdf concerns? > Updating fop.jar doesn't help. First, get Xalan 2.4.0 and replace both the xalan.jar from FOP as well as the jar deployed with Cocoon. Check with the FOP command line appli

JDK 1.3.1 is driving me MAD!

2002-09-27 Thread Roger Ting
Have anyone got the prolem of using ESQL when using cocoon 2.0.3 and Tomcat 4.0.4 and jdk 1.3.1 on unix solaris? i follow all the correct instruction and cocoon just keep throwing me no suitable driver error. I have put in the j connector jar file into WEB-INF/lib directory. configure cocoon.xc

Re: Portal Exception in latest Cocoon 2.1?

2002-09-27 Thread Rob Johnston
Is there a known workaround or a PR open? thanks, rob On Thu, 26 Sep 2002, Kenneth J. Hughes wrote: > I saw the same thing here today. > > At 02:37 PM 9/26/2002 -0700, Rob Johnston <[EMAIL PROTECTED]> wrote: > >Hello, > > > >In the most recent Cocoon snapshot (today - 2002-09-26), I noticed a

Re: Source Writing Transformer: Adding namespaces

2002-09-27 Thread Vadim Gritsenko
Alex Romayev wrote: >I'm still struggling with this problem. Let me try to >state it more clearly: > >I would like to write XML to a file. My XML contain >namespaces. I declare the namespaces in the root >element, just the way I would like it to be in the >file and surround my XML with "source

Re: Plz help with this - error the requested uri /"cocoon-dev/xmldb" not found

2002-09-27 Thread [EMAIL PROTECTED]
I think that your URI is wrong. It should be something like xmldb:xindice:///db/mycollection/mydocument [EMAIL PROTECTED] wrote: >Hi there , I'm still in the dog house as I can't seem to figure out why >Cocoon 2 want serve up any X

Output xsl --- next trap

2002-09-27 Thread Jessica Niewint
HI it's me again. With this xml file I get the right chapters for the right sections and the right sections for the right document. Only that my output is something like this document section A section B chapter 1 chapter 2 chapter 3 I wanted to generate a document structure like this: document

Re: JDBC driver for MS SQL Server 2000 with blob support

2002-09-27 Thread bdhave.work
This is also a free JDBC driver but I don't know if blob are supported http://www.thinweb.com/products_twfreetds.html good luck Bernard Surlignage Tuomo Lesonen <[EMAIL PROTECTED]>: > On Fri, 27 Sep 2002, Peter Royal wrote: > > > On Friday, September 27, 2002, at 05:10 AM, Tuomo Lesonen wrot

Re: JDBC driver for MS SQL Server 2000 with blob support

2002-09-27 Thread Tuomo Lesonen
On Fri, 27 Sep 2002 [EMAIL PROTECTED] wrote: > This is also a free JDBC driver but I don't know if blob are supported > http://www.thinweb.com/products_twfreetds.html > > good luck > Bernard > Thanks, I'll try it out. Their website is propably experiencing some technical difficulties, download do

Re: How to create db conn in action to use in esql or sql?

2002-09-27 Thread Timothy Larson
I am interfacing to an established system and cannot change the security model. It works like this: 1) Login as specific user with rights to public objects only 2) Run a report 3) Report does key exchange to prove its authenticity to the db 4) Database yields key to upgraded security role 5) Repo

java.lang.IllegalArgumentException: interface TestClasses2.IScriptservice is not visible from class loader

2002-09-27 Thread Johannes Wechsler
Hi, I want to use a webservice to start a Phython script, but always get the following exception: java.lang.IllegalArgumentException: interface TestClasses2.IScriptservice is not visible from class loader (...) at TestClasses2.TestAction.notifyActionItem(TestAction.java:1301) The Interface "ISc

Re: JDBC driver for MS SQL Server 2000 with blob support

2002-09-27 Thread Tuomo Lesonen
On Fri, 27 Sep 2002, Peter Royal wrote: > On Friday, September 27, 2002, at 05:10 AM, Tuomo Lesonen wrote: > > I'm trying to use the database reader, but the JDBC driver from MS > > doens't > > support blob. We can't get one of the commercial (expensive) drivers at > > this point, and I already

Re: JDBC driver for MS SQL Server 2000 with blob support

2002-09-27 Thread Peter Royal
On Friday, September 27, 2002, at 05:10 AM, Tuomo Lesonen wrote: > I'm trying to use the database reader, but the JDBC driver from MS > doens't > support blob. We can't get one of the commercial (expensive) drivers at > this point, and I already tried FreeTDS which doesn't have this > either. I

Re: Source Writing Transformer: Adding namespaces

2002-09-27 Thread Alex Romayev
I'm still struggling with this problem. Let me try to state it more clearly: I would like to write XML to a file. My XML contain namespaces. I declare the namespaces in the root element, just the way I would like it to be in the file and surround my XML with "source:write" tag. However, Sourc

Re: problem with database connection

2002-09-27 Thread Olivier GUCKERT
[EMAIL PROTECTED] a écrit : > > Did you cut and paste the cocoon.xconf? It can't find the url, and the url tag is >durl instead of dburl. I think you said this worked in a previous version of cocoon, >and I don't know if the cocoon.roles has changed since then. Let me know if it's just >a si

Re: esql:parameter ?

2002-09-27 Thread Gabor Bartha
Ok it is working now, thanks Ugo yuryx wrote: > try > "create table "+ > tableName > > Ugo Cei wrote: > >> Gabor Bartha wrote: >> >>> Hi all, >>> >>> I want to use esql, but I've got problems with . It >>> seems the parameter haven't been replaced by its real value. >> >> >> >> You cannot have

Re: esql:parameter ?

2002-09-27 Thread yuryx
try "create table "+ tableName Ugo Cei wrote: > Gabor Bartha wrote: > >> Hi all, >> >> I want to use esql, but I've got problems with . It >> seems the parameter haven't been replaced by its real value. > > > You cannot have DDL statements with parametrized object names. At > least, not in Ora

Re: How to create db conn in action to use in esql or sql?

2002-09-27 Thread Vadim Gritsenko
Timothy Larson wrote: >Each session needs to be logged into the database with a >different username and password. > Do you think it's a good idea? >How can I do this using a database pool? > There is no way unless you know SQL command to do it. The hole purpose of a pool is to "connect once"

Re: How to create db conn in action to use in esql or sql?

2002-09-27 Thread Timothy Larson
Each session needs to be logged into the database with a different username and password. How can I do this using a database pool? Tim [EMAIL PROTECTED] 09/26/02 04:33PM >>> >Timothy Larson wrote: > >>I need to create a database connection, >Why not: >1. Get connection from the pool, >2. >>

Re: Plz help with this - error the requested uri /"cocoon-dev/xmldb"not found

2002-09-27 Thread Vadim Gritsenko
Chuck Amadi wrote: > Hi there , I'm still in the dog house as I can't seem to figure out > why Cocoon 2 want serve up any Xindice data. > > I have started Xindice & run Tomcat 4 > I get the Cocoon Welcome page > (http://172.**.*.**:/cocoon-dev/status and the others) .> > Except when I atte

Re: reload a page

2002-09-27 Thread Emmanuil Batsis (Manos)
Err, this is not a cocoon related question. Try or put this in your function init() { window.setTimeout("location.href='thisPage.html'",1000); } and Manos Gabor Bartha wrote: > Hi, > > A want a page to be reloaded automatically in determined secounds. > > In javascript: windo

Re: problem with database connection

2002-09-27 Thread JohnsBrn
Did you cut and paste the cocoon.xconf? It can't find the url, and the url tag is durl instead of dburl. I think you said this worked in a previous version of cocoon, and I don't know if the cocoon.roles has changed since then. Let me know if it's just a simple typeo before I try to load your c

reload a page

2002-09-27 Thread Gabor Bartha
Hi, A want a page to be reloaded automatically in determined secounds. In javascript: window.setTimeout('window.location.reload(false)', 1000 ) ; is there a solution for this purpose in xsp or xslt? Gabor - Please check tha

Re: esql:parameter ?

2002-09-27 Thread Ugo Cei
Gabor Bartha wrote: > Hi all, > > I want to use esql, but I've got problems with . It > seems the parameter haven't been replaced by its real value. You cannot have DDL statements with parametrized object names. At least, not in Oracle. Use string concatenation, if you must. Ugo > He

RE: How to filter the data according to the user input?

2002-09-27 Thread Luca Morandini
Funing, no problem, you just pass a parameter (named, say, "select-cat") to your stylesheet from the sitemap, and then use that parameter value to select a category; hence, your stylesheet may look like: To pass the "select-cat" request parameter to that stylesheet you may use "u

esql:parameter ?

2002-09-27 Thread Gabor Bartha
Hi all, I want to use esql, but I've got problems with . It seems the parameter haven't been replaced by its real value. Here is my xsp, with a java function: private String createTable() throws SQLException, org.xml.sax.SAXException { String tableName = "tmp123456"; //Create table

Re: How to filter the data according to the user input?

2002-09-27 Thread funing
Thank you. But, it is my fault not to state the question clearly, I need a dynamical generation.That is, which category to show is decided by user. It seems that I must use logic sheet, right? On Fri, 27 Sep 2002 11:23:37 +0200 "Luca Morandini" <[EMAIL PROTECTED]> wrote: > > I think a little

RE: How to filter the data according to the user input?

2002-09-27 Thread Luca Morandini
funing, I think a little XSLT could do the job, something along these lines: Wrap it into a stylesheet and put this stage into your pipeline, it will act as a filter. Best regards, P.S. I wrote this piece of code without testing it first... be aware !

Re: problem with database connection

2002-09-27 Thread Olivier GUCKERT
[EMAIL PROTECTED] a écrit : > > What component are you using? SQLTransformer? Database Action? Can you post the >relevant portions of cocoon.xconf/sitemap.xmap? here is my configuration : In web.xml : load-class org.gjt.mm.mysql.Driver in access.log :

JDBC driver for MS SQL Server 2000 with blob support

2002-09-27 Thread Tuomo Lesonen
I'm trying to use the database reader, but the JDBC driver from MS doens't support blob. We can't get one of the commercial (expensive) drivers at this point, and I already tried FreeTDS which doesn't have this either. I have to keep on using SQL Server 2000. :( Any links ? -Tuomo

Re: compile problem (cvs)

2002-09-27 Thread Michael Maluck
The problem did not exist in the cvs snapshots... something was maybe wrong in my local cvs tree... On Thu, 26 Sep 2002 09:18:36 +0200 Michael Maluck <[EMAIL PROTECTED]> wrote: > ./xml-cocoon2/build/cocoon/work/blocks-build.xml:25: >./xml-cocoon2/src/blocks/batik/java not found. > > cu > Micha

How to filter the data according to the user input?

2002-09-27 Thread funing
Hi! I have a xml contains such data: 14_84_1.jpg a nice pic 14_84_1.jpg 847_2.jpg a dog and a cat 847_2.jpg 14_84_1.bmp this is a bmp 14_84_1.jpg

Re: [Q] Deploing Cocoon on Tomcat

2002-09-27 Thread Ugo Cei
Ivan Luzyanin wrote: > Hi! > > Is there any way to deploy (redeploy) cocoon without restarting Tomcat? > I tried to use "deploytool", but unsuccessfull (100 "Class not found" errors > when accessing http:/localhost:8080/cocoon). Yes. If you are using Tomcat 4.1 it's quite simple, but I struggle

[Q] Deploing Cocoon on Tomcat

2002-09-27 Thread Ivan Luzyanin
Hi! Is there any way to deploy (redeploy) cocoon without restarting Tomcat? I tried to use "deploytool", but unsuccessfull (100 "Class not found" errors when accessing http:/localhost:8080/cocoon). Ivan. - Please check that yo

Re: how to ???

2002-09-27 Thread Jessica Niewint
Hey, you are great. Thanks (more than !) a lot. :-D I will try it out J. At 16.57 26/09/2002 -0400, you wrote: >I'll take a stab at it... > >You don't need java for looping over the rows, that is already done by the >esql logicsheet when you use . You can mix >and ESQL tags as neede