Re: need help on cocoon and XSP

2003-06-20 Thread leo leonid
Did you already look at the generated java source? ([work-dir]/cocoon-files/org/apache/www/[projek-dirs]/ comp_rech_xsp.java) /leo On Freitag, Juni 20, 2003, at 12:14 Uhr, ntic wrote: Hello, I have some little trouble with this XSP script : The aims of this one is to get some POST variabl

Re: loop "for" into xsp

2003-03-12 Thread leo leonid
simply use < (> respectivly) /Leo On Mittwoch, März 12, 2003, at 05:19 Uhr, Lionel Crine wrote: I'm trying to use a "for" loop into my xsp page but the "<" character is interpreted by the sax parser. ... for (int i = 0; i < array.length(); i++) { ... Why ? -

Re: AW: esql nested queries

2003-03-10 Thread leo leonid
Thorsten wrote: Hello Leo, it is not working either. But I think I know why that happends: in my source code there is the following: if I us a attribute. I think because of " " I get no match for the second query! Can that be? -Ursprüngliche Nachricht- Von: leo leonid [mailto:[

Re: esql: setting date format for

2003-02-21 Thread leo leonid
On Freitag, Februar 21, 2003, at 01:25 Uhr, Goetz Botterweck wrote: Is there a way to ... 1) get all columns with 2) specify date format for one of these columns (so that I do not get "2003-05-21 00:00:00.0" but "21. May 2003") I do not want to use -> 2) Why not ? or get-timestamp ? The

Re: setting the client's character coding/charset to utf

2003-02-04 Thread leo leonid
al Message ----- From: "leo leonid" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 04, 2003 15:33 Subject: i18n: setting the client's character coding/charset to utf Hi, I want to be able to display (and edit via a web form) articles in different languag

i18n: setting the client’s character coding/charset to utf

2003-02-04 Thread leo leonid
Hi, I want to be able to display (and edit via a web form) articles in different languages. Latin1 encoding is not sufficient because there are articles in Russian and Japanese as well. To store the articles on the server I use the latest (7.3.1) Postgresql with Database encoding set to UNICODE

Re: Passing parameters to an XSP

2003-01-30 Thread leo leonid
On Donnerstag, Januar 30, 2003, at 07:47 Uhr, Mark H wrote: I'm trying to pass parameters to an XSP but I'm getting an exception: unreported exception: org.apache.avalon.framework.parameters.ParameterException; must be caught or declared to be thrown I saw a similar post in the archives but

Re: Cocoon deffo does not work in Jetty

2002-12-10 Thread leo leonid
. But I've only tried xsps. Charlene Mitchell wrote: Sorry, I forgot to quantify. JSP in Cocoon deployed in Jetty does not work - everything else does work (AFAIK), but JSP's do not. So, unless you use JSP's you can easily be misled unto thinking that everything works fine - b

Re: Cocoon deffo does not work in Jetty

2002-12-10 Thread leo leonid
I can't confirm this. I used all C2.0.x versions with Jetty without problems. Apart from this known redirection problem, that Nicola pointed out to be probably a Jetty bug. http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=103926206004897&w=2 The simple workaround is to put a leading slash to you

Re: [SUMMARY] Complicated setup

2002-12-05 Thread leo leonid
regards Jeremy On Thursday, Dec 5, 2002, at 14:56 Europe/London, leo leonid wrote: If you want to connect Cocoon with Apache httpd in order to serve static/legacy content directly from Apache you have three possibi

[SUMMARY] Complicated setup

2002-12-05 Thread leo leonid
If you want to connect Cocoon with Apache httpd in order to serve static/legacy content directly from Apache you have three possibilities ATM (apart from the obsolete Jserv): a) mod_webapp b) mod_jk c) mod_jk2 (A) mod_webapp__ __

Re: Complicated setup

2002-12-05 Thread leo leonid
On Thursday, December 5, 2002, at 11:24 AM, Jeremy Quinn wrote: Hi Andrew, On Tuesday, Dec 3, 2002, at 17:43 Europe/London, Andrew Savory wrote: Effectively I guess you want rules that pass everything but images, movies, audio, x-spaceprojects, harlem etc to mod_jk. Anyone else know how to

Re: Complicated setup

