RE: Request parameters for SQL arguments

2002-12-09 Thread Maxime.Gheysen
Hi, When I write : esql:query xsp:exprselect * From AllTask Where wfID=1 /xsp:expr /esql:query It works, but

RE: XMLForm: content listbox problem

2002-12-09 Thread Sylvain.Thevoz
Hello Lars, I call the getModel() method in the perform function, like the Wizard example: code public Map perform() { AddWorkstationBean jBean = (AddWorkstationBean) getForm().getModel(); if (getCommand().equals(CMD_NEXT) getForm().getViolations() != null) {

Re: i18n and XMLForm declaration in sitemap

2002-12-09 Thread Josema Alonso
i18n and XMLForm declaration in sitemaphttp://xml.apache.org/cocoon/howto/howto-i18n-xmlform.html ps: please, no HTML email next time, thanks. - Original Message - From: Hong Gia Dinh To: [EMAIL PROTECTED] Sent: Monday, December 09, 2002 8:19 AM Subject: i18n and XMLForm declaration in

AW: XMLForm: content listbox problem

2002-12-09 Thread Kirchhoff, Lars
I'm sorry confusing you with this. This are just integer values which returns me how the function was executed. That means getTransactionData returns an integer value with the number of elements. So that I can decide on this what should be done next. (I'm new to cocoon and java as well and am

RE: XMLForm and DOM node initialization

2002-12-09 Thread Sylvain.Thevoz
Hi Lars, No, it doesn't work!! I'm going to be completely crazy! I think the problem is not on the XPath expression, because there is the exact number of items in the list. But the caption and value fields are empty! And I don't understand why! Thank you Sylvain -Message d'origine-

AW: XMLForm and DOM node initialization

2002-12-09 Thread Kirchhoff, Lars
I just went through the same problem an hour before. My problem was that not all dom nodes weren't initialized or respectivly some of the data before the repeat statement wasn't initialized. sample: - code - ... cityxf:output ref=/users/user/city

performance problems and exceptions in cocoon 2.0.4

2002-12-09 Thread Sternath Elmar
Hello, my cocoon application runs very slowly with the new version 2.0.4. Furthermore, my log files are full with the following exception: ERROR (2002-12-09) 10:05.41:273 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Cocoon servlet threw an Exception while trying to close stream.

RE: XMLForm: content listbox problem

2002-12-09 Thread Sylvain.Thevoz
I tried to initialize the bean in the prepare method but it's still the same! Nothing happen! I posted 2 different messages(content list box problem and DOM initialization problem) but the problem is the same. Sylvain -Message d'origine- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]

RE: XMLForm and DOM node initialization

2002-12-09 Thread Sylvain.Thevoz
Yes, I think you have the same problem as me!! I don't use the xf:output statement. What does it mean? If I'm right, for testing you create a form.xml file (view) with only a repeat statement like this: code items xf:repeat nodeset=select/document/typeOfWorkstation/item item

Re: Cocoon performance tuning

2002-12-09 Thread Steven Noels
Miles Elam wrote: Lenya L. Khachaturov wrote: Are there any hints on making Cocoon perform better? I've been using Cocoon for a couple of weeks and I can't call it blazing fast :-) As I understood, it's performance greatly depends on the Java compiler and the XSLT processor used. Which

Sitemap problem using RequestParamAction

2002-12-09 Thread Patrick Herber
Hi, I have a problem using the RequestParamAction. I have the following pipe: map:match pattern=*-*.html map:select type=method map:when test=POST map:act set=form map:parameter name=descriptor

AW: XMLForm and DOM node initialization

2002-12-09 Thread Kirchhoff, Lars
The output statement print just the value of either the bean property or a dom node. You can look at the example of the xmlform-Howto-Wizard. The confirm.xml is using it to show all entered values. The code seemes to be ok, but I think you don't need the document... Place this without anything

Re: performance problems and exceptions in cocoon 2.0.4

2002-12-09 Thread Derek Hohls
Elmar Very glad you asked this - I having *exactly* the same problems right now (but with version 2.03, so I do not think its a version problem) having just moved my application from development machine (Win2000) to production machine (UNIX., Solaris). The effect seems to be that some pages

Re: performance problems and exceptions in cocoon 2.0.4

2002-12-09 Thread Simeon Walker
Yep, I get this too (Cocoon 2.0.anything). In my case it happens once for each of the PNGs on my pages that are the result of SVGs. After each variation of the SVG-PNG pipeline has been accessed once and the results cached (in Cocoon, not the browser) then I won't see the message again until

RE: XMLForm and DOM node initialization

2002-12-09 Thread Sylvain.Thevoz
I tried to load this form: code ?xml version=1.0 ? document xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; xf:form id=form-feedback view=test action=addworkstation.html xf:captionTest/xf:caption xf:repeat nodeset=select/document/typeOfWorkstation/item xf:output

