Re: javax.servlet.http.HttpSession access from XSP?

2004-02-02 Thread Phil Blake
By the way, it's important that people know the basic reason Cocoon doesn't give you an HTTP session. Cocoon abstracts the environment so that it can be run from many different environments, not just http/servlet. Currently the command line interface is the only other implemented environment

Re: Sentiment and gratitude to all Cocoon developers

2004-02-02 Thread Joe D. Williams
Alfredas, I think it is great that you posted to the mail list to thank the developers. I was also impressed by the increase in the workload of your system. I am a technical writer and former journalist and am interested in how you created your content management system with Cocoon. If you would

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-02 Thread Geoff Howard
Joerg Heinicke wrote: On 02.02.2004 23:20, Phil Blake wrote: How do I access the javax.servlet.http.HttpSession from within XSP? I know I have xsp-session but it is a org.apache.cocoon.environment.Session And request.getSession() also returns a org.apache.cocoon.environment.Session I've seen tha

Sentiment and gratitude to all Cocoon developers

2004-02-02 Thread Alfredas Chmieliauskas (junior)
Hi, everyone! I just wanted to share my sentiment and express my gratitude to all Cocoon developers for a wonderful piece of technology! The first site (w/ content management system) I built on Cocoon has (as of today) been running Cocoon 1.x for 3 years: the document load has since increased 50

Re: WebServiceProxyGenerator error

2004-02-02 Thread Joerg Heinicke
On 02.02.2004 16:30, Anna Afonchenko wrote: Hi all. I am trying to use the WebServiceProxyGenerator in order to process the result of external form submit through my pipeline. I've got one of the latest cocoon releases. Here is what I write in the sitemap: When I try to run it, I get a "hos

Re: Using existing jsp file

2004-02-02 Thread Joerg Heinicke
On 03.02.2004 00:52, Anna Bikkina wrote: This must be a basic question. I have a JSP generator and JSP reader in my sitemap. I understand that if I use the JSPReader it can read non xml jsp pages. How can I make cocoon use jspreader instead of the generator.Correct me if my understanding is wro

Re: Avalon-Component and pooling

2004-02-02 Thread Joerg Heinicke
Asking Avalon specific questions on developers list (or even Avalon users) will give more response I guess ... But to your question: Isn't the dispose() function what you are searching for, i.e. releasing resources on the end of usage time? What about comparing it with existing components as mo

Re: Using existing jsp file

2004-02-02 Thread Anna Bikkina
This must be a basic question. I have a JSP generator and JSP reader in my sitemap. I understand that if I use the JSPReader it can read non xml jsp pages. How can I make cocoon use jspreader instead of the generator.Correct me if my understanding is wrong. I will get the latest cocoon and run

Re: Using existing jsp file

2004-02-02 Thread Joerg Heinicke
On 03.02.2004 00:38, Anna Bikkina wrote: I need the output in the cocoon pipelines. I am already using the jspReader but it gives me errors. Below is the sitemap that I am using to generate jsp pages. Is JSPReader another option of JTidy/JSPGenerator. You still have the explanation of the two com

Re: Using existing jsp file

2004-02-02 Thread Anna Bikkina
On Monday 02 February 2004 06:19 pm, Joerg Heinicke wrote: > On 03.02.2004 00:00, Anna Bikkina wrote: > > I need the output in the cocoon pipelines. I am already using the > > jspReader but it gives me errors. Below is the sitemap that I am using > > to generate jsp pages. Is JSPReader another opt

Re: problem with getxml

2004-02-02 Thread Joerg Heinicke
On 02.02.2004 22:24, Flavio Palumbo wrote: Hi Joerg, i found this strange behaviour : the content of the fragment at /authentication/data/socOM in the context authentication contains the code "8801", and i can see this value if i show on screen with first snippet. I thought that i could evaluat

Re: Form problem