2002-12-03 Thread leo leonid
Jeremy Quinn writes: > > On Tuesday, Dec 3, 2002, at 17:57 Europe/London, leo leonid wrote: > > > > > On Tuesday, December 3, 2002, at 05:52 PM, Jeremy Quinn wrote: > > > >> > >> On Tuesday, Dec 3, 2002, at 15:31 Europe/London, leo leonid wrote:

Re: Complicated setup

2002-12-03 Thread leo leonid
On Tuesday, December 3, 2002, at 05:52 PM, Jeremy Quinn wrote: On Tuesday, Dec 3, 2002, at 15:31 Europe/London, leo leonid wrote: On Tuesday, December 3, 2002, at 03:34 PM, Jeremy Quinn wrote: Hi All Can anyone advise me on getting this complicated setup right? Many thanks for any

Re: Complicated setup

2002-12-03 Thread leo leonid
On Tuesday, December 3, 2002, at 03:34 PM, Jeremy Quinn wrote: Hi All Can anyone advise me on getting this complicated setup right? We have a website that will have some stuff served by Cocoon and some served by Apache. It is not easy to separate them out because we need to retain legacy UR

Re: Basic questions about deployment and mount

2002-10-22 Thread leo leonid
On Dienstag, Oktober 22, 2002, at 03:58 Uhr, Marcel Bariou wrote: Hi everybody I've done the cocoon install with apache integration, with JK and so on ... It's OK it works. I check with the element than It seem I can place the install zone of Cocoon where I want , not necessary in the To

Re: SearchGenerator improvements

2002-10-18 Thread leo leonid
On Donnerstag, Oktober 17, 2002, at 02:47 Uhr, leo leonid wrote: Hi, the changes file from 2.0.4-dev shows this entry: # SearchGenerator now includes elements into element. These elements contain stored fields of a found Document, making it possible to provide additional info about

SearchGenerator improvements

2002-10-18 Thread leo leonid
Hi, the changes file from 2.0.4-dev shows this entry: # SearchGenerator now includes elements into element. These elements contain stored fields of a found Document, making it possible to provide additional info about document in the search result list (only when index created with some store

SearchGenerator improvements

2002-10-17 Thread leo leonid
Hi, the changes file from 2.0.4-dev shows this entry: # SearchGenerator now includes elements into element. These elements contain stored fields of a found Document, making it possible to provide additional info about document in the search result list (only when index created with some stor

Re: Resource not found "/"

2002-10-15 Thread leo leonid
On Dienstag, Oktober 15, 2002, at 02:14 Uhr, Bryan Zarnett wrote: > I am currently trying to make a weblog application I created the main > association to my root URL. Right now I have it setup so that the > welcome.xhtml is called whenever I hit my URL. What I want to happen > is that i

Re: [OT] [solution] Why is my cocoon app an IE6 killer?

2002-10-11 Thread leo leonid
files generally with JMagick image.profileImage("*", null); This also reduces the file size of may thumbnails dramatically. So this problem is completely OT. But maybe this clue can help others out of this hell. /Leo On Freitag, Oktober 4, 2002, at 04:10 Uhr, leo leonid wrote

Re: Why is my cocoon app an IE6 killer?

2002-10-04 Thread leo leonid
stest patch) > IE 6.0 (SP1) > > Maybe the question may be: > > Why is IE6 an Cocoon App killer? and not like the subject of this mail > ;) > yes, but maybe two half bugs make one hole > If someone know why it happens, let know, pease. > > Antonio Gallardo > > P

Why is my cocoon app an IE6 killer?

2002-10-04 Thread leo leonid
Hi, most generally I would describe my problem with my cocoon-app as follows: When accessing a - servlet generated site - with (lots of) images - using a recent versions of Internet Explorer (i.e.6) on windows then IE stops loading images. And even better: from this moment on it generally doesn

Why is my cocoon app an IE6 killer?

2002-10-04 Thread leo leonid
Hi, most generally I would describe my problem with my cocoon-app as follows: When accessing a - servlet generated site - with (lots of) images - using a recent versions of Internet Explorer (i.e.6) on windows then IE stops loading images. And even better: from this moment on it generally doesn

problem deploying CVS-vesion 2_0_3_branch

2002-09-18 Thread leo leonid
hi, with my configuration Tomcat 4.1.10, Java 1.3.1, cocoon 2_0_3_branch on RH-linux 7.1 I get the following error when deploying. (There are no problems with the cocoon 2.0.3 (release) or with the current HEAD branch.) any hints? thanks /Leo org.apache.avalon.framework.component.ComponentEx

