RE: My First Cocoon Question!!

2002-04-12 Thread Luca Morandini
Muhammad, you can: 1) Use SQL Transformer (write your query in an XML file and pass it through this transformer). 2) Use ESQL (write your query in an XSP file and process it via the serverpages generator) Regarding the use of XSL when no XML file is available... you could use the request gener

My First Cocoon Question!!

2002-04-12 Thread Muhammad Irfan
Dear Cocooners, Hi, I want to use cocoon to query MS Access database and want to get the query results in xml as output. I have setup the database driver in web.xml and have made all satisfactory changes. The only decision problem i am facing is that should i write xsl file that state

Re: How to get HTML (not XHTML) from the HTMLSerializer (C2.0.1)

2002-04-12 Thread Yuri Gadow
On Fri, 2002-04-12 at 12:13, Peter Robins wrote: > On Friday 12 Apr 2002 17:24, Yuri Gadow wrote: > > > > in every case I do live under the impression that the html serializer > > > will create for you instead of did you check your sitemap? > > > > It does not. > > I just tested this, Yuri (I

RE: LanguageException error on startup (Coc2.0.2,Tomcat3.2.2)

2002-04-12 Thread Vadim Gritsenko
> From: Mark S. Kent [mailto:[EMAIL PROTECTED]] > > I've got a sitemap_xmap.java and .class: > 79221 Apr 12 14:29 sitemap_xmap.class > 15470 Apr 12 14:29 sitemap_xmap$Configurer.class > 339625 Apr 12 14:29 sitemap_xmap.java > > Contents of ERROR.LOG: Please look into other log fil

Re: documentation for managers, was HP-SOAP Server announcement

2002-04-12 Thread Andrew Savory
On Fri, 12 Apr 2002, Peter Robins wrote: > meaning that Cocoon can only be implemented by specialist consultants working > in an ad hoc manner? That doesn't sound like a very large install base to me. It's the same with any new technology - it takes a while for a body of work to build up, and fo

Problems with XSP when upgrading 1.8.2 -> 2.0.2

2002-04-12 Thread William Bagby
I have looked in the mailing lists, to no avail, please forgive me if these questions have been answered already   I have upgraded Cocoon 1.8.2 to Cocoon 2.0.2. Here's my setup:   Cocoon 2.0.2 Weblogic 6.0sp2 Solaris 2.6 (Sparc)   I have successfully installed C2, all the samples work

Livesites

2002-04-12 Thread Alex McLintock
I would appreciate it if this site got listed in the Cocoon2 livesites list. URL: http://www.OWAL.co.uk/ Software: Cocoon2 The site is fairly simple but is designed to be easy to update. It includes a pdf brochure containing most of the website in one easily printable document. It is static ra

Cocoon 2.1-dev + JRun 4.0RC

2002-04-12 Thread Michael Mertel
Hi there, I hope I don't bother you with this short info about above subject. I tried to install the latest developer snapshot on a Windows XP system with Sun JDK1.4 in combiniation with the release candidate of JRun 4.0. It worked without any problems so far. The one and only problem was til n

Re: accessing session context from stylesheet

2002-04-12 Thread Nicola Ken Barozzi
From: "Andrew Savory" <[EMAIL PROTECTED]> > On Fri, 12 Apr 2002, Franosch, Heike wrote: > > > I want to insert the session id to my URLs from within the stlyesheet and > > don't know > > how to access the context. I have seen a hint about the > > SessionValidationAction, but I just > > can't get

RE: LanguageException error on startup (Coc2.0.2,Tomcat3.2.2)

2002-04-12 Thread Mark S. Kent
I've got a sitemap_xmap.java and .class: 79221 Apr 12 14:29 sitemap_xmap.class 15470 Apr 12 14:29 sitemap_xmap$Configurer.class 339625 Apr 12 14:29 sitemap_xmap.java Contents of ERROR.LOG: - begin --- ERROR (2002-04-12) 14:29.25:556[sit

RE: LanguageException error on startup (Coc2.0.2,Tomcat3.2.2)

2002-04-12 Thread Vadim Gritsenko
> From: Mark S. Kent [mailto:[EMAIL PROTECTED]] > > I'm still seeing this error message about the sitemap although I see sitemap > files in the work folder (buried in org.apache). Is there a way to put > debug "crumbs" in the sitemap to write to the logs during generation to help > me find o

RE: LanguageException error on startup (Coc2.0.2,Tomcat3.2.2)

2002-04-12 Thread Mark S. Kent
I'm still seeing this error message about the sitemap although I see sitemap files in the work folder (buried in org.apache). Is there a way to put debug "crumbs" in the sitemap to write to the logs during generation to help me find out exactly what is causing the "LanguageException: Could

Re: documentation for managers, was HP-SOAP Server announcement

2002-04-12 Thread Peter Robins
On Friday 12 Apr 2002 12:43, Matthew Langham wrote: > > But you know, questions like: "what business objectives does it help meet > and how" are really difficult to answer in a way that would suit all > scenarios. I would certainly agree with that. Even trying to define what Cocoon is is not so

Re: How to get HTML (not XHTML) from the HTMLSerializer (C2.0.1)

2002-04-12 Thread Peter Robins
On Friday 12 Apr 2002 17:24, Yuri Gadow wrote: > > in every case I do live under the impression that the html serializer > > will create for you instead of did you check your sitemap? > > It does not. I just tested this, Yuri (I'm using 2.0.2 with xerces/xalan as provided). Put in xsl file.

Re: accessing session context from stylesheet

2002-04-12 Thread Andrew Savory
On Fri, 12 Apr 2002, Franosch, Heike wrote: > I want to insert the session id to my URLs from within the stlyesheet and > don't know > how to access the context. I have seen a hint about the > SessionValidationAction, but I just > can't get it run. > Has someone a nice tip or maybe some sample co

Re: Delete

2002-04-12 Thread Carlos Araya
Title: Re: Delete On 04/12/02 0:08, "Daniel Fernandez" <[EMAIL PROTECTED]> wrote: Si ves donde dice to unsubscribe, esa es la direccion a la que mandar mensajes. Alli es donde dejas la lista > - > Please check that your questio

RE: How to get HTML (not XHTML) from the HTMLSerializer (C2.0.1)

2002-04-12 Thread Yuri Gadow
> I thought was the classic tric for all elder browsers? Yes, per the XHTML spec itself: http://www.w3.org/TR/2001/WD-xhtml1-20011004/#guidelines > in every case I do live under the impression that the html serializer will > create for you instead of did you check your sitemap? It does not.

JdbcConnection.prepareStatement problem

2002-04-12 Thread David Parry
I've been playing around with some basic SQL queries and generally finding it easy enough to do... managed to get connections to MySQL and Postgres, both locally and on remote machines. I've now tried connecting to MS SQL Server... ahem... and of course, I'm now having more problems. What I've d

accessing session context from stylesheet

2002-04-12 Thread Franosch, Heike
Hi all, I want to insert the session id to my URLs from within the stlyesheet and don't know how to access the context. I have seen a hint about the SessionValidationAction, but I just can't get it run. Has someone a nice tip or maybe some sample code how to achieve this? Thanks, Heike p.s. So

Re: Session attribute change within aggregation

2002-04-12 Thread KOZLOV Roman
Thank you very much for the lesson. I'll try another way. Roman Vadim Gritsenko wrote: > > From: KOZLOV Roman [mailto:[EMAIL PROTECTED]] > > > > Hello, > > > > Vadim thank you for your advice. It helped me. I was busy some > time and > > had postponed this problem. Unfortunatelly it stil

RE: Session attribute change within aggregation

2002-04-12 Thread Vadim Gritsenko
> From: KOZLOV Roman [mailto:[EMAIL PROTECTED]] > > Hello, > > Vadim thank you for your advice. It helped me. I was busy some time and > had postponed this problem. Unfortunatelly it still remains. > I've found out that WildcardSessionAttributeMatcher (I'm using Cocoon > 2.0.1) doesn't s

Re: Excel needs filename?

2002-04-12 Thread Andrew C. Oliver
This is is a known issue with various versions Internet Explorer. For some reason it ignores the mime type and goes right for the file extension. There are ways around this but none of them are pretty. Bascially you need to try and architect your solution to cause the filename to be somethi

making tree like structure using XML,XSP,XSL

2002-04-12 Thread Niket Anand
Hi All, I have one function that connect to database and retrive data in form of Hashtable. My Hashtable may be like this. MsgID     ParentID    1                    0    2                    0 3                    0 4                 

Re: ESQL Oracle StoredProcedues

2002-04-12 Thread Christian Haul
On 12.Apr.2002 -- 02:00 AM, Michael Raffenberg wrote: > Hi, >I am using C2.0.1 with JDK1.3.1 and TOmcat 4.0.3 >I have problems with calling oracle stored procedures from ESQL. >I have this simple Code: > > > {call sp_proc(type="String">bullshit)} > >

Re: Session attribute change within aggregation

2002-04-12 Thread KOZLOV Roman
Hello, Vadim thank you for your advice. It helped me. I was busy some time and had postponed this problem. Unfortunatelly it still remains. I've found out that WildcardSessionAttributeMatcher (I'm using Cocoon 2.0.1) doesn't see session attributes changed or created before in the same req