2004-02-02 Thread Joerg Heinicke
You read the requested parameters submitted in UTF-8 as ISO-8859-1. This means your output format of the page is UTF-8, but your form-encoding is ISO-8859-1. You can either change your serializer to output in ISO-8859-1 by adding ISO-8859-1 to its configuration or set the form-encoding in the c

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-02 Thread Joerg Heinicke
On 02.02.2004 23:20, Phil Blake wrote: How do I access the javax.servlet.http.HttpSession from within XSP? I know I have xsp-session but it is a org.apache.cocoon.environment.Session And request.getSession() also returns a org.apache.cocoon.environment.Session I've seen that the org.apache.cocoon

Re: Using existing jsp file

2004-02-02 Thread Joerg Heinicke
On 03.02.2004 00:00, Anna Bikkina wrote: I need the output in the cocoon pipelines. I am already using the jspReader but it gives me errors. Below is the sitemap that I am using to generate jsp pages. Is JSPReader another option of JTidy/JSPGenerator. You still have the explanation of the two

Form problem

2004-02-02 Thread Márcio Ferreira
Hello, I am writing a stylesheet that haves this form: BookMark . and when i submit this form, if i put in the textbox one value with a tilde, the value submited is like conclusão and i want conclusão. Any hint? Thank you in advan

Re: Using existing jsp file

2004-02-02 Thread Anna Bikkina
I need the output in the cocoon pipelines. I am already using the jspReader but it gives me errors. Below is the sitemap that I am using to generate jsp pages. Is JSPReader another option of JTidy/JSPGenerator. Thanks, Anna http://apache.org/cocoon/sitemap/1.0";>

Re: Using existing jsp file

2004-02-02 Thread Joerg Heinicke
On 02.02.2004 23:24, Anna Bikkina wrote: Looks like my jsp pages are not well formatted xml docs. They are more html stuff with jsp tags. Can anyone help me use the same jsps without rewriting the existing ones. Rewriting them would be a lot of work and we do not have so much time to complete th

Re: Using existing jsp file

2004-02-02 Thread Anna Bikkina
Looks like my jsp pages are not well formatted xml docs. They are more html stuff with jsp tags. Can anyone help me use the same jsps without rewriting the existing ones. Rewriting them would be a lot of work and we do not have so much time to complete the project. Thanks, Anna. On Monday 02

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-02 Thread Phil Blake
How do I access the javax.servlet.http.HttpSession from within XSP? I know I have xsp-session but it is a org.apache.cocoon.environment.Session And request.getSession() also returns a org.apache.cocoon.environment.Session I've seen that the org.apache.cocoon.environment.http.HttpSession is creat

Re: Using existing jsp file

2004-02-02 Thread Upayavira
Anna Bikkina wrote: Hi, I have an existing website which has jsp files and html files. I want to use the jsp's directly when porting to cocoon. Cocoon is complaining about jsp tags, META tags(html) and other "&" symbols in between the text. Can anyone help me how I can overcome this and use ex

Using existing jsp file

2004-02-02 Thread Anna Bikkina
Hi, I have an existing website which has jsp files and html files. I want to use the jsp's directly when porting to cocoon. Cocoon is complaining about jsp tags, META tags(html) and other "&" symbols in between the text. Can anyone help me how I can overcome this and use existing jsp's and html

Re: Evaluation of Cocoon

2004-02-02 Thread Upayavira
Eric Jain wrote: I don't believe that flow will work correctly, as it doesn't share its continuations, as they aren't shared within sessions. Yes, that was precisely the point. In any case this does not concern me, as pointed out my application is completely stateless... Okay. Nevertheles

Re: problem with getxml

