XMLDB Proptocol in cocoon2.0.4

2002-12-11 Thread Shruti Ahuja, Noida
Hi,   I am setting up an application which reads from an XMLdatabase using the XMLDB API's on cocoon 2.0.4 . This was running fine on coccon 2.0.3. The problem i am having is when an XMLResource is being read from the XML database. It throws an XMLDB API exception with the reason being coul

Cocoon's cache problems?

2002-12-11 Thread Maxime.Gheysen
Hello, I changed a page a saw that the modification hasn't been done. So I made a backup of my documents and delete them. I restarted tomcat and cocoon, and all the pages are stil displayed! Even if I press Ctrl-F5 in IE6 or F5 in opera! How can it be? The document directory is empty! Thank you fo

Re: orphans and widows within XSL-FO and Cocoon

2002-12-11 Thread Eddy De Clercq
Hi, Thanks for the answer. Since there is no release date for implementing this, are there alternatives for FOP which handle widow/orphans already? Greetz Eddy De Clercq - Original Message - From: "J.Pietschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2

Converting & to & in HTML output...

2002-12-11 Thread Derek Hohls
I would appreciate some help with the following problem. The input of this XML fragment (partially auto-generated from an xsp:request): To this stylesheet fragment: http:///www.adobe.com/svg/viewer/install/"; type="image/svg-xml" width="500" height="300" name="SCVEmbed"

How can i have both upload and saving to Xindice on click of a button?

2002-12-11 Thread Sreenivasan N.
Hi all I am planning to design a user interface where the user upload documents say pdf, word, excel. I will also capture some information like author name, description entered by the user which then get saved in Xindice. I want to do the upload and the save on click of a button. Any idea to do

XMLForm Howto tips'n tricks

2002-12-11 Thread lpr
That was quite an effort to make the xmlform examples run. A problem was the xmlform-id in sitemap.xmap that is referred as id in the xf:form tag in the input file. The sitemap example in Step 5 of the howto is a bit strange, there are different versions of the same part> If you use different xmlf

xmlform: accessing requestparameter in an xml form representation

2002-12-11 Thread Kirchhoff, Lars
hi, I created a table output of some data, but as this can be a very long list I would like to split this in different screens and therefore thought I can use the XPath options. what I did is the following: Customer Name Address

Re: cocoon out of memory error

2002-12-11 Thread Paul Lee
My immediate reaction is to check the memory heap size of Jetty or Tomcat. I think Java defaults to a maximum of 64MB per process unless otherwise specified. With memory hungry operations like XSLT, 64MB really is not enough, and I have had the "out of memory error" because of that. Hope this he

cocoon out of memory error

2002-12-11 Thread Sushil Bhattarai
I've been using Cocoon 2.0.2 in Tomcat 4.03 and also in Jetty. In both instances, I frequently get out of memory error. I've tried few tuning measures like turning off debugging but still I get this error, especially when it comes to calls that make database connection(hsql). How is everyong e

Re: Problems with