RE: cocoon web application

2002-04-12 Thread Luca Morandini
Bogdan, ok, I'll believe you. 1) to put an app under a directory other than cocoon, just specify the location of the sub-sitemap using the "file:" prefix, like in: 2) to get rid of the "cocoon" in your URL you may: 2.1) make the cocoon.war the ROOT servlet

WebLogic 6.1 + Cocoon2.0 + jsp/hello example = error

2002-04-12 Thread Sasaki, Humberto Katsunobu
Hello, all... I'm getting an error when I try to run the jsp/hello Cocoon example. I know that I need to change the JSPEngine to WebLogic classes (JSPEngineImplWLS) in cocoon.xconf, but I'm not sure how to do it. I've already tried to make changes in cocoon.xconf like:

RE: [C2] JDBC Connection

2002-04-12 Thread Vadim Gritsenko
> From: Aleksey Globets [mailto:[EMAIL PROTECTED]] > > Hi All, > > My environment is: > > Windows 98SE > JDK1.4 > Tomcat 4.0.3 LE (jdk 1.4) > Cocoon 2.0.2 > > How I understand from the documentation that to use the JDBC connection to a > database I need to grow down to JDK 1.3 or to compile th

Re: cocoon web application

2002-04-12 Thread Andrew Savory
On Fri, 12 Apr 2002, Bogdan Cirstea wrote: > hi! > i want to develop an web application based on cocoon technology. can anyone > tell me which is the basic structure of such an application? Although out-of-date, chello has some useful information and provides a handy starting point. Take a look