2004-02-02 Thread Flavio Palumbo
Hi Joerg, i found this strange behaviour : the content of the fragment at /authentication/data/socOM in the context authentication contains the code "8801", and i can see this value if i show on screen with first snippet. I thought that i could evaluate a variable in the same manner (second snip

Re: Evaluation of Cocoon

2004-02-02 Thread Eric Jain
> I don't believe that flow will work correctly, as it doesn't share > its continuations, as they aren't shared within sessions. Yes, that was precisely the point. In any case this does not concern me, as pointed out my application is completely stateless... Nevertheless I'm somewhat surprised th

Re: Subsitemaps and resources

2004-02-02 Thread Joerg Heinicke
On 02.02.2004 15:35, John L. Webber wrote: I've Googled about everything possible, but can't seem to find a definitive answer to this question (though I fear the answer is "no"): Indeed it's not possible. This feature needs a massive redesign of the sitemap implementation and will be maybe avail

Re: Evaluation of Cocoon

2004-02-02 Thread Upayavira
Brent L Johnson wrote: You are under a slight misperception. In a clustered environment all requests must go to the cluster, but to any server in the cluster - not just the one the user logged into. Oh - maybe I misread the email.. I must have missed the part about them running a cluster.

Re: problem with getxml

2004-02-02 Thread Joerg Heinicke
On 31.01.2004 21:48, Flavio Palumbo wrote: Hi all, i got a strange problem using getxml ; if i try to use it only to display the content of the fragment everything is fine, but if i try to evaluate a variable with the same code it doesn't work. Here is the code : Not that I'm familiar with sessio

Re: Which XSLT is used for XSP logicsheets???

2004-02-02 Thread Joerg Heinicke
On 01.02.2004 20:07, Marcin Okraszewski wrote: But I wonder if you really need DB access from within the stylesheet? What's the use case for it? Why don't you access the DB from within XSP, e.g. via ESQL? Of course I can move the code from XSP translation to generation page - in fact this is

Re: NPE in TraxTransformer (caused by i18nTransfomer?)

2004-02-02 Thread Joerg Heinicke
On 01.02.2004 18:44, Steve Krulewitz wrote: When the pipeline hits the step, I get the following exception on the tomcat console: FATAL_E 10756 [core.xslt] (): Error in TraxTransformer: file:/home/steve/myapp/webapp/tools/jakarta-tomcat/../../build/webapp/registration/xsl/woody.xsl; Line 38

Re: Conditionally rendering a widget

2004-02-02 Thread Joerg Heinicke
On 31.01.2004 16:00, Vasyl Stashuk wrote: How do i render widget conditionally, i.e. if currently logged used is admin she must see 'edit' button, if regular user - must not. Just use two different form templates or modify one dynamically depending on the role. Joerg --

Re: Woody and links

2004-02-02 Thread Joerg Heinicke
On 31.01.2004 15:44, Vasyl Stashuk wrote: Hi! How do i render a link using Woody widgets? A link is not a form widget and has nothing to do with Woody. Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-02 Thread Joerg Heinicke
On 02.02.2004 00:50, Phil Blake wrote: Hi all, How do I access the javax.servlet.http.HttpSession from within XSP? I know I have xsp-session but it is a org.apache.cocoon.environment.Session And request.getSession() also returns a org.apache.cocoon.environment.Session I've seen that the org.a

Avalon-Component and pooling

2004-02-02 Thread Stephan Coboos
Hello, in my avalon component I'am retrieving a datasource object and from that I'am getting a connection object. My component has several methods and some of them are communicating together. Like the following: public Object methodA() { // Here connection will be used... return new Object

RE: Evaluation of Cocoon

2004-02-02 Thread Brent L Johnson
> You are under a slight misperception. In a clustered > environment all requests must go to the cluster, but to any > server in the cluster - not just the one the user logged > into. Oh - maybe I misread the email.. I must have missed the part about them running a cluster. Just that they had

Re: Evaluation of Cocoon

2004-02-02 Thread Geoff Howard
Ralph Goers wrote: You are under a slight misperception. In a clustered environment all requests must go to the cluster, but to any server in the cluster - not just the one the user logged into. Cocoon needs to make sure that it either a) stores what it needs in the session so that the session c

RE: Evaluation of Cocoon

2004-02-02 Thread Ralph Goers
You are under a slight misperception. In a clustered environment all requests must go to the cluster, but to any server in the cluster - not just the one the user logged into. Cocoon needs to make sure that it either a) stores what it needs in the session so that the session can be replicated b)

RE: Evaluation of Cocoon