Re: performance problems and exceptions in cocoon 2.0.4

2002-12-09 Thread Derek Hohls
Well, I am trying to convert SVG-JPG and am getting back nothing (the usual x marks the spot broken image symbol)... but no other log errors or messages that I can see ?? [EMAIL PROTECTED] 09/12/2002 12:03:09 Yep, I get this too (Cocoon 2.0.anything).In my case it happens once for each of the

Re: performance problems and exceptions in cocoon 2.0.4

2002-12-09 Thread Ludovic de Beaurepaire
Hi, I am trying to convert SVG-JPGwith cocoon 2.0.4 and i have no problem (linux and windows). Can you say more ? Regards, Ludovic - Original Message - From: Derek Hohls To: [EMAIL PROTECTED] Sent: Monday, December 09, 2002 11:26 AM Subject: Re: performance

ignore NULL values in XSP

2002-12-09 Thread Robert Sösemann
Hello, can you imagine a shorter and more elegant way to ignore null values from adb? What I mean is, that I only want to create an LINKID element when the database not returns a null or nothing xsp:attribute name=LINKIDesql:get-string column=g.unterrubriklink_id//xsp:attribute As I have many

Re: performance problems and exceptions in cocoon 2.0.4

2002-12-09 Thread Derek Hohls
Ludovic Unfortunately not; the files work just fine on my Windows box; its only when I try and run them on UNIX that I do not get anything... maybe there is some setting required that I am not aware of? Thanks Derek [EMAIL PROTECTED] 09/12/2002 12:35:40 Hi, I am trying to convert SVG-JPG

Re: ignore NULL values in XSP

2002-12-09 Thread Christian Haul
On 09.Dec.2002 -- 10:18 AM, Robert S?semann wrote: Hello, can you imagine a shorter and more elegant way to ignore null values from adb? esql provides a tag to check for null. What I mean is, that I only want to create an LINKID element when the database not returns a null or nothing

i18n and xmlform combination-HELP

2002-12-09 Thread Hong Gia Dinh
Title: i18n and xmlform combination-HELP could sb explain me why i cant use the message key in the message when i use i18n and xmlform ? i applied the sample in the how-to i18n and xml form for my application but it cant read the message key ? what will the link i will call for

RE: i18n and XMLForm declaration in sitemap

2002-12-09 Thread Hong Gia Dinh
Title: RE: i18n and XMLForm declaration in sitemap as far as i know and found there does not exist that link. could you please recheck it? Thanks -Original Message- From: Josema Alonso [mailto:[EMAIL PROTECTED]] Sent: 09 December 2002 15:34 To: [EMAIL PROTECTED] Subject: Re: i18n

RE: i18n and XMLForm declaration in sitemap

2002-12-09 Thread Hong Gia Dinh
Title: RE: i18n and XMLForm declaration in sitemap thanks, i found it!!! -Original Message- From: Josema Alonso [mailto:[EMAIL PROTECTED]] Sent: 09 December 2002 15:34 To: [EMAIL PROTECTED] Subject: Re: i18n and XMLForm declaration in sitemap i18n and XMLForm declaration in

Re: performance problems and exceptions in cocoon 2.0.4

2002-12-09 Thread Ludovic de Beaurepaire
Derek, I had an error on Linux but it was logged : It was the well-known X11 Server error when it is not installed. Sorry if it doesn't help. Ludovic - Original Message - From: Derek Hohls [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, December 09, 2002 11:41

Re: Converting AI to SVG

2002-12-09 Thread Martin Lüthi
Upayavira [EMAIL PROTECTED] writes: Sketch (sketch.sourceforge.net) imports AI and exports SVG, however I am not sure how good the support of both formats is. It seems to be scriptable. Hope this helps Martin Firstly, I apologise if this request is off topic for this group. Does anyone

Re: Photo Album sample?

2002-12-09 Thread Upayavira
I am currently trying to build a online web photo album using Cocoon 2. After searching a little bit on the web, I seems there are already some photo albuns built with Cocoon, including an example in one of the recently released Cocoon books. As I would like to avoid building my own from

sendRedirect in xml file

2002-12-09 Thread 1 1
hI § In my jsp files, when i do a sendRedirect, i have the folowing error SAXParseException: The root element is required in a well-formed document, because Cocoon 2.01 wait a xml document instead of a redirect (code 302). I try to put some action or matcher in the pipeline to redirect on a new

Simple Database example

2002-12-09 Thread Alex McLintock
Hi folks, I'm trying to figure out whether I should use Cocoon for a small office based application. It doesn't need to be web based, but I think it may benefit from it. My essential problem is that I want to figure out how to do lots of database web pages easily and with the minimum of me

Re: XMLForm and DOM node initialization

