Re: request-parameter exist

2002-06-14 Thread Christian Haul
On 14.Jun.2002 -- 04:11 PM, Matthew Hailstone wrote: > Is there any way to determine whether a particular request-parameter > exists in the sitemap's pipeline? Yes, look at the RequestParameterExistsAction. It is used in the mod-db example BTW. Chris. -- C h r i s t i a n H a u l

xml-namespace in XSP result

2002-06-14 Thread Koen Pellegrims
Hi, I have written a small XSP-file to dynamically include articles from a news.xml-file, based on the current date (so as to leave out articles that have expired). I use the xml:base tag to point to my data-directory, and I use XInclude to include the relevant news-articles from there. The prob

Re: Session transformer and namespaces

2002-06-14 Thread Jeremy Quinn
On Thursday, June 13, 2002, at 06:53 PM, Bruce Krautbauer wrote: > also note the namespace for the 'a' element has disappeared. > The transformer you are using is based on the AbstractSAXTransformer, which I believe does not handle namespaces properly. I have the same problem with the new So

RE: FOP serializer is 4-5 times slower in C2.0.3 than from command line

2002-06-14 Thread Argyn Kuketayev
> -Original Message- > From: Mark Arnold [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 14, 2002 7:22 PM > To: [EMAIL PROTECTED] > Subject: RE: FOP serializer is 4-5 times slower in C2.0.3 than from > command line > > > You call Cocoon as a servlet using CocoonServlet, right? right, Co

RE: FOP serializer is 4-5 times slower in C2.0.3 than from command line

2002-06-14 Thread Mark Arnold
You call Cocoon as a servlet using CocoonServlet, right? If so, try to write your own little FOP/PDF servlet that calls the FOP library rather than the cocoon one. Curious about what kind of performance you get then... MARK -Original Message- From: Argyn Kuketayev [mailto:[EMAIL PROTECT

RE: FOP serializer is 4-5 times slower in C2.0.3 than from command li ne

2002-06-14 Thread Argyn Kuketayev
configuration of my workstation is Win2k Pro, WLS6.1 SP2, command line is .\bin\java -classic -ms512m -mx1024m ... Dual Pentium 1.4Ghz, 2GB Ram - Please check that your question has not already been answered in the FAQ before

FOP serializer is 4-5 times slower in C2.0.3 than from command line

2002-06-14 Thread Argyn Kuketayev
I've a pipeline with 1 XSP (generates content) - 1.7 seconds 2 XSL (transforms it to XSL-FO) - 2.7 3. FOP (serializes into PDF) - 14.3 I measured time by terminating each step with xml serializer to see the ouput in a browser. My concern is the last step. When I ran FOP 0.20.3 from the command-

request-parameter exist

2002-06-14 Thread Matthew Hailstone
Is there any way to determine whether a particular request-parameter exists in the sitemap's pipeline? ex: Thanks, Matthew

Database component help

2002-06-14 Thread Stephen Ng
I need to be able to connect to multiple databases on the fly in my app. I'm using esql. I'd also like to use connection pooling. I tried creating a new Component on the fly (DynamicJdbcDataSource which extends JdbcDataSource), thinking that I could grab the ComponentManager, and add my new comp

encoding problem

2002-06-14 Thread S.M. Siebinga
Hi all, I have a small encoding problem in cocoon 2.0.2. I have a utf-8 encoded text that is transformed to html with an xsl stylesheet. After the processing the unicode characters aren't displayed properly. When I looked at the page source my characters were hardcoded in html entities like & Aum

RE: org.apache.xerces.parsers.SAXParser does not implement XMLReader

2002-06-14 Thread Vadim Gritsenko
> From: Steven Cummings [mailto:[EMAIL PROTECTED]] > > Hey all, > > I'm trying to run Cocoon 2.0.2 on Tomcat 4.0.3 which is running on JRE 1.3.1 > and I'm getting the following error: http://xml.apache.org/cocoon/installing/index.html Works for me every time. Just don't deviate from it. PS I

Using Cocoon 2 as a Servlet Filter

2002-06-14 Thread Mark Arnold
Hello, is it possible to pass an InputStream into cocoon rather than a filename of an input file? I'd like to be able to use cocoon as a filter rather than a servlet, but for that I need it to take a stream instead of a file. I would then have the CocoonFilter take the stream (with XML) coming

org.apache.xerces.parsers.SAXParser does not implement XMLReader

2002-06-14 Thread Steven Cummings
Hey all, I'm trying to run Cocoon 2.0.2 on Tomcat 4.0.3 which is running on JRE 1.3.1 and I'm getting the following error: type fatal message SAX2 driver class org.apache.xerces.parsers.SAXParser does not implement XMLReader description java.lang.ClassCastException: org.apache.xerces.parser

Re: MSFT answer to Cocoon? (Plaease don't throw stones :)

2002-06-14 Thread Sven Kuenzler
[EMAIL PROTECTED] schrieb: > Thanks Roger - this solution INTRIGUES me... Has anyone done this or knows where >to get info to couple IIS with Tomcat? Are cases/examples on Apache.org somewhere? http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html Just got this working yesterday

Re: MSFT answer to Cocoon? (Plaease don't throw stones :)

2002-06-14 Thread Nicola Ken Barozzi
Sven Kuenzler wrote: > [EMAIL PROTECTED] schrieb: > >> Had to ask - does Microsoft have anything for IIS that gives >> Cocoon/Xalan/Xerces functionality? > > > There was once a post on this list which mentioned a new feature of > MSXML 4. That feature is similar Cocoons pipeline concept. I

RE: aggregation with different generators

2002-06-14 Thread Per Kreipke
> I would like to know if it's possible to use self-implemented > generators inside an aggregation, something like: > > >src="http://scw_de:[EMAIL PROTECTED]:/BOLServlet > /ProductService.uploadDocument"> > I've wanted to do the same thing but after looking through the sitemap's cod

Re: MSFT answer to Cocoon? (Plaease don't throw stones :)

2002-06-14 Thread Sven Kuenzler
[EMAIL PROTECTED] schrieb: > Had to ask - does Microsoft have anything for IIS that gives Cocoon/Xalan/Xerces >functionality? There was once a post on this list which mentioned a new feature of MSXML 4. That feature is similar Cocoons pipeline concept. I.e. you can pass SAX events thru diff

aggregation with different generators

2002-06-14 Thread Sternath Elmar
Hi, I would like to know if it's possible to use self-implemented generators inside an aggregation, something like: http://scw_de:[EMAIL PROTECTED]:/BOLServlet/ProductService.uploadDocument";> Regards, Elmar - P

RE: What does really do?

2002-06-14 Thread Per Kreipke
Thanks, very good reminder. In documentation under 'Best Practices' or 'Sitemap Patterns' ;-)? Yes, yes, I know, write it myself. If I only _knew_ anything useful. Per - Please check that your question has not already been an

RE: What does really do?

2002-06-14 Thread Per Kreipke
> I think the only difference is that handle-errors > are on per pipeline. > so for different error handling, you need separate pipelines. Aha. > BTW, internal-only=true/false is already a very good reason for having > several pipelines. I agree, I've seen in the sitemap.xsl that processing can

Re: JSESSIONID had /cocoon as path

2002-06-14 Thread Christoph Gaffga
It think that when your webapp is under webapps/cocoon, the cookie-Path is alway /cocoon. If you don't want that, then you could run your webapp as webapps/ROOT (your cookie-path will be /). For me that's no enought. I modify the JSESSIONID-cookie (and the path) in the following way: I've the fo

Re: What does really do?

2002-06-14 Thread Nicola Ken Barozzi
ROSSEL Olivier wrote: > I think the only difference is that handle-errors > are on per pipeline. > so for different error handling, you need separate pipelines. Yes, and also "internal-only" > BTW, internal-only=true/false is already a very good reason for having > several pipelines. Ok, you

FlowControleAction

2002-06-14 Thread Graaf, Edgar de (fin)
Is there someone who might be interested in the following: For example: b.xsp == http://apache.org/xsp";> B The flow of xsp pages is set in the flow parameter. Pages are seperated with a , or ; You can jump to some position in the flow

Generating a 404 from

2002-06-14 Thread Jonathan Layes
Hi all, I have a few ESQL XSP pages where there is the potential for the query to not generate any results. In those cases, I would like to throw a ResourceNotFoundException and let my error handling (defined in the sitemap) take over and generate a 404 back to the client. Is this a sensible th

[Announce] CocoBlog 0.0.4 released

2002-06-14 Thread Ugo Cei
CocoBlog 0.0.4 has been released today. You can download your copy from: https://sourceforge.net/project/showfiles.php?group_id=55003&release_id=94817 Changes in this release: - moved from Cocoon 2.1dev to Cocoon 2.0.3dev. - cosmetic changes and bugfixes CocoBlog is a free weblogging software

RE: XMLForm & Control of flow

2002-06-14 Thread Andrew C. Oliver
I asked the exact same question. So can we use this flowmap with XMLForm? I'd much rather. The action classes I'm writing are very stupid and redundant. -Andy On Fri, 2002-06-14 at 04:46, Reinhard Poetz wrote: > There is am Mail from Konstantin --> > http://marc.theaimsgroup.com/?l=xml-cocoon

session problem (get mixed data)

2002-06-14 Thread Christoph Stocker
hi! i use weblogic6.0sp2, hp-ux and cocoon2.0.2 i have a session-problem with cocoon in the following way --> if a client connects to my webapplication, he gets data, like adresses. then on the other way, a second client connects to the server and also requests data. so in some cases it could

RE: What does really do?

2002-06-14 Thread ROSSEL Olivier
I think the only difference is that handle-errors are on per pipeline. so for different error handling, you need separate pipelines. BTW, internal-only=true/false is already a very good reason for having several pipelines. > -Message d'origine- > De: Per Kreipke [mailto:[EMAIL PROTECT

RE: What does really do?

2002-06-14 Thread Argyn Kuketayev
Error handling might be different for different pipelines, I guess > -Original Message- > From: Per Kreipke [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 14, 2002 10:56 AM > To: [EMAIL PROTECTED] > Subject: RE: What does really do? > Sure, one pipeline can be hidden but what other rea

RE: What does really do?

2002-06-14 Thread Per Kreipke
John, Volker, I was about to ask the same question. > > Dear colleagues, > > > > does anybody know the difference between: > > > > > > ... > > ... > > > > > > and > > > > > > ... > > > > > > > > ... > > > http://xml.apache.org/cocoon/faq/faq-sitemap.html#faq-3 I re-read the entir

Re: JSESSIONID had /cocoon as path

2002-06-14 Thread Christoph Gaffga
Hi, i'm looking for a way to change the cookie path also. At the Moment I'm using a filter-Class infront of the cocoon-Servlet and wrap the ServletResponse, but it would be nice to just edit the config file. Christoph Gaffga [EMAIL PROTECTED] - Original Message - From: "Liam Morley" <

JSESSIONID had /cocoon as path

2002-06-14 Thread Liam Morley
Is there a way to edit the path for the JSESSIONID cookie? Thanks, Liam Morley - Please check that your question has not already been answered in the FAQ before posting. To un

RE: any expierience of getting xml from Quark

2002-06-14 Thread Geoff Howard
Check out the filters at http://www.thepowerxchange.com/PowerXChange/showprod.cfm?&DID=6&User_ID=9403 5&st=3060&st2=56837284&st3=-89809369&CATID=28&ObjectGroup_ID=40. We aren't using it directly on cocoon, but we have a content provider using the (free I think) XPress XML product. There were oth

any expierience of getting xml from Quark

2002-06-14 Thread caleb racey
Does anyone have any recent experience getting xml from quark? I've searched the archives but the only quark > xml thread is 18 months old. >From my research it looks like there are two options 1) use quark's avenue, which I'm yet to see any positive comments about 2) use Atomic from easypres

Weblogic6.1 and JSPGenerator

2002-06-14 Thread QUEROMES,YVON (HP-Cupertino,ex1)
Hi, I am trying to set up the JSPGenerator to use the Weblogic(6.1) JSP Engine. Has anyone done it before? I have set the following section in my 'cocoon.xconf' file: At run-time, I get the following stacktrace: < javax.servlet.UnavailableException: Couldn't find init param: comp

Problem with org.apache.avalon.excalibur.xml.Parser

2002-06-14 Thread Jeroen ter Voorde
Hi, I'm trying to get the latest CVS (HEAD) webapp to work but there seems to be a problem with the JaxpParser. I'm using tomcat 4.0.4 on Win98. The exception is as follows: org.apache.avalon.framework.component.ComponentException: Could not set up Component for role: org.apache.avalon.excalibu

Re: Using Xalan from the command line?

2002-06-14 Thread Derek Hohls
Thanks - this is all I needed - a friendly pointer to the documentation! :-) >>> [EMAIL PROTECTED] 14/06/2002 02:43:06 >>> On Fri, 14 Jun 2002, Derek Hohls wrote: > Uh - I assume this is UNIX - is there equivalent syntax for WinD*z? > > Running in my xalan/xerces directory I have tried: > > x

RE: Using Xalan from the command line?

2002-06-14 Thread Rogier Peters
If you look here: http://xml.apache.org/xalan-j/commandline.html there's a good explanation of the command line utility along with all the flags you can set. I use it from xmlspy as an alternate to the msxml parser. Regards, Rogier Peters --

Re: Using Xalan from the command line?

2002-06-14 Thread Stephan Michels
On Fri, 14 Jun 2002, Derek Hohls wrote: > Uh - I assume this is UNIX - is there equivalent syntax for WinD*z? > > Running in my xalan/xerces directory I have tried: > > xerces_1_4_4.jar:xalan-2.2.0-D13.jar:.java > org.apache.xalan.xslt.Process -IN $1 -XSL $2 -OUT $3 > > where $1 $2 and $3 have

RE: Using Xalan from the command line?

2002-06-14 Thread Morrison, John
This doesn't really have anything to do with cocoon. Please ask on more appropriate lists. : isn't a path seperator in windows, ; is. J. > -Original Message- > From: Derek Hohls [mailto:[EMAIL PROTECTED]] > Sent: Friday, 14 June 2002 1:03 pm > To: [EMAIL PROTECTED] > Subject: Re: Using

Re: Using Xalan from the command line?

2002-06-14 Thread Derek Hohls
Uh - I assume this is UNIX - is there equivalent syntax for WinD*z? Running in my xalan/xerces directory I have tried: xerces_1_4_4.jar:xalan-2.2.0-D13.jar:.java org.apache.xalan.xslt.Process -IN $1 -XSL $2 -OUT $3 where $1 $2 and $3 have been replaced by filespaths & names and I get: The fil

A way to call N stylesheets like a fonction :

2002-06-14 Thread Yromem.com MailingList
I used this to develop my siteweb in a oop way, but it begin to be difficult. (must be an expert in stylesheet call, import, ...) But it could be useful to try N stylesheet without modifing your sitemap : add this in your sitemap :

Re: Cocoon and Struts model 2x

2002-06-14 Thread Ivelin Ivanov
Have you seen this: http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlform-wizard.html [EMAIL PROTECTED] wrote: > Hello, > > Anyone has implemented a web application with Struts model 2x and Cocoon?? > > I thought to start a project with this architecture: > > Middleware: J2EE EJB se

Re: Upload/HTTP-Post-Request

2002-06-14 Thread Nicola Ken Barozzi
Jeroen ter Voorde wrote: > Nicola Ken suggested that the upload mechanism should be rewritten. I'm > willing to do > this (including some major speedups of the multipart parser) but i could use > some pointers how > to do this. Well, here are some small pointers: 1- check out the upload componen

Re: Using Xalan from the command line?

2002-06-14 Thread Stephan Michels
On Fri, 14 Jun 2002, Derek Hohls wrote: > Hi > > Can anyone give me the syntax for doing this - I have been using > James Clarke's XT for this up to now, but it appears there are some > critical differences between the way the two processors deal with the > same XML/XSLT combo [I'm not sure why

Using Xalan from the command line?

2002-06-14 Thread Derek Hohls
Hi Can anyone give me the syntax for doing this - I have been using James Clarke's XT for this up to now, but it appears there are some critical differences between the way the two processors deal with the same XML/XSLT combo [I'm not sure why; but they do...] Thanks Derek

RE: gives always empty string

2002-06-14 Thread Volker Schneider
Dear colleagues, sorry for that question. I'm working with WebSphereApplicationDeveloper and: I HAVE TO SWITH URL REWRITNG ON in WebSphere !!! (but as you know, these things can be time-consuming) Best regards - Volker - -Original Message- From: Volker Schneider [mailto:[EMAIL PROTE

RE: What does really do?

2002-06-14 Thread Morrison, John
http://xml.apache.org/cocoon/faq/faq-sitemap.html#faq-3 > -Original Message- > From: Volker Schneider [mailto:[EMAIL PROTECTED]] > Sent: Friday, 14 June 2002 11:50 am > To: [EMAIL PROTECTED] > Subject: What does really do? > > > Dear colleagues, > > does anybody know the difference be

Re: Upload/HTTP-Post-Request

2002-06-14 Thread Jeroen ter Voorde
You can't. Nicola Ken suggested that the upload mechanism should be rewritten. I'm willing to do this (including some major speedups of the multipart parser) but i could use some pointers how to do this. Jeroen - Original Message - From: "Lutz Lenzen" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Re: upload parameter don't return FilePartFile object

2002-06-14 Thread Jeroen ter Voorde
Hi, You should use request.get("data") since getParameter always returns a string. Hope this helps. Jeroen - Original Message - From: "Gerhard Hipfinger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 6:15 PM Subject: upload parameter don't return FilePartFil

sending to a printer

2002-06-14 Thread Omar Alos
 Hello I want to send my cocoon output (ps) to a printer, which IP should come as a parameter. How can I use this parameter to do it? My pipeline is:     I have seen that FOP inline covers this issue with "-ps print_address" parameter. How can

What does really do?

2002-06-14 Thread Volker Schneider
Dear colleagues, does anybody know the difference between: ... ... and ... ... Thank you, best regards - Volker - - Please check that your question has not already been answered in the FAQ before posting.

gives always empty string

2002-06-14 Thread Volker Schneider
Dear colleagues, I want to use URL rewriting within xsp's and tried this: http://apache.org/xsp"; xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="true"> Follow me But the resulting xml is: http://apache.org/xsp"; xmlns:xsp-session="ht

Re: Cocoon and OpenCMS?

2002-06-14 Thread Michael Wechner
Derek Hohls wrote: > Thanks > > It seems like Wyona is pretty quite tho' - no updates since > January (and 6 months is a long time in the web-world) > and the documentation there is very thin... is this > project still active?? - Oh yes, it's very active. But you are definitely right, the w

RE: Including output of servlet into XSP

2002-06-14 Thread telmo sa
Ok. It works. :) Thank you. Is there any way to pass in the src parameter something not static, ie, something out of a variable? Thank you! Telmo Sa >From: "Vadim Gritsenko" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: RE: Including output of servlet into

Re: Cocoon and OpenCMS?

2002-06-14 Thread Derek Hohls
Thanks It seems like Wyona is pretty quite tho' - no updates since January (and 6 months is a long time in the web-world) and the documentation there is very thin... is this project still active?? - at least OpenCMS seems like a thriving development (as is Cocoon!) Derek >>> [EMAIL PROTECTED]

Re: Cocoon and OpenCMS?

2002-06-14 Thread Michael Wechner
Dear Derek If you are looking for a CMS based on Cocoon, then you might be interested in Wyona http://www.wyona.org. There will also be a conference on Open Source Content Management this September in San Francisco: http://www.oscom.org All the best Michael Derek Hohls wrote: > a quick que

[Fwd: [4.0.4] Binaries available] Finally a stable 2.0.4 versionof Tomcat

2002-06-14 Thread Nicola Ken Barozzi
For those who needed a stable version but have problems installing on 4.0.3... this is good news :-) Original Message Subject: [4.0.4] Binaries available Date: Thu, 13 Jun 2002 23:08:38 -0700 From: Remy Maucherat <[EMAIL PROTECTED]> Reply-To: "Tomcat Developers List" <[EMAIL P

Re: Cocoon and Struts model 2x

2002-06-14 Thread Michael Wechner
Dear Sylvain I don't have experience with Struts and Cocoon combined, but I recently had a discussion with people from Canoo which built something similar to Struts: http://www.canoo.com/products/webapp.html They developed their WebApp Java Framework together with Credit Suissse. Unfortunately t

Cocoon and OpenCMS?

2002-06-14 Thread Derek Hohls
a quick question (I know the answer may be more difficult ;-): what is the relationship - if any - between OpenCMS http://www.opencms.org/opencms/opencms/index.html and Cocoon - it seems there are some overlaps - yet perhaps the focus of each is different - and lots of the 'buzzwords' seem simi

RE: XMLForm & Control of flow

2002-06-14 Thread Reinhard Poetz
There is am Mail from Konstantin --> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102380667528528&w=2 Regards, Reinhard > -Original Message- > From: Graaf, Edgar de (fin) [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 14, 2002 10:15 AM > To: Cocoon-Users (E-mail) > Subject: XMLFor

Upload/HTTP-Post-Request

2002-06-14 Thread Lutz Lenzen
Hi, I have a question about uploads. When cocoon receives any HTTP-post-request with an upload-file (multipar/form-data), the file is uploaded in the default-upload-dir even if the request causes a server-error (and no pipeline is initiated). So it seems, that the upload is done by cocoon be

Cocoon and Struts model 2x

2002-06-14 Thread Sylvain.Thevoz
Hello, Anyone has implemented a web application with Struts model 2x and Cocoon?? I thought to start a project with this architecture: Middleware: J2EE EJB server (JBoss) with Tomcat Servlet container. EJB classes to access to the data and more. Web front-end: Struts model 2x and Cocoon. Stru

XMLForm & Control of flow

2002-06-14 Thread Graaf, Edgar de (fin)
People, I was experimenting with XMLForm and the Howto example. It works, but I have some question. I am hoping someone can answer them. 1. Why is the flow controled with HowtoWizardAction? And not with help of a xml like struts-config? 2. When I repeated the steps and unchecked the boxes. Then

RE: war file classpath

2002-06-14 Thread cnsxxx09
Thanks for the reply. I am also using a library of other files. If I unzip them into WEB-INF/classes then they are found ok (but not a practical approach). But when I put the jar in WEB-INF/lib then I get the dreaded NoClassDefFoundErroras a jar file it just isn't found. Could this be sym

Re: Form validator error in logicsheet

2002-06-14 Thread Christian Haul
On 14.Jun.2002 -- 11:26 AM, steeven wrote: > My form validator code worked well under xsp file. when i moved them to logicshee, >and error raised. It was reported that ths generated java file is wrong. I wonder how it worked on your XSP. Problem is, that the on-XXX tags don't switch to xsp:conte