load sitemap parameters into cocoon serializers

2003-01-17 Thread Yury Mikhienko
Hi all! I need the answer on simple (may be) question: Why does not implemets procedure setup( SourceResolver resolver, MapobjectModel, String src, Parameters par) in

RE: Cocoon Portal - User Roles

2003-01-17 Thread Wolle
Hi, thank you for the tip. :-) I will have a try. Wolfgang *Hi, * *try using the log transformer between your transformation step *with the login.xsl and the sql transformer and you will see, *if the correct xml is outputted by your stylesheet. *If this is correct, put the log transformer

Re: sitemap matcher woes

2003-01-17 Thread Konstantin Piroumian
From: [EMAIL PROTECTED] Hi All, Currently my sitemap is setup like the following: map :match pattern=w3c.rss map :generate src=http://www.w3.org/2000/08/w3c-synd/home.rss/ map :transform src=/path/to/getRSS.xsl/ map :serialize type=html/ /map So when I type the following line in my

org.xml.sax.SAXParseException: Content is not allowed in prolog.

2003-01-17 Thread Eduardo Zurita
Hello community, Can somebody help me about the problem below? I have the following two pipelines: map:pipeline map:match pattern="qeq.html" map:generate type="jsp" src=""/ map:serialize type="xml"/ /map:match /map:pipeline map:pipeline map:match pattern="qeq2.html" map:generate

Re: form encoding UTF-8 / ISO-8859-1

2003-01-17 Thread Murad Jura
I think these kind of problem because of servlet container's illegal encoding interpreation. Cocoon fix this by wrapping a real request object obtained from container to org.apache.cocoon.environment.HttpRequest as you now. But in you case a JspGenerator invokes a real page using the unwrapped

Re: SQL Transformer substitute-value woes with 2.0.4

2003-01-17 Thread Jeremy Quinn
On Thursday, Jan 16, 2003, at 12:21 Europe/London, Andrew Savory wrote: Hi, As far as I can tell, using substitute-value with SQL Transformer does not work in 2.0.4 (and there aren't any examples of it in the samples, something I'll rectify if I ever get the darn thing working!). Here's

Re: form encoding UTF-8 / ISO-8859-1

2003-01-17 Thread CARLETTA ANGELO
--- Reçu de INFETUDE.G145193 02/250.96.71 17-01-03 10.59 --- Reçu de INFETUDE.G145193 02/250.96.71 17-01-03 08.26 Hi. I have add de next line in web.xml of my application but whitout effect init-param param-namecontainer-encoding/param-name

RE: SQL Transformer substitute-value woes with 2.0.4

2003-01-17 Thread Carsten Ziegeler
Jeremy Quinn wrote: SELECT DISTINCT contributor_id, name FROM foo WHERE contributor_id = substitute-value sql:name=contributor_id/ this is how mine look ... And you do not use the sql namespace on the substitue-value element (sql:substitue-value sql:name=.../) or have the

How to encrypt password in DatabaseAuthenticatorAction??

2003-01-17 Thread Sternath Elmar
Hello, I use DatabaseAuthenticatorAction and Update/AddDatabaseAction for my login/user administration procedure. All user info including password is stored as clear text in the database. Is there any solution for password encryption in this context? Mit freundlichen Grüßen/ Best regards

Re: SQL Transformer substitute-value woes with 2.0.4

2003-01-17 Thread Jeremy Quinn
On Friday, Jan 17, 2003, at 10:04 Europe/London, Carsten Ziegeler wrote: Jeremy Quinn wrote: SELECT DISTINCT contributor_id, name FROM foo WHERE contributor_id = substitute-value sql:name=contributor_id/ this is how mine look ... And you do not use the sql namespace on the

Re: xinclude performance issues,

2003-01-17 Thread Christoph Gaffga
Hi, We had the same Problem, instead of aggregating all files from a directory we had to aggregate all files/components from a list in our DB. The only solution we found, that would make sence in terms of perfomance, was to write our own Aggregator. You could simply extend Cocoon Default

Re: How to encrypt password in DatabaseAuthenticatorAction??