2002-12-11 Thread J.Pietschmann
Jessica Niewint wrote: The variable $sectioncontent contains a path to an image (Like: http://www.myserver.com/xyz.jpg) . If you point a browser to this address, do you see the image? Image here Apart from the problems mentioned elsewhere, content-height and content-width are not implemented. I

Re: orphans and widows within XSL-FO and Cocoon

2002-12-11 Thread J.Pietschmann
Eddy De Clercq wrote: I'm testing Cocoon for creating PDF with XSL-FO in order to investigate the orphan and widow control and till now I can't manage to achieve this. Its not implemented yet. The issue is adressed in a redesigned version, with no target date yet. I've tried both keep-with-next

RE: Cocoon 2.1 (was RE: Question about handling of components)

2002-12-11 Thread Antonio Gallardo
Geoff Howard dijo: > > >> -Original Message- >> From: Fabricio Chalub [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, December 11, 2002 2:02 PM >> To: '[EMAIL PROTECTED]' >> Subject: Cocoon 2.1 (was RE: Question about handling of components) > > >> Regarding 2.1, I may be wrong, but my impr

Re: problem with the sitemap and patterns

2002-12-11 Thread Antonio Gallardo
Mirco Pallotta - Sebi dijo: > Is there a way to specify a GENERAL pattern? > I know, the wildcards exists for this reason, but if I write in my > sitemap: > > Try: This will work. Antonio Gallardo > > and the user write something like: > http://localhost:8080/cocoon/mysite/dir1/dir2/file1.html

Re: problem with the sitemap and patterns

2002-12-11 Thread Timothy Larson
Try Notice the two asterisks. Tim >>> [EMAIL PROTECTED] 12/11/02 12:44PM >>> Is there a way to specify a GENERAL pattern? I know, the wildcards exists for this reason, but if I write in my sitemap: and the user write something like: http://localhost:8080/cocoon/mysite/dir1/dir2/file1.html th

problem with the sitemap and patterns

2002-12-11 Thread Mirco Pallotta - Sebi
Is there a way to specify a GENERAL pattern?I know, the wildcards exists for this reason, but if I write in my sitemap: and the user write something like:http://localhost:8080/cocoon/mysite/dir1/dir2/file1.htmlthen my pattern doesn't match Furthermore, if the user writes:http://localhost:808

Link Livesites: http://www.informacja.zakopane.pl

2002-12-11 Thread Pawel Bafia
This site is in Polsish. It's an example to my M.A Thesis which I wrote about XML and Apache Cocoon, at AGH University (leading in high technologies in my country). The site is being used by Turist Information in Tatra Mountains. Content is reguraly updatet by workers of this information. URL: h

Re: Unit Test Cocoon

2002-12-11 Thread Charlene Mitchell
Hi, Could you possibly send me some code snippets to get me started? I'm looking for the Excalibur test components but haven't found them yet. :-( Still lokking mind! Charlene --- Kevin O'Neill <[EMAIL PROTECTED]> wrote: > On Tue, 2002-12-10 at 19:40, Charlene Mitchell > wrote: > > Hi, > > >

RE: Cocoon 2.1 (was RE: Question about handling of components)

2002-12-11 Thread Geoff Howard
> -Original Message- > From: Fabricio Chalub [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 11, 2002 2:02 PM > To: '[EMAIL PROTECTED]' > Subject: Cocoon 2.1 (was RE: Question about handling of components) > Regarding 2.1, I may be wrong, but my impression is that there > hasn't

Re: Problems with

2002-12-11 Thread Joerg Heinicke
Hello Jessica, can you view the resulting XSL FO code (serializing it with XML serializer)? Does it contain the ? Furthermore you have a XSLT error: This should create a src attribute containing the *value* "$sectioncontent". If you want to replace it with the content of $sectioncontent, ch

Passing parameters from a form to a xmlform bean

2002-12-11 Thread jtbamcai
Hi, I'm trying to pass parameters from a form to a xmlform bean. In that way, I could show this parameter's value in the xmlform, calling the get value of the bean. So, how can I do the request.getParameter from the bean or from the wizard? Thanks, Iker.

Re: Cocoon 2.1 (was RE: Question about handling of components)

2002-12-11 Thread Antonio Gallardo
Fabricio Chalub dijo: >> >> If you are using the 2.1 version there are some samples. Also you can >> check wiki: >> >> http://outerthought.net/wiki/Wiki.jsp?page=DatabaseActions >> > > No, I'm using 2.0.4. You can use the the Original Dabatase Actions. > > Regarding this very issue, it seems that m

NullPointerException in XSPUtil.relativeFilename()

2002-12-11 Thread Matthias Brunner
Hello, I have an XSP in which I use the following: XSPUtil.relativeFilename("myfile.xml", this.objectModel) The first time when this is called I get an NPE, subsequent calls work. (at Line 141 in XSPUtil.java, I guess that this.objectModel is null the first time) What am I doing wrong? SW: Co

Cocoon 2.1 (was RE: Question about handling of components)

2002-12-11 Thread Fabricio Chalub
> > If you are using the 2.1 version there are some samples. Also you can > check wiki: > > http://outerthought.net/wiki/Wiki.jsp?page=DatabaseActions > No, I'm using 2.0.4. Regarding this very issue, it seems that many useful features (these modules, 'expires', etc.) are present only on 2.1.

RE: Question about handling of components

2002-12-11 Thread Antonio Gallardo
If you are using the 2.1 version there are some samples. Also you can check wiki: http://outerthought.net/wiki/Wiki.jsp?page=DatabaseActions I hope it can help you. Antonio Gallardo. Fabricio Chalub dijo: >> >> Its fine, but why reinvent the wheel? >> >> I think you can use the Modular DB actio

RE: Question about handling of components

2002-12-11 Thread Fabricio Chalub
> > Its fine, but why reinvent the wheel? > > I think you can use the Modular DB actions that offers you a > good approach > with DB in Cocoon. Also you can concentrate on your > application, rather > than in this problems. ;-) > Yes, I can see ... database modules were recently added to Coco

Re: Question about handling of components

2002-12-11 Thread Antonio Gallardo
Its fine, but why reinvent the wheel? I think you can use the Modular DB actions that offers you a good approach with DB in Cocoon. Also you can concentrate on your application, rather than in this problems. ;-) Antonio Gallardo. Fabricio Chalub dijo: > Hi, > > I'm trying something here and I wo

RE: Calling resources from mounted sitemaps

2002-12-11 Thread Bordet, Simone
Hi, > Did you try the cocoon pseudo-protocol? resource="cocoon://stdout"> for the root sitemap, > cocoon:/stdout for one in the same sitemap. Tried, no luck. I've tried also to setup a local resource that calls the resource in the root sitemap, again no luck. It seems to me that resources re

Cocoon + Squid

2002-12-11 Thread Fabricio Chalub
Hi, Does anybody here using Cocoon+Squid have any hints on the best configuration for this combination? Since (as far as I know) Cocoon 2.0.x doesn't have any way of helping proxy caches (like Last-Modified, for instance) and the "expires" parameter of the pipeline is only functional on the 2.

Cocoon 2.0.4 problem

2002-12-11 Thread Alex McLintock
Hi folks, I'm trying to upgrade my dev box from a six month old Cocoon to the latest release 2.0.4 I've built cocoon.war from source, moved away my old cocoon dir, and restarted tomcat and wiped the work dir too. I'm getting this error when trying to fetch the Cocoon homepage. Any suggestions

Re: Problems with

2002-12-11 Thread Johannes . Becker
Hi, have you tried for example the path on your harddisc: . I had the same problems, and this was the only way it worked. Jonny This electronic message contains information from the mmo2 plc Gr

RE: Blank screen on error

2002-12-11 Thread Steven Cummings
Yes, I'm sure. I've had this happen where no action was involved and sometimes no XSP at all. I'll try to make a list of cases that I can reproduce, but that seems to be the difficult thing. When the error occurs, I usually have trouble singling out the characteristics of the pipeline or sitema

Problems with

2002-12-11 Thread Jessica Niewint
Hi, for me it seems to be impossible to generate a PDF with graphics. I use (cocoon 2.0.3 with java 1.4) ... The data come from a database (via xsp). The variable $sectioncontent contains a path to an image (Like: http://www.myserver.com/xyz.jpg) . In the tag I use this var to define the src

Re: Problem with Character Encoding in Cocoon 2 / Postgres

2002-12-11 Thread Yves Vindevogel
Hi All, My problem is solved thanks to your help (all of you) Therefore, I'd like to post what I did because I had some mails from people from Italy and Zwitserland with the same problem. This is kind of my help towards them. I changed my sitemap:

RE: Add/Remove/Edit Sql entries with buttons (using ESQL)

2002-12-11 Thread Maxime.Gheysen
I'm using Microsoft SQL 2000 server and microsoft's JDBC drivers. Is there is other simple way? Like executing a simple "INSERT ... INTO..." SQL command when I click on my button? -Original Message- From: Geoff Howard [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 2:51 PM T

RE: [HELP]Exception in ServerPagesGenerator.generate()

2002-12-11 Thread Geoff Howard
You need to have the driver in /cocoon/WEB-INF/lib, declared in web.xml under classes to load at runtime, and you need to set up the datasource in cocoon.xconf. Sounds like you got step one wrong. See: http://outerthought.net/wiki/Wiki.jsp?page=SpecificDatabaseConnection Geoff Howard -Origi

Re: oprhan/window control, blind tables, keep-with-next etc

2002-12-11 Thread Steven Noels
Eddy De Clercq wrote: Hi, I've seen in the archives in the FOP mailing list lots of thread concerning this matter. Is there any news/update on when features like orphan/widow control, keep-with-next will be implemented in FOP and Cocoon? I see you posted your question on [EMAIL PROTECTED] als

RE: Add/Remove/Edit Sql entries with buttons (using ESQL)

2002-12-11 Thread Geoff Howard
To be honest, I don't know how to do this using the regular Database*Actions as you are - you'll have to dig through the docs and search the archives of this list. I have used the modular database actions, which use input/output modules in general and a special series of auto-incr modules to handl

oprhan/window control, blind tables, keep-with-next etc

2002-12-11 Thread Eddy De Clercq
Hi,   I've seen in the archives in the FOP mailing list lots of thread concerning this matter. Is there any news/update on when features like orphan/widow control, keep-with-next will be implemented in FOP and Cocoon?   Many thanks   Eddy De Clercq 

Problems with sitemap compilation in jdk1.4 / cocoon 2.0.4

2002-12-11 Thread Andrew Savory
Hi, I'm seeing some really weird failures in sitemap compilation on a site under JDK1.4. The site works fine with JDK1.3.1, and this is using Cocoon recompiled with JDK1.4. Frequently on starting up, I get Language Exceptions (full error log below). After a few reloads, the sitemap mysteriously

Re: Problem with Character Encoding in Cocoon 2 / Postgres

2002-12-11 Thread Jean-Roch SCHMITT
Hi/Bonjour, As far as I understand, I have encountered the same problem. I have found the following link useful : http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=103701015026425&w=2 Indeed I have solved the problem this way. I hope this helps. rgds Hi, I'm using Cocoon 2 and Postgres 7

Question about handling of components

2002-12-11 Thread Fabricio Chalub
Hi, I'm trying something here and I would like to see from you if this is adequate. In some of my logicsheets I'm using a helper class to get attributes from a database, instead of using, eg, ESQL. So for example: Suppose I have a table CAR, with a column COLOR, indexed by key KEY. And I hav

Re: i18n and xmlform combination- HELP

2002-12-11 Thread Konstantin Piroumian
i18n and xmlform combination- HELPPlease do not use HTML messages! Try to remove the LocaleAction and leave the: if this helps, move the action to the beginning of the matcher and wrap with it all the contents. Do not forget to change other parameters, e.g.: -

i18n and xmlform combination- HELP

2002-12-11 Thread Hong Gia Dinh
Title: i18n and xmlform combination- HELP -Original Message- From: Hong Gia Dinh Sent: 10 December 2002 15:10 To: '[EMAIL PROTECTED]' Subject: RE: i18n and xmlform combination-HELP I just applied i18n into the XMLForm sample of Cocoon2.1 like this, but it cant apply i18n in sit

aggregation !!

2002-12-11 Thread Hong Gia Dinh
Title: aggregation !! Hi all, can anybody explain me how i can retrieve the value from the xml/xsp file from a xsl file that is not any declaration in the sitemap that showig the pipeline between them??? in the cocoon/samples/i18n i found that cocoon can do this, but i really dont understan

RE: orphans and widows within XSL-FO and Cocoon

2002-12-11 Thread caleb racey
Doug Tidwell from IBMs developer works had a very in depth (and very good) session about FOP at apacheCon (the developerworks toot-o-matic uses it). He said he couldn't get keep-with-next to work (something about blind tables I think). Anyhow he said developerworks would be publishing a very in

orphans and widows within XSL-FO and Cocoon

2002-12-11 Thread Eddy De Clercq
Hi, I have 2 questions: 1. I'm testing Cocoon for creating PDF with XSL-FO in order to investigate the orphan and widow control and till now I can't manage to achieve this. I'm using http://www.w3.org/TR/1998/WD-xsl-19980818 as a reference and I've just adapted the existing simple-page2fo.xsl (s

Re: Problem with Character Encoding in Cocoon 2 / Postgres

2002-12-11 Thread Yves Vindevogel
I didn't have this ... I recreated the database with this encoding in it but it still doesn't work > On Wednesday 11 December 2002 10:32, Yves Vindevogel wrote: > > I'm using Cocoon 2 and Postgres 7 on Slackware 8, JDK 1.4. > > My database and pages contain French characters (like é,à,ç, ...)

Using database actions

2002-12-11 Thread Maxime.Gheysen
I have a form in my page : personnel Workflow Name: Workflow dispatch: Workflow dispatch2: Workflow dispatch3:

Re: Problem with Character Encoding in Cocoon 2 / Postgres

2002-12-11 Thread Matthias Brunner
On Wednesday 11 December 2002 10:32, Yves Vindevogel wrote: > I'm using Cocoon 2 and Postgres 7 on Slackware 8, JDK 1.4. > My database and pages contain French characters (like é,à,ç, ...) > I use XSP to get the data from PG. > > Calling the function from the command line with the French > characte

Problem with Character Encoding in Cocoon 2 / Postgres

2002-12-11 Thread Yves Vindevogel
Hi, I'm using Cocoon 2 and Postgres 7 on Slackware 8, JDK 1.4. My database and pages contain French characters (like é,à,ç, ...) I use XSP to get the data from PG. I can show all the data correctly when I set the encoding to ISO-8859-1. I wrote some plsql procedures to store data. I call them fr

Cocoon-2.0.4 possible bug in Sql transformer

2002-12-11 Thread Gabriele Domenichini
Cocoon-2.0.4 seems to repeat namespace declaration in the sql:rowset element resulting from a sql transformation launching a stored procedure. I have cocoon 2.0.3 and cocoon 2.0.4 side by side on the same machine. I call an Oracle stored procedure with SQL transformer With this code: http://a

protocols of imagedirectory generator

2002-12-11 Thread u15603
hello cocooners, i try to implement the imagesgenerator to my application - but there are some problems! which protocol i could use in the src- attribute? i my image path is every the same, but reference it from different path-levels! if i use context:// there is an error! i hope somebody co