2002-12-09 Thread Ivelin Ivanov
Have you noticed that you have a typo in the file. Rename the def attributes to ref. Ivelin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 09, 2002 4:14 AM Subject: RE: XMLForm and DOM node initialization I tried to load this form:

aggregating content from another webapp in same session context

2002-12-09 Thread Hussayn Dabbous
Hy; I want to retrieve a map:part across application boundaries. I set up my tomcat server with SSO, so that i can share the same session context over different webapps. Then i created one cocoon webapp for presentation purposes and one backend webapp for the business logic. Both webapps are

RE: XMLForm and DOM node initialization

2002-12-09 Thread Sylvain.Thevoz
Hi Ivelin, No, thank you. But it doesn't make any differences!! Is it right that in the XMLForm Wizard example the initialization of the Bean occurs only when you press the Next button from the first form to the following? I try to understand because I have certainly an initialization problem.

RE: XMLForm: content listbox problem

2002-12-09 Thread Sylvain.Thevoz
Hi Lars, You said that I should initialize the bean in the prepare method. What do you do exactly? For my Bean I started from the Wizard example code. The initialization is in the perform method. regards Thank you Sylvain -Message d'origine- De: Kirchhoff, Lars [mailto:[EMAIL

Re: aggregating content from another webapp in same session context

2002-12-09 Thread SAXESS - Hussayn Dabbous
Hy again; Meanwhile i could put a litle light on my problem. The sitemap config as shown below seams to produce an error 500, because cocoon creates a new http-session. I could verify by now, that my backend webapp is called, but it fails, because it is running in a non authenticated mode, by

Re: Photo Album sample?

2002-12-09 Thread Andy Lewis
snip/ I have got a personal photo album that I have prepared using Cocoon. It uses the ImageReader snip/ I would also be interested in the if you have no objections...thanks! -- The heights of genius are only measurable by the depths of stupidity.

Re: Pleeese! retrieving xml code as out-parameter

2002-12-09 Thread Gabriele Domenichini
I began to switch but it doesn't seem to work. Here is my procedure how it was written for the sql transformer execute-query xmlns=http://apache.org/cocoon/SQL/2.0; query lang=1 isstoredprocedure=true begin dbchem.scheda_xml('substitute-value sql:name=lingua/' ,?

Blank screen on error

2002-12-09 Thread Steven Cummings
Hello all, We've occasional seen the messages on this list about a blank screen that is returned when there is some error in a pipeline or resource, and often times (but not quite always) this is while running an XSP. So what I'd like to know is, why does the handle-error resource not get

Cannot access Cocoon WAP page

2002-12-09 Thread Costantino Sertorio
Hi, I am having a problem while trying to access the sample hello.wml sample page of Cocoon (I am running Apache Tomcat with Cocoon 2.0.3 on a Windows 2000 system) with a mobile phone. The WAP browser waits a few seconds and then answers: 500: Web service problem: Please contact service

forwarding session cookie as parameter within map:part ???

2002-12-09 Thread SAXESS - Hussayn Dabbous
Hy; My basic question was (from another request to this list): How can i setup my sitemap to forward the session context while aggregating a part ??? After several hours of investigating the problem i got an idea, how my problem could possibly be solved. I would be happy, if someone could

Re: Cannot access Cocoon WAP page

2002-12-09 Thread Skip Carter
I am having a problem while trying to access the sample hello.wml sample = page of Cocoon (I am running Apache Tomcat with Cocoon 2.0.3 on a = Windows 2000 system) with a mobile phone. The WAP browser waits a few seconds and then answers: 500: Web service problem: Please contact service

How to build custom search engine in cocoon?

2002-12-09 Thread Sreenivasan N.
Hi ALL I am trying to build a search engine which search based on keyword to give document URL. The documents can be xml, pdf, word. How can i build a search engine. Design 1 : Use Xindice native database to keep the keywords, location of the document. Search into it and get the URL and give

AW: i18n and xmlform combination-HELP

2002-12-09 Thread Kirchhoff, Lars
have you set the {locale} variable correctly or are you sure this working. my sitemap looks like this: - code - map:act type=locale map:transform type=i18n map:parameter name=locale value={locale}/ /map:transform /map:act -

Re: Cannot access Cocoon WAP page

2002-12-09 Thread Costantino Sertorio
Hi Skip and thank you, but unfortunately that did not fix the problem. In fact, I have the same problem if I try to access hello.html, for example, with the mobile device (which should be no problem). Do you have any idea? Costantino - Original Message - From: Skip Carter [EMAIL

Re: Simple Database example

2002-12-09 Thread Bertrand Delacretaz
Alex McLintock wrote: . . . In general I want to list records, select one for editing, offer it for editing, validate and save it... and this gets tedious for different tables. . . . Is there a standard application which does all this? There are small examples but I don't think there is a