2003-01-17 Thread Murad Jura
Hello, In my point of view the easiest way is to not store real pusswords but its digests (in example MD5 or SHA). Murad Jura. Sternath Elmar wrote: Hello, I use DatabaseAuthenticatorAction and Update/AddDatabaseAction for my login/user administration procedure. All user info including

Re: How to encrypt password in DatabaseAuthenticatorAction??

2003-01-17 Thread Christian Haul
On 17.Jan.2003 -- 11:25 AM, Sternath Elmar wrote: Hello, I use DatabaseAuthenticatorAction and Update/AddDatabaseAction for my login/user administration procedure. All user info including password is stored as clear text in the database. Is there any solution for password encryption in this

Cocoon, J2SDK 1.4.1_01 and Tomcat

2003-01-17 Thread Eduardo Zurita
Hello again, I have installed Tomcat 4.1.17 LE, my J2SDK is 1.4.1_01 and my Cocoon version is 2.04 targetted for JDK 1.4.

RE: xinclude performance issues,

2003-01-17 Thread Artur Bialecki
The XIncludeTransformer parses the included file into DOM, and then streams the included part back into SAX. In my case I have 1000 pages including parts of 10 others so I hacked the XIncludeTransformer to keep the DOMs of those 10 pages in memory. This is not the best solution but it's fastee,

Re: Flow questions

2003-01-17 Thread Christian Haul
On 16.Jan.2003 -- 08:17 PM, Miles Elam wrote: The next thought was Actions, but that was just keeping the code relatively out of sight. It seemed fairly clumsy for any non-trivial amount (more than 100 lines) of logic and made the sitemap kinda crufty as well. Next came Flow. Although

Re: How to encrypt password in DatabaseAuthenticatorAction??

2003-01-17 Thread Marcelo F. Ochoa
Sternath Elmar wrote: Hello, I use DatabaseAuthenticatorAction and Update/AddDatabaseAction for my login/user administration procedure. All user info including password is stored as clear text in the database. Is there any solution for password encryption in this context? If you are using

Re: sitemap matcher woes

2003-01-17 Thread Saqib . N . Ali
Hi Konstantin, Thanks :) That is exactly what I was looking for. My sitemap looks as follows: map:match pattern=http:**.* map:generate src=http:/{1}.{2}/ map:transform src=/path/to/getRSS.xsl/ map:serialize type=html/ And it can

P: cocoon 2.0.4 with WebSphere 5.0

2003-01-17 Thread Johannes_Lorenz
Hello, i can't get cocoon 2.0.4 running with WebSphere 5.0. Neither the log files of WAS 5.0 nor the logs of cocoon provide any information to track down the error. Was anybody successful? Any hints are greatly appreciated yours Johannes

Re: Flow questions

2003-01-17 Thread Miles Elam
Christian Haul wrote: Why don't you code this in a java class and just use it from flow? Why would you want to code that in javascript? Because JavaScript has no compile step and is simpler. Unless you are expecting a high load on a resource (content inserts and updates are expected to be

Re: org.xml.sax.SAXParseException: Content is not allowed in prolog.

2003-01-17 Thread J.Pietschmann
Eduardo Zurita wrote: 2) Why the parser says Content is not allowed in prolog? Because there is something which is not allowed before the document element (the BAPI...). I guess it's the DOCTYPE declaration going the wrong way. I suggest deleting the DOCTYPE template from the JSP. Other

Re: Cocoon, J2SDK 1.4.1_01 and Tomcat

2003-01-17 Thread Joerg Heinicke
Hello Eduardo, Eduardo Zurita wrote: Hello again, I have installed Tomcat 4.1.17 LE, there is already a security update 4.1.18 (http://jakarta.apache.org/site/news.html#1219.1). my J2SDK is 1.4.1_01 and my Cocoon version is 2.04 targetted for JDK 1.4.

DO NOT REPLY [PATCH QUEUE] Summary January 18 2003

2003-01-17 Thread nicolaken
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to

Send directly to printer....?

2003-01-17 Thread Antonio Gallardo
Hi, Is there a way to send a document directly to printer? I am using XSL-FO and serializing to PDF. But now I need to send a document directly to printer without presenting it first in the client browser first. Is there a way to do that? Thanks in advance. Antonio Gallardo.