Re: esql:get-timestamp | how to add a locale to the format attribute?

2002-09-12 Thread leo leonid
On Monday, September 9, 2002, at 11:41 Uhr, leo leonid wrote: > hi, > I've got this > > and now I want to add a locale just like in > SimpleDateFormat(", d. , h:mm a", Locale.US) > > If it is possible to do this in XML, does an

esql:get-timestamp | how to add a locale to the format attribute?

2002-09-09 Thread leo leonid
hi, I've got this and now I want to add a locale just like in SimpleDateFormat(", d. , h:mm a", Locale.US) If it is possible to do this in XML, does anyone know the right syntax? Thanks. /Leo - Ple

Re: Cocoon 2.1-dev in Tomcat 4.1.7

2002-09-03 Thread leo leonid
On Tuesday, September 3, 2002, at 03:39 Uhr, Matthew Langham wrote: > Hi, > > does anyone have this combination running (jdk 1.3.1)? We have just > tried to > deploy a war file of the current 2.1 CVS version but without luck. > Tomcat > unpacks the war but doesn't seem to actually mount any

Livesite www.helnwein.com

2002-09-03 Thread leo leonid
hi list, there is a new C2.0.3 livesite: http://www.helnwein.com It is the official website of the austrian artist Gottfried Helnwein. Lots of articles, thousands of images, guestbook, simple lucene-search... . It is 100% cocoon, 100% db-driven, with a web-based maintainace interface. I'd be gl

Re: mod_webapp or mod_jk?

2002-07-10 Thread leo leonid
On Tuesday, July 9, 2002, at 08:21 Uhr, Skip Carter wrote: > > >> >> I've found a nasty problem with mod_webapp (Apache 1.3.24, Tomcat >> 4.0.4b3): sometimes (say, 5% of requests) the communications >> between the two servers (the web-server was on a Solaris box, the >> application-server on

build fails in 2.0.3-dev

2002-06-28 Thread leo leonid
compile: Copying 28 files to /usr/jakarta/xml-cocoon203/build/cocoon/classes Compiling with Java 1.3, debug on, optimize off, deprecation off Compiling 607 source files to /usr/jakarta/xml-cocoon203/build/cocoon/classes /usr/jakarta/xml-cocoon203/build/cocoon/src/org/apache/cocoon/components/lan

Re: Lucene and cocoon-view