2004-02-02 Thread Brent L Johnson
> >> Subsequent requests may be routed to different servers. > >> Here I see a possible problem with Cocoon > > > The same problem will apply to any site that uses sessions. > > Yes, though most application servers have some mechanism for > replicating sessions. Having 'sticky' sessions is certa

RE: Evaluation of Cocoon

2004-02-02 Thread Slappy Tang
> >> Subsequent requests may be routed to different servers. > >> Here I see a possible problem with Cocoon > > > The same problem will apply to any site that uses sessions. > > Yes, though most application servers have some mechanism for > replicating sessions. Having 'sticky' sessions is certa

Re: JDBC-Driver and web.xml

2004-02-02 Thread Stephan Coboos
Reinhard Poetz wrote: From: Stephan Coboos Hello, I have a simple question: Why ist it necessary to register the jdbc driver in web.xml? Is it possible to use the driver without this registration? What happens if Cocoon runs not as webapp? So web.xml is not accessible, isn't it? You c

RE: cocoon authentication and database access

2004-02-02 Thread JD Daniels
I know exactly what you mean :-) I'll send you a sample xsp file off-list. JD -Original Message- From: Anna Bikkina [mailto:[EMAIL PROTECTED] Sent: 2004-02-02 9:34 AM To: [EMAIL PROTECTED] Subject: Re: cocoon authentication and database access Could you please send me a couple of examp

Re: cocoon authentication and database access

2004-02-02 Thread Anna Bikkina
Could you please send me a couple of examples. I am new to xml and related stuff. I am having a tough time getting things together. Thanks, Anna. On Monday 02 February 2004 01:08 pm, JD Daniels wrote: > I use a simple xsp with esql to load my users > > JD > > -Original Message- > From:

RE: cocoon authentication and database access

2004-02-02 Thread JD Daniels
I use a simple xsp with esql to load my users JD -Original Message- From: Anna Bikkina [mailto:[EMAIL PROTECTED] Sent: 2004-02-02 8:20 AM To: [EMAIL PROTECTED] Subject: cocoon authentication and database access Hi, I am new to cocoon and trying to build a portal application. I already

Re: JDBC-Driver and web.xml

2004-02-02 Thread Geoff Howard
Nicolas Toper wrote: What do you mean if cocoon doesn't run as a webapp? Cocoon is not tied to the servlet environment, and can be run from an arbitrary environment in theory. In practice, there are two (three?) environments: servlet/http and command-line. IIRC the command-line environment ha

Re: [Woody] Union & XML binding

2004-02-02 Thread Tim Larson
On Mon, Feb 02, 2004 at 04:52:30PM +0100, Jan Hoskens wrote: > Hi, > > I'm trying to use a union in my woody form. I've got no problem showing the > form, but when I try to save the document back to xml, I always get a > ClassCastException: > > org.apache.cocoon.ProcessingException: Failed to ex

RE: JDBC-Driver and web.xml

2004-02-02 Thread Reinhard Poetz
From: Stephan Coboos > Hello, > > I have a simple question: > > Why ist it necessary to register the jdbc driver in web.xml? Is it > possible to use the driver without this registration? What happens if > Cocoon runs not as webapp? So web.xml is not accessible, isn't it? You can also configu

Re: [authentication] session context

2004-02-02 Thread Nicolas Toper
Authentication-fw doesn't do that: you can have several users sharing the same ID. You might want to use some flowscript for that (see samples authentication with flow :=)) Nicolas --- "Ulrich, Dominik" <[EMAIL PROTECTED]> a écrit : > Hi everybody > I ran across a problem some days ago, > I found

[authentication] session context

2004-02-02 Thread Ulrich, Dominik
Hi everybody I ran across a problem some days ago, I found on the wiki, so I decided to ask you folks: How can I keep track on the number of users currently in the system? I have an application, which should only allow one user to use it. This is always the same username. It should work like this:

cocoon authentication and database access

2004-02-02 Thread Anna Bikkina
Hi, I am new to cocoon and trying to build a portal application. I already have an existing application written in JSP and ported in tomcat. How can I change it so that it works in cocoon. Are there any examples I can look into to get this task done. Also I have do database authentication when

Re: JDBC-Driver and web.xml

2004-02-02 Thread Nicolas Toper
What do you mean if cocoon doesn't run as a webapp? Well, JDBC drivers are registered somewhere :=) cf the Servlet Spec for more details :=) Le Lundi 02 Février 2004 17:02, Stephan Coboos a écrit : > Hello, > > I have a simple question: > > Why ist it necessary to register the jdbc driver in we

Re: ComponentFactory decommissioning instance

2004-02-02 Thread Jorg Heymans
Leszek Gawron wrote: Does your action implement the Poolable interface? If it doesn't then there is no point setting the pool parameters (at least in 2.0.4 it doesn't) because Action inherits straight from Component. It does not implement Poolable interface. Searching for the solution I just c

