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

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 PR

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 - - /code try to set the locale parameter to a hard coded value to see if this is worki

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

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 servic

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 con

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 prov

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 inv

Re: XMLForm: content listbox problem

2002-12-09 Thread Ivelin Ivanov
The best place to do a one-time initialization of the data model is the getFormModel() method. This is the orginial in the AbstractXMLFormAction: /** * Extract xmlform-model * action parameter and * instantiate a new form model it. * * * Subclasses may override this method

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 http://apache.org/cocoon/SQL/2.0";> begin dbchem.scheda_xml('' ,? ,'' ,'' ,'');

Re: Photo Album sample?

2002-12-09 Thread Andy Lewis
> I have got a personal photo album that I have prepared using Cocoon. It uses the >ImageReader 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: 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 wh

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 PROTECT

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.

aggregating content from another webapp in same session context

2002-12-09 Thread Hussayn Dabbous
Hy; I want to retrieve a 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 under aut

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:

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 han

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

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

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 anyo

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

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 sitema

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 and

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 translatio

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 element when the > database not returns a "null" or nothing" >

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 SV

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 element when the database not returns a "null" or nothing" As I have many passages like that, I want to avoid the use of variables and ifs. How could I do that?

Re: performance problems and exceptions in cocoon 2.0.4

2002-12-09 Thread Ludovic de Beaurepaire
Hi,   I am trying to convert SVG->JPG with 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

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

RE: XMLForm and DOM node initialization

2002-12-09 Thread Sylvain.Thevoz
I tried to load this form: code http://xml.apache.org/cocoon/xmlform/2002";> Test code It's still the same: there is the correct number of items in the page but there are empty (the values aren't set). The values are not set. Why?? If I don't

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 Coco

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

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 i

Sitemap problem using RequestParamAction

2002-12-09 Thread Patrick Herber
Hi, I have a problem using the RequestParamAction. I have the following pipe:

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 code Is it the right way? Do you know why

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]]

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. jav

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 - ...

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 compil

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- De

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: 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 si

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) { ret

RE: Request parameters for SQL arguments

2002-12-09 Thread Maxime.Gheysen
Hi, When I write : "select * From AllTask Where wfID=1" It works, but with :