RE: Got error 127 from table handler

2002-04-12 Thread Vadim Gritsenko
> From: Christian Joelly [mailto:[EMAIL PROTECTED]] > > Hello! > > maybe this is offtopic here... I do agree with you, this sounds like offtopic. Read you DB documentation on what the heck is this SQLException about (FWIW, I like Oracle documentation: search for your ORA- error and it give

RE: Excel needs filename?

2002-04-12 Thread Vadim Gritsenko
> From: Shaw, Chris [mailto:[EMAIL PROTECTED]] > > correction: > > I got it working by adding the following line in my generator: >response.setHeader("Content-Disposition", "inline; filename=output.xls"); > ..but having to hard-code a parameter name in my generator as well as my > sitemap le

RE: How to switch language with i18n at runtime?

2002-04-12 Thread Volker Schneider
Hi Konstantin, (1) I used both because I was not quite sure which of these parameters would help. I only need one parameter. (2) At the moment I don't know whether the "locale" parameter can be reserved for other purposes of our application. But I think I could reserve it for this purpose. (3)

RE: Pooling under Jrun 3.1 (was RE: Installing cocoon2 with Jrun 3.1)

2002-04-12 Thread Vadim Gritsenko
> From: Chris Warr [mailto:[EMAIL PROTECTED]] > > > I removed the pooling and it works fine? Anyone else had pooling problems > under Jrun 3.1? Can't help you with this one, but IIRC sample database (HSQLDB) works fine with JRun. Vadim > > Chris. > > -Original Message- > From: Chri

Re: cocoon web application

2002-04-12 Thread Bert Van Kets
The easiest way is to copy the cocoon.war file to yourapp.war, start tomcat and test it by going to localhost:8080/yourapp Then you can delete every directory in the yourapp directory, except for the WEB-INF directory. Edit the sitemap and delete every action, resource, view and pipeline you d

RE: How to switch language with i18n at runtime? - temporary solution

2002-04-12 Thread Piroumian Konstantin
> From: Volker Schneider [mailto:[EMAIL PROTECTED]] > Hi Konstantin, > > I tried a request parameter called "locale" (as you said before): > > .../Cocoon/test?locale=en > and .../Cocoon/test?locale=de > > works fine, but the ...>-section can be left out (it has no effect). It is not > p

Re: cocoon web application

2002-04-12 Thread Bogdan Cirstea
i did that, believe me something i missed, but i don't know what. in faq is an example but for apache+cocoon. maybe a step by step tutorial, don't know anyway, i'll keep trying - Original Message - From: "Luca Morandini" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 12, 2

RE: How to switch language with i18n at runtime? - temporary solution

2002-04-12 Thread Volker Schneider
Hi Konstantin, I tried a request parameter called "locale" (as you said before): .../Cocoon/test?locale=en and .../Cocoon/test?locale=de works fine, but the -section can be left out (it has no effect). It is not possible for me to use an other name for the request parameter (maybe it's a bu

RE: cocoon web application

2002-04-12 Thread Luca Morandini
Bogdan, may you take a look at the FAQ, first ? Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html

RE: How to switch language with i18n at runtime?

2002-04-12 Thread Piroumian Konstantin
> From: Volker Schneider [mailto:[EMAIL PROTECTED]] > > Hi Konstantin, > > I'm sorry but if I tried your solution, I got the german > translation in > every case. I did this: > > > ... > src="org.apache.cocoon.acting.LocaleAction"> > > > Why do you use language and locale together?

cocoon web application

2002-04-12 Thread Bogdan Cirstea
hi! i want to develop an web application based on cocoon technology. can anyone tell me which is the basic structure of such an application? i want to locate the application under other dir than tomcat/webapps/cocoon/my_application and i want to access with something like localhost:8080/my_applica

Re: How to access jdbc datasource in cocoon.xconf from Cocoonactions

2002-04-12 Thread Ivan Luzyanin
I know HOW! :) //- ComponentSelector selector = (ComponentSelector) manager.lookup(Roles.DB_CONNECTION); DataSourceComponent datasource = (DataSourceComponent) selector.select("my_pool"); //- Thanx to Thomas von Schwerdtner! On Fri, 2002-04-12 at

Re: How to switch language with i18n at runtime?

2002-04-12 Thread Volker Schneider
Hi Konstantin, I'm sorry but if I tried your solution, I got the german translation in every case. I did this: ... ... and: or this: My request .../Cocoon/test?x=en&y=en always returns the german translation. What is wrong? Regards, - Vol

RE: How to access jdbc datasource in cocoon.xconf from Cocoon actions

2002-04-12 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: How to access jdbc datasource in cocoon.xconf from Cocoon actions > And one more thing. Where can i get Cocoon javadoc??? Does > one exist??? http://xml.apache.org/cocoon/apidocs/index.html -T

How to access jdbc datasource in cocoon.xconf from Cocoon actions

2002-04-12 Thread Ivan Luzyanin
Hi! The question is: How i can use jdbc datasource defined in cocoon.xconf in my Cocoon action class ? Example: //--- cocoon.xconf jdbc:mysql:///test test //- TestAction.java public class Test

RE: How to switch language for i18n at runtime?

2002-04-12 Thread Piroumian Konstantin
> From: Volker Schneider [mailto:[EMAIL PROTECTED]] > > Hi Konstantin, > > thank you for your reply. Sorry, for being a nag in this point. > > Do you mean this: > > > > > > > > > No, this won't work as LocaleAction supports only configuration params and you canno

[C2] JDBC Connection

2002-04-12 Thread Aleksey Globets
Hi All, My environment is: Windows 98SE JDK1.4 Tomcat 4.0.3 LE (jdk 1.4) Cocoon 2.0.2 How I understand from the documentation that to use the JDBC connection to a database I need to grow down to JDK 1.3 or to compile the JDBC drivers from the sources? Am I right? Thanks, Aleksey Globets ---

RE: How to switch language for i18n at runtime?

2002-04-12 Thread Volker Schneider
Hi Konstantin, thank you for your reply. Sorry, for being a nag in this point. Do you mean this: with .../Cocoon/test?x=en This doen't work. Maybe I misunderstood you. Regards, - Volker - -Original Message- From: Piroumian Konstantin [mailto:[EMAIL PROT

Re: Intialization of Custom Component upon Cocoon 2.0.2 startup

2002-04-12 Thread Marcelo F. Ochoa
Rasik Pandey wrote: > Hello, > > Would any of you have experience with getting Cocoon to initialize a > custom component upon startup? In my component, I have implemented the > Initializable and Startable interfaces from the Avalon Framework > packages, but I am having no luck at runtime? > >

RE: documentation for managers, was HP-SOAP Server announcement

2002-04-12 Thread Matthew Langham
Brent Eades wrote: >> approval processes in their respective organizations before they could consider using Java/Cocoon in production. This is something that Jakarta overall could probably spend a little more time educating users about. << Well, we have been "selling" Cocoon based solutions to o

RE: How to switch language for i18n at runtime?

2002-04-12 Thread Piroumian Konstantin
> From: Volker Schneider [mailto:[EMAIL PROTECTED]] > > Dear colleagues, > > I want to switch language to "en" at runtime. I read the > source of the LocationAction and tried so set the > language-attribute in some different ways, but this didn't work. > > Does anybody know, how I can switch

How to switch language for i18n at runtime?

2002-04-12 Thread Volker Schneider
Dear colleagues, I want to switch language to "en" at runtime. I read the source of the LocationAction and tried so set the language-attribute in some different ways, but this didn't work. Does anybody know, how I can switch the language being used for i18n at runtime? Thank you, - Volker - -

RE: How to get HTML (not XHTML) from the HTMLSerializer (C2.0.1)

2002-04-12 Thread Marc Portier
Hi, [1] I thought was the classic tric for all elder browsers? as in: less_then letter_b letter_r [[[SPACE]]] slash biggert_then those elder browsers consider /-es appended to the tagname to be part of the tagname, and the br/ tag is as meaninless as your own invention to it (and thus ignored

RE: MS Access on Cocoon2???

2002-04-12 Thread du Plessis, Corneil C
Title: RE: MS Access on Cocoon2??? Look for the MDE (Microsoft Data Engine) it is available for Visual Studio users and is basically a five user version of SQL Server and will run circles around Access. Or just use HyperSQL if the app is small enough. -Original Message- From: Rajput,

Re: How to get HTML (not XHTML) from the HTMLSerializer (C2.0.1)

2002-04-12 Thread Peter Robins
excuse me if I'm missing the point but, if the objective is to get instead of , wouldn't it be far easier to use the html output method in the xslt script directly, and not use the HTML serializer? On Friday 12 Apr 2002 7:59, Nicola Ken Barozzi wrote: > From: "Yuri Gadow" <[EMAIL PROTECTED]>

RE: Unable to locate resource: messages (C2)

2002-04-12 Thread Volker Schneider
Hi Konstatin, the and tag was the missing thing. Now it works for me as well. It would be great, if somebody could take the time and update/complete the user documentation. Thank you very much for your help, regards - Volker - -Original Message- From: Piroumian Konstantin [mailto:[EMA

Re: documentation for managers, was HP-SOAP Server announcement

2002-04-12 Thread Brent Eades
On 11 Apr 2002 at 10:46, Peter Robins wrote: > In principle, Cocoon is of > interest, but the key question is: is it worth the effort and the > extra overhead of using Java? A very relevant point. I suppose this is an issue facing all of the Jakarta projects, the fact that besides selling open

RE: Unable to locate resource: messages (C2)

2002-04-12 Thread Piroumian Konstantin
> From: Volker Schneider [mailto:[EMAIL PROTECTED]] > > Hi Konstantin, > > thank you for your reply. I already looked in this examples > before, but they > don't really help, because they are not using a locale > definition and they > do nothing else than I did. In the documentation I read >

RE: Unable to locate resource: messages (C2)

2002-04-12 Thread Volker Schneider
Hi Konstantin, thank you for your reply. I already looked in this examples before, but they don't really help, because they are not using a locale definition and they do nothing else than I did. In the documentation I read something about "message catalog". Has this something to with the locale p

RE: Unable to locate resource: messages (C2)

2002-04-12 Thread Piroumian Konstantin
> From: Volker Schneider [mailto:[EMAIL PROTECTED]] > > Hi colleagues, > > I need the i18n transformer and tried a simple sample: > > first.xml: > > http://apache.org/cocoon/i18n/2.0";> > > > Startpunkt > > It's enough to use Startpunkt. is used when you need param substitution.

Intialization of Custom Component upon Cocoon 2.0.2 startup

2002-04-12 Thread Rasik Pandey
Hello, Would any of you have experience with getting Cocoon to initialize a custom component upon startup? In my component, I have implemented the Initializable and Startable interfaces from the Avalon Framework packages, but I am having no luck at runtime?   Thank  you, Rasik Pandey

Unable to locate resource: messages (C2)

2002-04-12 Thread Volker Schneider
Hi colleagues, I need the i18n transformer and tried a simple sample: first.xml: http://apache.org/cocoon/i18n/2.0";> Startpunkt Endpunkt: dictionary.xml: Startpunkt Starting point Startpunkt sitemap.xmap: When running the example I got

Got error 127 from table handler

2002-04-12 Thread Christian Joelly
Hello! maybe this is offtopic here... i get the following errors in my cocoon application when it is used from several hosts at the same time from different clients workstations. does anybody know how to avoid this problem? --- Cocoon 2 - Internal server error type fatal message Exception in

Re: esql and db-actions error handling

2002-04-12 Thread Christian Haul
On 12.Apr.2002 -- 10:12 AM, Jerzy Kut wrote: > If I understand Your explanation it is correct construct that should provide > handling db errors. So how to handle this? You're right. Sometimes I forget all the differences between the original database actions and those in scratchpad With the

Re: esql and db-actions error handling

2002-04-12 Thread Jerzy Kut
Hi Christian! I have defined resource: Table with employees has foreign key to other table so when I try to delete (DatabaseDeleteAction) any entry using by this resource I have got cocoon error: Cocoon 2 - Internal server error type fatal message Could n

Re: esql and db-actions error handling

2002-04-12 Thread Christian Haul
On 12.Apr.2002 -- 09:18 AM, Jerzy Kut wrote: > Hi cocooners! > I want to handle errors coming from esql selects and actions operate on DB. > ESQL - I try to do: > > > mypool > > > select EMPNO > from EMP > > > > > > >

Re: Esql row-results

2002-04-12 Thread Torsten Curdt
esql supports this from scratch: ... mysql 0 0 if your database has no support for such (seem to be all others than mysql and postgres) you can even use the jdbc way: jdbc 0 0 Cheer -- Torsten > fantastic thanks > - Original Message - > From: "Ch

esql and db-actions error handling

2002-04-12 Thread Jerzy Kut
Hi cocooners! I want to handle errors coming from esql selects and actions operate on DB. ESQL - I try to do: mypool select EMPNO from EMP and