JDBC-Driver and web.xml

2004-02-02 Thread Stephan Coboos
Hello, I have a simple question: Why ist it necessary to register the jdbc driver in web.xml? Is it possible to use the driver without this registration? What happens if Cocoon runs not as webapp? So web.xml is not accessible, isn't it? Thank you. Regards Stephan -

RE: ComponentFactory decommissioning instance

2004-02-02 Thread Leszek Gawron
> Does your action implement the Poolable interface? If it doesn't then > there is no point setting the pool parameters (at least in 2.0.4 it > doesn't) because Action inherits straight from Component. It does not implement Poolable interface. Searching for the solution I just copied the declarati

[Woody] Union & XML binding

2004-02-02 Thread Jan Hoskens
Hi, I'm trying to use a union in my woody form. I've got no problem showing the form, but when I try to save the document back to xml, I always get a ClassCastException: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Error processing Bi

Re: ComponentFactory decommissioning instance

2004-02-02 Thread Jorg Heymans
Leszek Gawron wrote: DEBUG (2004-02-02) 15:55.06:770 [sitemap] (/test/report-save) PoolThread-9/DefaultComponentFactory: ComponentFactory decommissioning instance of com.***.ReportAcceptor. Does your action implement the Poolable interface? If it doesn't then there is no point setting the poo

WebServiceProxyGenerator error

2004-02-02 Thread Anna Afonchenko
Hi all. I am trying to use the WebServiceProxyGenerator in order to process the result of external form submit through my pipeline. I've got one of the latest cocoon releases. Here is what I write in the sitemap:  

ComponentFactory decommissioning instance

2004-02-02 Thread Leszek Gawron
DEBUG (2004-02-02) 15:55.06:770 [sitemap] (/test/report-save) PoolThread-9/DefaultComponentFactory: ComponentFactory decommissioning instance of com.***.ReportAcceptor. I keep getting those messages in my sitemap.xmap. What does it really mean and how can I get rid of it. The action is quite s

[HELP]Unable to get transformer handler for factium/.xsl