2002-06-24 Thread leo leonid
On Monday, June 24, 2002, at 09:56 Uhr, Ugo Cei wrote: > leo leonid wrote: > >> yes, or add the label to the map:aggregate element, this will work, >> too. > > Unfortunately, it does not :(. I'll try to come up with a > self-contained sample later. > ensur

Re: Lucene and cocoon-view

2002-06-21 Thread leo leonid
On Friday, June 21, 2002, at 04:57 Uhr, Ugo Cei wrote: > leo leonid wrote: > >>> When I request "index?cocoon-view=content" I should get the result of >>> the aggregation before the transformation, right? >> no, you missed to add a label="content

Re: Lucene and cocoon-view

2002-06-21 Thread leo leonid
On Friday, June 21, 2002, at 04:34 Uhr, Ugo Cei wrote: > Vadim Gritsenko wrote: >>> From: Ugo Cei [mailto:[EMAIL PROTECTED]] >>> >>> Unfortunately, it looks like views are broken when using aggregations, >>> even in 2.0.3-dev. Can anyone confirm this? >> Huh? >> I mean, what's broken in 2.0.3?

Re: Lucene and cocoon-view

2002-06-21 Thread leo leonid
On Friday, June 21, 2002, at 03:46 Uhr, Vadim Gritsenko wrote: >> From: Ugo Cei [mailto:[EMAIL PROTECTED]] >> >> Unfortunately, it looks like views are broken when using aggregations, >> even in 2.0.3-dev. Can anyone confirm this? > no, works in 2.0.3. but doesn't in 2.1. /Leo > Huh? > > I

Re: Cannot get Cocoon going with Tomcat 4.0.3

2002-06-12 Thread leo leonid
On Thursday, June 13, 2002, at 12:14 Uhr, Robert Nicholson wrote: > Are the instructions in Installing Apache Cocoon document sufficent to > get > it working? I've done what's described and it's not working for me. consider using Tomcat 4.0.4 or 4.1.3. thus instructions reduce to putting co

Re: cocoon as commandline tool

2002-06-11 Thread leo leonid
On Tuesday, June 11, 2002, at 01:26 Uhr, Renzo Kottmann wrote: > > May someone give me a detailed discription of the URL or URI (I just > don't know)? Because everytime I do this: > > maybe this will help you: java org.apache.cocoon.Main -c -d -w \ -l -uINFO -f sourcepath : where your cocoo

Re: cocoon as commandline tool

2002-06-10 Thread leo leonid
On Monday, June 10, 2002, at 08:05 Uhr, Vadim Gritsenko wrote: >> From: leo leonid [mailto:[EMAIL PROTECTED]] >> >> Is there any documentation or How-To on this topic? > > No, you can write one. > > The only 'documentation' is output produced by the Main

Re: cocoon as commandline tool

2002-06-10 Thread leo leonid
Is there any documentation or How-To on this topic? /Leo. On Monday, June 10, 2002, at 05:09 Uhr, Vadim Gritsenko wrote: >> From: Renzo Kottmann [mailto:[EMAIL PROTECTED]] >> >> Hello All, >> >> My name is Renzo and I'm a NEWBIE to cocoon. My machine is succesfully >> running Cocoon 2.0.2 with

Release 2.1 in one week? I can wait.

2002-06-01 Thread leo leonid
Diana Shanon indirectly announced forthcoming release 2.1 in her last post. Normally I'm looking forward to new Cocoon releases, but this time I'm skeptical. The last weeks/days I posted several mails concerning the problem with view-labels being ignored inside an aggregation. There has been ve

Re: map:views - what has been changed in C2.1-dev (rake up)

2002-05-30 Thread leo leonid
On Wednesday, May 22, 2002, at 09:28 Uhr, leo leonid wrote: > Hi Sylvain, > yes, I tried every possible combination. label on , on > , on both,... the label just seems to be ignored. I also > tested those combination on the current > cocoon/documentation/sitemap.xmap (sn

Re: multiple values from a form

2002-05-23 Thread leo leonid
you probably need something like String[] myParam_values = request.getParameterValues("myParam"); /Leo On Wednesday, May 22, 2002, at 11:27 Uhr, Axel Seibert wrote: > Dear Cocoon users! > > Could some kind soul please send me some sample code how to cope with > the result of with Cocoon 1.8.

Re: map:views - what has been changed in C2.1-dev

2002-05-22 Thread leo leonid
ult. /Leo On Wednesday, May 22, 2002, at 04:46 Uhr, Sylvain Wallez wrote: > leo leonid wrote: > >> me again, >> I just noticed that some weeks ago there has been a discussion in the >> xml-cocoon-dev-list about future implementations of view labels. But I

Re: map:views - what has been changed in C2.1-dev

2002-05-22 Thread leo leonid
great, for creating a search index of the documentation would be possible again. thanks /L On Friday, May 17, 2002, at 09:28 Uhr, leo leonid wrote: > I wonder what has been changed concerning the behavior of views (and > why!) > Now I get HTML-output where I expect XML (and rece

map:views - what has been changed in C2.1-dev

2002-05-17 Thread leo leonid
I wonder what has been changed concerning the behavior of views (and why!) Now I get HTML-output where I expect XML (and recently still got). May this be the reason why the sample "searching the docs" doesn't work anymore? It looks like the LuceneIndexer is expecting XML-result from the conten

Re: build problem with current CVS-version 2.1-dev (AbstractXMLFormAction.java:364: Wrong number of arguments in constructor)

2002-04-18 Thread leo leonid
everything fine now. It was not a good moment to build, last night.. /Leo On Thursday, April 18, 2002, at 03:09 Uhr, leo leonid wrote: - Please check that your question has not already been answered in the FAQ before posting

build problem with current CVS-version 2.1-dev (AbstractXMLFormAction.java:364: Wrong number of arguments in constructor)

2002-04-17 Thread leo leonid
got the following errors when building cocoon current CVS-version 2.1-dev. /usr/jakarta/xml-cocoon2/build/cocoon/scratchpad/src/org/apache/cocoon/acting/AbstractXMLFormAction.java:364: Wrong number of arguments in constructor. throw new RuntimeException( " Failed loading validating schem

Re: [SOLUTION] Sorry to be a nag

2002-04-14 Thread leo leonid
t; close() method missing somewhere I'm going to start going through the >> code today, and I'll post the problem on the Lucene Dev board .. it >> would be >> nice to know who wrote the damn thing .. they could probably fix this >> one >> in no time. >>

Re: Sorry to be a nag

2002-04-06 Thread leo leonid
uups. wrong URL. forget the old .com, the lucene try is on http://www.helnwein.de sorry /Leo On Saturday, April 6, 2002, at 05:39 Uhr, leo leonid wrote: > yes! I tried it. And the result was the same error as you got. > I started a thread "Problem with SimpleLuceneCocoonIndex

Re: Sorry to be a nag

2002-04-06 Thread leo leonid
yes! I tried it. And the result was the same error as you got. I started a thread "Problem with SimpleLuceneCocoonIndexerImpl (Too many open files)" on Fri Mar 15, but it faded out quickly. Indexing works now, but I had to limit indexing to a small part of my site :-( Another problem I have: no

Re: cocoon 2.0.2 and mod_webapp

2002-03-26 Thread leo leonid
what about changing the location of your work directory to something like /WEB-INF/work (relative to the context path of the servlet) ? /Leo > I had assumed that deleting cocoon, shutting down tomcat pasting in the > new cocoon war and firing up tomcat would force a complete redeploy > instead o

Re: jdbc or xsp or esql problem

2002-03-20 Thread leo leonid
ool.java:104) >     at > org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow > (SoftResourceLimitingPool.java:91) >     at > org.apache.avalon.excalibur.datasource.JdbcConnectionPool.run > (JdbcConnectionPool.java:195) >     at java.lang.Thread.run(Thread.java:

Re: jdbc or xsp or esql problem

2002-03-20 Thread leo leonid
do the e?sql-samples work that come with the distribution using the hsqldb-server? I bet they don't. On Wednesday, March 20, 2002, at 07:21 Uhr, von Schwerdtner, Thomas (GXS, FPI) wrote: > Hey folks, > > Setup: >  cocoon-2.0.2dev (can give snapshot date if needed, it's from about a > week ag

Re: Problem with SimpleLuceneCocoonIndexerImpl (Too many open files)

2002-03-15 Thread leo leonid
ok, here we go... take a look at the attached stacktrace. > According to my SimpleLuceneCocoonIndexerImpl version (v1.6), in this > line ProcessingException is created which embeds IOException. > IOException stack trace should be printed right after this stack trace. > Could you send stack trace

RE: Problem with SimpleLuceneCocoonIndexerImpl (Too many open files)

2002-03-15 Thread leo leonid
I have 1337 files in index with a temporary test setup of 8192 descriptors at the exception. > Just curios: how many files do you have in the Lucene index directory > (right before exception)? /leo - Please check that your qu

RE: Problem with SimpleLuceneCocoonIndexerImpl (Too many open files)

2002-03-15 Thread leo leonid
On Friday, March 15, 2002, at 08:46 Uhr, Vadim Gritsenko wrote: > Still, what's your OS/file limit? RH7.2 linux: cputime unlimited filesizeunlimited datasizeunlimited stacksize 8192 kbytes coredumpsize0 kbytes memoryuse unlimited descriptors 1024 me

Re: Problem with SimpleLuceneCocoonIndexerImpl (Too many open files)

2002-03-15 Thread leo leonid
Date: Sat, 16 Mar 2002 02:40:03 GMT Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Friday, March 15, 2002, at 08:46 Uhr, Vadim Gritsenko wrote: > I guess it is because you are under DOS. You have to add some kind of > FILES=500 > line to

Problem with SimpleLuceneCocoonIndexerImpl (Too many open files)

2002-03-15 Thread leo leonid
When I try to apply the lucene indexer of the current 2.0.2-dev CVS-version (which works fine on the C2-documentation files) to my site, I get an error: "Too many open files". The error occurs only after indexing normally for ca. 30 min. Does anybody know what might be wrong there? thanks /L

Re: Installation problem?

2002-02-14 Thread leo leonid
I used the same configuration and got the same error. Then I downgraded to tomcat 4.0.2-b2 and everything works fine. /leo On Thursday, February 14, 2002, at 01:17 Uhr, Cristina Ulivi wrote: > Hi. > I've installed Apache 1.3, Tomcat 4.0.2 on Windows 2000 and they are ok. > Then I've install

using sitemap-param from within xsp-page

2002-01-21 Thread leo leonid
Hi, With the following lines in my sitemap... ... I want to access 'mySectionParam' from within 'abstrac