2004-02-02 Thread peter Bruggeling
  Description:org.apache.cocoon.ProcessingException: Unable to get transformer handler for factium/.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler   ---Outgoing mail is certified Virus Free.Checked by AVG anti-virus system (http://www.griso

[HELP]Unable to get transformer handler for factium/.xsl

2004-02-02 Thread Henk
  Description:org.apache.cocoon.ProcessingException: Unable to get transformer handler for factium/.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler     What should i do now??   Henk Mennink    [EMAIL PROTECTED]

[HELP]Unable to get transformer handler for factium/.xsl

2004-02-02 Thread Wim v an Doorenmalen
 Description:org.apache.cocoon.ProcessingException: Unable to get transformer handler for factium/.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler

[HELP]Unable to get transformer handler for factium/.xsl

2004-02-02 Thread Wim v an Doorenmalen
 Description:org.apache.cocoon.ProcessingException: Unable to get transformer handler for factium/.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler

[HELP]Unable to get transformer handler for factium/.xsl

2004-02-02 Thread B.J.N. van Beek
Title: [HELP]Unable to get transformer handler for factium/.xsl Description:org.apache.cocoon.ProcessingException: Unable to get transformer handler for factium/.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler

Subsitemaps and resources

2004-02-02 Thread John L. Webber
I've Googled about everything possible, but can't seem to find a definitive answer to this question (though I fear the answer is "no"): Can a subsitemap call named resources from a root sitemap? If so, how? Experimentation seems to show that it doesn't work, but maybe I'm missing something. For

AW: [HELP] ParamSelector does not work

2004-02-02 Thread Ulrich, Dominik
Thanks, it worked! what a newbie fault: I changed that recently, but after restoring the backup file... Regards Dominik -Ursprüngliche Nachricht- Von: Jan Hoskens [mailto:[EMAIL PROTECTED] Gesendet: Montag, 2. Februar 2004 15:23 An: [EMAIL PROTECTED] Betreff: Re: [HELP] ParamSelector does

Re: [HELP] ParamSelector does not work

2004-02-02 Thread Jan Hoskens
try The main sitemap has the definition of all the selectors, and there the request-parameter selector should have the name "request-parameter", the "parameter" stands for another selector. Just check that! Greetings, Jan - Original Message - From: "Ulrich, Dominik" <[EMAIL PROTECTED]

[HELP] ParamSelector does not work

2004-02-02 Thread Ulrich, Dominik
Hi I want to use the RequestParamSelector in my sitemap, my example is: CASE1 CASE2 the url in the browser looks like .../cocoon/bla?form=new_data but everytime I'm getting to CASE2 instead of 1. Whats wrong? If I use

[HELP]Unable to get transformer handler for factium/.xsl

2004-02-02 Thread A.van dinteren
Kan niet bij mijn nota komen, iklog goed in maar laat dan de nota niet zien Met vriendelijke groeten A.v.Dinteren (klnr.00152832 )Description:org.apache.cocoon.ProcessingException: Unable to get transformer handler for factium/.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorExc

Re: [HELP]Unable to get transformer handler for factium/.xsl

2004-02-02 Thread Jan Hoskens
Aha! That's how they got here!:) Greetings to the Outerthought team, Jan - Original Message - From: "Steven Noels" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 02, 2004 12:36 PM Subject: Re: [HELP]Unable to get transformer handler for factium/.xsl > On 02 Feb 2004

RE: Openoffice generator

2004-02-02 Thread Reinhard Poetz
Have a look at the scratchpad (CVS or wait for 2.1.4). You'll find some ZIP-Source samples and one is an Openoffice.org one. -- Reinhard > -Original Message- > From: Zamek [mailto:[EMAIL PROTECTED] > Sent: Monday, February 02, 2004 11:46 AM > To: [EMAIL PROTECTED] > Subject: Openoffice g

Re: [HELP]Unable to get transformer handler for factium/.xsl

2004-02-02 Thread Steven Noels
On 02 Feb 2004, at 12:01, Jan Hoskens wrote: (How the hell did they even get here on the list??) Anyone, also non-subscribers, can post to the cocoon mailing lists, but non-subscribers are passed into a moderation queue and require manual attention by the list moderators. I'm doubting the usefu

RE: ESQL: Problems getting null values

2004-02-02 Thread Derek Hohls
Leszek Thanks for the hint... I still cannot get this to work properly. I am working with mySQL. The db seems OK when I insert records with null values; they also show up as nulls when I export them eg. into text SeriesID;GraphID;CatLabel;Value s1;c01.11;1991; s1;c01.11;1992; s1;c01.11;1993;

Re: [HELP]Unable to get transformer handler for factium/.xsl

2004-02-02 Thread Jan Hoskens
Well, they asked for it!;-) (Its too bad that we couldn't see their face while reading the mail:) When posting a mail on a user-list, you oughta know something about the stuff you're dealing with! (How the hell did they even get here on the list??) > Thanks, made my day ;) No prob! Glad to make it

Openoffice generator

2004-02-02 Thread Zamek
Hi All, Are there anybody out there, who is working with Openoffice generator in Cocoon? I tried to setup it based on Yves Vindevogel's wiki document, but I get an empty document: --