RE: How to transform a subset of xml stream ?

2008-01-11 Thread Andrew Stevens
> Date: Fri, 11 Jan 2008 11:34:50 +0100 > From: [EMAIL PROTECTED] > > Ard Schrijvers a écrit : >>> Hi, >>> >>> I have the following xml stream >>> >>> [example] >>> [A]...[/A] >>> [wfs:GetFeature][/wfs:GetFeature] >>> [/example] >>> >>> I'd like to call my WFS transformer which make a

RE: How to transform a subset of xml stream ?

2007-12-28 Thread Andrew Stevens
> Date: Fri, 21 Dec 2007 11:36:00 +0100 > From: [EMAIL PROTECTED] > > Hi, > > I have the following xml stream > > > ... > > > > I'd like to call my WFS transformer which make a call to a > WebFeatureService with xml stream in parameters, and > keep tag in the response. > >

RE: Accessing sitemap label-attribute in TraxTransformer

2007-11-30 Thread Andrew Stevens
You seem to be missing the point of dependency injection - the TraxTransformer doesn't look up its logger or specify its name or anything like that. It just declares "I want a logger" (by implementing a "loggable" interface), and the component manager gives it one. So to do what you are sugge

RE: Websphere jsp-engine.

2007-09-20 Thread Andrew Stevens
Jasper won't do you any good, as WAS has its own JSP engine. Try com.ibm.ws.webcontainer.jsp.servlet.JspServlet instead, or alternatively, use the JSPEngineImplNamedDispatcherInclude engine implementation and configure it for the servlet-name "JSP 1.2 Processor" (as displayed in the server's Syst

RE: Parsing HTML entities

2007-08-31 Thread Andrew Stevens
Oh, for crying out loud. Even after switching to plain text Hotmail still strips out my included XML :-( Let's try again - replace the square brackets below with the appropriate less-than and greater-than symbols. > From: [EMAIL PROTECTED] > Date: Fri, 31 Aug 2007 14:06:59 + > > Tobia Conf

RE: Parsing HTML entities

2007-08-31 Thread Andrew Stevens
> From: [EMAIL PROTECTED] > Date: Fri, 31 Aug 2007 14:06:59 + > > Tobia Conforto linux.it> writes: > >> I have a data source from which I get SAX text nodes into my pipeline >> that contain escaped HTML entities and tags. In Java syntax: >> >> "Lorem ipsum — dolor sit amet. Consectetuer"

RE: JSP problem

2007-08-13 Thread Andrew Stevens
> Date: Mon, 13 Aug 2007 15:37:46 -0400 > From: [EMAIL PROTECTED] > > I have Cocoon version 2.1.10 > I have tomcat version 6.0.10 > I have Java version 1.6 > > I put these lines in the sitemap: > > > > > > The file testJSP.jsp only display "Hello World" > > When I type the URL "http://

RE: [Slightly OT] Session problem with Apache-fronted Cocoon site

2007-07-09 Thread Andrew Stevens
> Date: Sun, 8 Jul 2007 20:55:04 +0200> From: [EMAIL PROTECTED]> we run all our > sites with httpd in front of cocoon (Jetty or Tomcat), but> we are kind of > used to not rely on the locale of the browser, because> you cannot be sure > all proxies between the client and your application> honour

JSP generator and Websphere 6

2007-07-02 Thread Andrew Stevens
Hi, Does anyone know how to call the JSP engine in Websphere 6? In 5.0 & 5.1 I've been using the JSPEngineImplNamedDispatcherInclude JSPEngine implementation to look up the "JSP 1.2 Processor" servlet. However, in Websphere 6 the JSP engine is no longer a servlet, it's a container "extension

RE: Cocoon database access strategy

2007-07-02 Thread Andrew Stevens
> Date: Mon, 2 Jul 2007 10:25:35 +0200> From: [EMAIL PROTECTED]> > Hello > Andrew,> > I am not sure, but I really do not understand your email? You are > talking about caching the prepared statement, but I do not get what you try > to achieve with it...?> > The sql transformer will never cache,

RE: Cocoon database access strategy

2007-06-30 Thread Andrew Stevens
Bloody hotmail appears to have stripped out all my sql & xsl namespaced XML elements :-( Anyone know how to disable this in the new "improved" interface? > From: [EMAIL PROTECTED] > Date: Sun, 1 Jul 2007 02:35:03 +0100 > > > Date: Sun, 24 Jun 2007 11:14:38 +0200 > > From: [EMAIL PROTECTED] > >

RE: Cocoon database access strategy

2007-06-30 Thread Andrew Stevens
> Date: Sun, 24 Jun 2007 11:14:38 +0200 > From: [EMAIL PROTECTED] > > Rob Frohwein wrote: > > - query1.xmlusing SqlTransformer on table1 > > - cleansql.xsl rename > > - process1.xsl reorganize > > - query2.xslquery different table > > - cleansql.xsl rename > > - process2.xsl reorgan

RE: Logged in user?

2007-06-30 Thread Andrew Stevens
Does the request input module's {request:remoteUser} do what you need? http://cocoon.apache.org/2.1/userdocs/concepts/modules-ref.html#RequestModule Andrew. -- http://pseudoq.sourceforge.net/ > From: [EMAIL PROTECTED] > To: users@cocoon.apache.org > Subject: Log

RE: hostname lookup

2007-06-04 Thread Andrew Stevens
What hostname(s) is being looked up? The most common reason I've seen in our apps for name lookups (and subsequent outgoing HTTP requests) is when someone forgets to add a new DTD to the entity resolver's catalog. Andrew. -- http://pseudoq.sourceforge.net/ Open source java Sudoku __

RE: URL of servlet container

2007-04-09 Thread Andrew Stevens
From: "Gary Larsen" <[EMAIL PROTECTED]> Date: Sun, 8 Apr 2007 07:35:10 -0400 Hi, Is it possible to determine the url of the Cocoon servlet container or even the Cocoon servlet itself? I see that the StatusGenerator can determine the host name, but need something like http://hostname:port or htt

Re: conversion of a Unix timestamp to a ISO date

2007-03-21 Thread Andrew Stevens
From: "Bertrand Delacretaz" <[EMAIL PROTECTED]> Date: Wed, 21 Mar 2007 13:30:14 +0100 On 3/21/07, Stefan Shoeman <[EMAIL PROTECTED]> wrote: ...I tried it with xsl (xs:date-time), but then I get a error, that the java-date class isn't available for Coocon... You could use a the SimpleDateForma

RE: Font problem using SVG text in PDFs

2007-03-06 Thread Andrew Stevens
cocoon.apache.org/2.1/userdocs/pdf-serializer.html [snip] Cocoon is now ready to embed fonts into the PDF. Regards, Jasha Joachimsthal Hippo Oosteinde 11 1017 WT Amsterdam The Netherlands +31 (0)20 5224466 www.hippo.nl > -Original Message- > From: Andrew Stevens [mailto:[EMAIL P

Font problem using SVG text in PDFs

2007-03-05 Thread Andrew Stevens
Can anyone help with this, or point me to a better place to ask? I'm generating some PDFs using the FOP block in Cocoon 2.1.7. These include a company logo, which is done using an SVG file that is copied into a fo:instream-foreign-object node by the XSL (the SVG file is passed into the XSL as

Re: request-parameters selector usage

2007-03-03 Thread Andrew Stevens
From: "Steven D. Majewski" <[EMAIL PROTECTED]> Date: Sat, 3 Mar 2007 10:59:51 -0500 In fact, this didn't work: It seems to always do the otherwise. Is there another way to select on the presence ( rather than the value ) of a request param ? How about org.apache.cocoon.acting.Re

RE: Need help to localize images

2007-02-14 Thread Andrew Stevens
From: "Thomas Detoux" <[EMAIL PROTECTED]> Date: Wed, 14 Feb 2007 17:26:41 +0100 Hello all, My point is to show different versions of a picture for different values of the users' locale, this will help for any picture with text in it. The first path explored was to have different picture for eac

RE: including multiple xml files into transformation

2007-01-07 Thread Andrew Stevens
From: Daniel Süpke <[EMAIL PROTECTED]> Date: Sun, 07 Jan 2007 13:27:52 +0100 Hi, I read a couple of websites about Cocoon and took a look inside the samples and Cocoon seems to be really nice, especially since I need to have various output formats later (pdf, html, ...). But right now, I am hav

Re: Cinclude file not found - why?

2006-12-12 Thread Andrew Stevens
From: Dan Hertz <[EMAIL PROTECTED]> Date: Tue, 12 Dec 2006 08:10:16 -0500 I have a sub-sitemap with the following: I also tried: http://myservername/myphp/getname.php{2} "mime-type="application/x-httpd-php"/> What exactly is your PHP script returning? This probably is not related to

Re: RE: Using match pattern parameter from within a sub-act.

2006-11-13 Thread Andrew Stevens
Andrew -- http://pseudoq.sourceforge.net (Open source java Sudoku application) On 11/8/06, Andrew Stevens <[EMAIL PROTECTED]> wrote: >From: "Antonio Magni" <[EMAIL PROTECTED]> >Date: Wed, 8 Nov 2006 15:00:08 -0200 > >Hi, > >A basic question, but

RE: XPathDirectory generator styling help

2006-11-10 Thread Andrew Stevens
From: "J.D. Williams" <[EMAIL PROTECTED]> Reply-To: users@cocoon.apache.org To: users@cocoon.apache.org Subject: RE: XPathDirectory generator styling help Date: Fri, 10 Nov 2006 08:31:30 -0600 Hi Ard, I did, in fact, get it to work with some tweaking of the xsl. The snippets follow. What I woul

RE: Using match pattern parameter from within a sub-act.

2006-11-08 Thread Andrew Stevens
From: "Antonio Magni" <[EMAIL PROTECTED]> Date: Wed, 8 Nov 2006 15:00:08 -0200 Hi, A basic question, but I cannot find a reference for this anywhere: How do I access the parameters from my match pattern within an act? The following snippet explains my situation where I get a java.io.FileNotFoun

RE: fo2pdf Serialzer problem

2006-10-20 Thread Andrew Stevens
From: Andrea König <[EMAIL PROTECTED]> Date: Fri, 20 Oct 2006 14:26:28 +0200 Hi all, I'm using cocoon-2.1.9 and have to generate pdf through a fo2pdf seralizer. The first problem is that the FOPSerializer comming with cocoon-2.1.9 doesn't seem to work correctly. If I try out the FOP sample of c

RE: link to a file

2006-09-28 Thread Andrew Stevens
From: "Geert Josten" <[EMAIL PROTECTED]> Date: Wed, 27 Sep 2006 20:15:52 +0200 > >tnx, but does that means that for every different extension, > I should > >supply a mime-type? > > It depends. The default reader will try and pick one > automatically, but the ones it knows depends on some JDK > s

RE: link to a file

2006-09-27 Thread Andrew Stevens
tual value. Andrew. "Andrew Stevens" <[EMAIL PROTECTED]> 26/09/2006 16:23 Please respond to users@cocoon.apache.org To users@cocoon.apache.org cc Subject RE: link to a file >From: Roel Croonenberghs <[EMAIL PROTECTED]> >Date: Tue, 26 Sep 2006 16:12:28 +02

RE: link to a file

2006-09-27 Thread Andrew Stevens
ttings file (search the list archives, I asked about this a while back). For others, you either need to add them to this file, or just use a specific map:read that supplies it. Andrew. "Andrew Stevens" <[EMAIL PROTECTED]> 26/09/2006 16:23 Please respond to users@cocoon

RE: link to a file

2006-09-26 Thread Andrew Stevens
From: Roel Croonenberghs <[EMAIL PROTECTED]> Date: Tue, 26 Sep 2006 16:12:28 +0200 Hello, I have a dir in my WEB_INF folder where users can upload there files. That works. But I want these files to be available for download. so I use a directory generator; and I transform the result via xsl to

Re: [FIX] I18nTransformer [CACHING PIPELINE]

2006-09-25 Thread Andrew Stevens
From: "Ard Schrijvers" <[EMAIL PROTECTED]> Date: Tue, 12 Sep 2006 10:24:53 +0200 > On 9/12/06, Yves Zoundi <[EMAIL PROTECTED]> wrote: > > > ...If you have any ideas please let me know... I just think it works for you: you do think it doesn't because you cannot switch between language in your br

Re: Accessing Sessions

2006-09-21 Thread Andrew Stevens
From: Jason Johnston <[EMAIL PROTECTED]> Reply-To: users@cocoon.apache.org To: users@cocoon.apache.org Subject: Re: Accessing Sessions Date: Thu, 21 Sep 2006 07:15:27 -0600 Bardo Nelgen wrote: Hi all, how can I obtain a list of a) the current session-id of the current context (hopefully named

RE: Output storing after Serializer

2006-09-15 Thread Andrew Stevens
From: "rachid harradi" <[EMAIL PROTECTED]> Date: Fri, 15 Sep 2006 14:19:12 +0200 Hello, i need you help. i will to store every Output(pdf html) after Serializer. i had look at source Writing Transformer but i dont understand how can i use it. ? - ? /source:path> ?

RE: accessing sitemap variables from an action

2006-09-13 Thread Andrew Stevens
From: Stephen Winnall <[EMAIL PROTECTED]> Date: Tue, 12 Sep 2006 15:00:59 +0200 I'm writing an action. It's definition is as follows: public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception { ... } I call

RE: Cocoon 2.1.7 and XSL-FO

2006-08-17 Thread Andrew Stevens
From: <[EMAIL PROTECTED]> Date: Thu, 17 Aug 2006 13:56:31 +0530 Hi, We are using Cocoon 2.1.7 and we get the following error when trying to transform the output using XSL-FO into a pdf stream: - An Error Occurred attribute-set named xref.properties does not exist org.apache.cocoon.ProcessingExc

Re: PDF: external-graphic & absolute pat

2006-07-21 Thread Andrew Stevens
From: "Omar Adobati" <[EMAIL PROTECTED]> Date: Fri, 21 Jul 2006 12:03:05 +0200 > I worked around that by passing in the host/port/context (read from the > request object) as a parameter to the XSL transformation. You could do much > the same with Cocoon using something like > > value="http

Re: Switch generate type to serverpage returns a blank page

2006-07-21 Thread Andrew Stevens
From: Basil Moser <[EMAIL PROTECTED]> Date: Thu, 20 Jul 2006 22:39:53 +0200 Then I get the following exception: org.apache.avalon.framework.configuration.ConfigurationException: Unknown element 'serializer' at file:/opt/apache-tomcat-5.5.12/ webapps/telejobBeat/telejob/sitemap.xmap That's be

Re: Switch generate type to serverpage returns a blank page

2006-07-21 Thread Andrew Stevens
From: Basil Moser <[EMAIL PROTECTED]> Date: Thu, 20 Jul 2006 22:39:53 +0200 Then I get the following exception: org.apache.avalon.framework.configuration.ConfigurationException: Unknown element 'serializer' at file:/opt/apache-tomcat-5.5.12/ webapps/telejobBeat/telejob/sitemap.xmap BTW: Wher

Re: Restrict access to parts of sitemap

2006-07-21 Thread Andrew Stevens
From: Thomas Soddemann <[EMAIL PROTECTED]> Date: Thu, 20 Jul 2006 13:57:42 -0600 Andrew Stevens wrote: Another possibility - you could always use the J2EE container-provided security and add a security-constraint to your web.xml for /buildindex. That might be simpler than learni

Log4j configuration

2006-07-20 Thread Andrew Stevens
I'm using Cocoon 2.1.7 (haven't had time to upgrade & test our sites with 2.1.9 yet). How does the WEB-INF/log4j.xconf file get used? i.e. when is it read and processed? Our app uses a handful of other servlets & filters in addition to Cocoon, which call log4j directly; there's a log4j.proper

Re: Restrict access to parts of sitemap

2006-07-20 Thread Andrew Stevens
From: "Bertrand Delacretaz" <[EMAIL PROTECTED]> Date: Thu, 20 Jul 2006 10:13:06 +0200 On 7/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: ... http://localhost:8080//index.xml "/>... ...which means every (outside) user could be able to start the index when calling buildIndex. I

RE: PDF: external-graphic & absolute path

2006-07-20 Thread Andrew Stevens
From: "Omar Adobati" <[EMAIL PROTECTED]> Date: Thu, 20 Jul 2006 10:40:09 +0200 Good Morning, What is the reason I need to use the full path of an image I want to display into a PDF generated file? I believe it's a limitation of Apache FOP. I was recently working on a (non-Cocoon) servlet th

RE: Logging

2006-06-09 Thread Andrew Stevens
From: Yves Vindevogel <[EMAIL PROTECTED]> Date: Thu, 08 Jun 2006 19:45:51 +0200 Hi, I would like to have some more logging of everything that is send to my Cocoon server. I have Jetty / Cocoon listening on port . I can see it logs a page that is being asked. However, (and I'm trying to d

Re: Universal binary versions of cocoon

2006-06-07 Thread Andrew Stevens
From: Max Pfingsthorn <[EMAIL PROTECTED]> Date: Wed, 07 Jun 2006 09:01:17 +0200 Hi, I think you are looking for these people: http://httpd.apache.org/ What makes you think that? He was just giving an example of what he'd do *if* he were building Apache, he didn't say that's what he was actua

RE: Port 2401 closed on cvs.apache.org?

2006-06-07 Thread Andrew Stevens
From: Mikael Larsson <[EMAIL PROTECTED]> Date: Wed, 07 Jun 2006 10:41:29 +0200 Hi! I am following installation instructions (cvs) on http://cocoon.apache.org/2.1/installing/index.html. Unfortunately it seems like the port 2401 (pserver) is closed for some reason. Anyone know the remedy?

Re: Flowscript file permissions on mkdir - pls help!

2006-06-02 Thread Andrew Stevens
From: Dan Hertz <[EMAIL PROTECTED]> Date: Fri, 02 Jun 2006 08:45:14 -0600 Thanks for helping me out, Gianugo. I'm not sure I follow though -- is umask not meant to *subtract* values, in other words, 0777 - 002 = 0775. Yes, that's right. But if my system default (set by the ISP) is 0755, how d

Re: mysql problem with sql transformer

2006-05-27 Thread Andrew Stevens
From: Yves Vindevogel <[EMAIL PROTECTED]> Date: Sat, 27 May 2006 13:14:05 +0200 Ok, here's some more copy and pasting This is the command line executed in putty or ssh with the results (which are correct) (0 means offset 0, 2 means limit 2) [EMAIL PROTECTED]:~# mysql pdt2 --execute "call

RE: mysql problem with sql transformer

2006-05-26 Thread Andrew Stevens
From: Yves Vindevogel <[EMAIL PROTECTED]> Date: Sat, 27 May 2006 03:12:45 +0200 Hi, This is my call to the db in the shell mysql pdt2 --execute "call spjobsperday(0, 2, '', '', '', '', '', '', '', '', '')" ++--+---+--+--+ | EventDate | Jobs | Pages | Fi

ResourceReader mime type auto-detection

2006-05-26 Thread Andrew Stevens
Hi, I have a pipeline that needs to serve up static files of any type from a particular directory. And yes, I know it'd be more efficient to just have the web server do it, but we don't control the server that hosts it and there's constraints on the configuration & deployment process that mea

RE: Cocoon and Sun Java System Application Server 8.2 PE

2006-05-25 Thread Andrew Stevens
From: "Victoria Vitaver" <[EMAIL PROTECTED]> Date: Thu, 25 May 2006 12:14:26 +1000 Hi, We currently have cocoon 2.1.9 happily running on jboss, however we are upgrading our servers and need to move it to a nice new Sun Java System Application Server. Unfortunately we have hit a wall as the xalan

RE: Accessing Global Variables As External File

2006-05-24 Thread Andrew Stevens
From: "Stewart, Gary" <[EMAIL PROTECTED]> Date: Wed, 24 May 2006 16:57:42 +0100 Hi there, I was wondering if it was possible to access the global-variables component configuration as an external file? Basically there are some values in there that change depending on which server I was using so

RE: Authentication-fw: two quick questions

2006-05-24 Thread Andrew Stevens
that. I'll give it a try. --- Andrew Stevens <[EMAIL PROTECTED]> wrote: > >From: footh <[EMAIL PROTECTED]> > >Date: Tue, 23 May 2006 10:22:59 -0700 (PDT) > > > >I've newly implemented cocoon's auth-fw and have a > >couple of questions. > >

RE: Authentication-fw: two quick questions

2006-05-23 Thread Andrew Stevens
From: footh <[EMAIL PROTECTED]> Date: Tue, 23 May 2006 10:22:59 -0700 (PDT) I've newly implemented cocoon's auth-fw and have a couple of questions. Unfortunately, I've not used the auth framework much, so I can't help with the first one. The second question has to do with roles. I have a p

RE: Restricting Logging

2006-05-23 Thread Andrew Stevens
From: "Victoria Vitaver" <[EMAIL PROTECTED]> Date: Tue, 23 May 2006 12:39:33 +1000 Hi, I am having trouble changing the logkit.xconf to restrict logging of cocoon messages. I have tried to look for 'howtos' but since logkit was a part of the now 'closed' avalon project I really cant dig up resou

RE: URI matching.

2006-05-22 Thread Andrew Stevens
From: Ronald Borman <[EMAIL PROTECTED]> Date: Mon, 22 May 2006 23:22:18 +0200 I have browsed through the documentation and the mail lists, but so far I haven't found an answer for this problem. Let's say I have an URI that looks like this: http://www.domain.com/cocoon/knowledge/article?id=1

RE: Filter Transformer generating non-XML

2006-05-21 Thread Andrew Stevens
From: "Derek Hohls" <[EMAIL PROTECTED]> Date: Sun, 21 May 2006 10:55:33 +0200 I am running Cocoon 2.1.5 and JDK 1.5. I have a SQL Transformer that seems to be working just fine; however, when I pass the results through the Filter Transformer I seem to get garbage out: ... At "debug1" stage I h

RE: Why two different matchers for project root and subdirectories?

2006-05-17 Thread Andrew Stevens
From: Ferdinand Soethe <[EMAIL PROTECTED]> Date: Wed, 17 May 2006 09:09:22 +0200 I'm sorry if this a really silly question but I found no explanation searching the archives and the net. I keep stumbling across the the problem with WildcardURI-Matcher that need to catch a resource in the project

RE: Aggregating variable sources

2006-05-11 Thread Andrew Stevens
From: j j <[EMAIL PROTECTED]> Date: Thu, 11 May 2006 15:09:53 -0700 (PDT) Hi Is it possible to aggregate various sources that are unknown at the time of writing the sitemap (using variables)? It's difficult with pipeline aggregation. I'd suggest you use the cinclude/xinclude transformer inst

Looking for a poll example for Cocoon

2006-05-07 Thread Andrew Stevens
Does anyone know of an "opinion poll" type component/block/sample for Cocoon (or, I guess, lenya). I thought one was mentioned a short while back along with other "standard" features like wikis, blogs, etc., but can't find anything in the archive. Andrew. -

Re: Dynamic configuration of input modules, and the XMLFileModule

2006-05-05 Thread Andrew Stevens
eware of the caching though; document caching doesn't use the Transient Cache, but instead a memory cache, which isn't even using SoftReferences (although oddly the XPath cache does), so if you've got a large or unlimited number of documents, turn caching off entirely (look a

RE: How to pass a file name with forward slash '/' to the URI in Apache Cocoon?

2006-05-04 Thread Andrew Stevens
From: "Ard Schrijvers" <[EMAIL PROTECTED]> Date: Thu, 4 May 2006 18:21:05 +0200 :S How do you get a filename with a foward slash in it anyway? I dont get this problem... $ touch foo\/bar.txt maybe? (although I can't actually try it until I get home from work...) Andrew. Hi All, How to

RE: Dynamic configuration of input modules, and the XMLFileModule

2006-05-03 Thread Andrew Stevens
From: "Ard Schrijvers" <[EMAIL PROTECTED]> Date: Tue, 2 May 2006 22:34:50 +0200 Think you can very easily solve your problems with a LocationMapModule (and have the locationmap created dynamically from the number of XML files you need). Look at forrest. Is that LocationMapModule standard in C

Dynamic configuration of input modules, and the XMLFileModule

2006-05-02 Thread Andrew Stevens
In the Cocoon javadocs[1] it says that input modules are passed a dynamic, per-request configuration which will usually override the static configuration from the cocoon.xconf. However, neither the javadocs nor the Input Modules Reference[2] in the docs give any indication of how you actually

RE: Select the pipeline to execute from an Action

2006-04-24 Thread Andrew Stevens
From: "Craig Christophersen" <[EMAIL PROTECTED]> Date: Mon, 24 Apr 2006 13:12:59 -0600 I need to conditionally execute one of several possible pipelines. I need to do some if/else in an Action on the xml data(probably using a SAX class) and execute the appropriate pipeline depending upon the da

RE: "auth-protect" not defined for "act"

2006-04-06 Thread Andrew Stevens
From: Peter Flynn <[EMAIL PROTECTED]> Date: Wed, 05 Apr 2006 22:05:18 +0100 ... So now that works, many thanks, but I now get the same class of error saying that auth-protect isn't defined. So taking a guess I tried not expecting it to work, and I wasn't disappointed :-) How many more of the

Re: "auth-protect" not defined for "act"

2006-04-06 Thread Andrew Stevens
From: Peter Flynn <[EMAIL PROTECTED]> Date: Wed, 05 Apr 2006 22:30:14 +0100 [EMAIL PROTECTED] wrote: Peter, I apologize if this has been asked before (I admit to coming somewhat late to this thread). When you built Cocoon, was the authentication-fw block selected for inclusion? I did the def

Re: "auth-login" not defined for "act"

2006-04-04 Thread Andrew Stevens
From: Peter Flynn <[EMAIL PROTECTED]> Date: Tue, 04 Apr 2006 20:03:56 +0100 I added to the section of my sitemap Inside the , right? but I'm still getting the same error: > Message: Type 'auth-login' is not defined for 'act' at > file:/home/peter/tomcat/webapps/ROOT/sitemap.xmap:554:2

Re: servlets & cocoon?

2006-04-03 Thread Andrew Stevens
From: Jean-Baptiste Quenot <[EMAIL PROTECTED]> Date: Mon, 3 Apr 2006 17:29:51 +0200 * [EMAIL PROTECTED]: > How can I map some servlets next to the Cocoon stuff in the same > context? You can't. That's strange, since I am :-) I put the servlets' jar file in WEB-INF/lib in the Cocoon war file,

RE: First Cocoon application help needed

2006-03-30 Thread Andrew Stevens
From: jigo jacob <[EMAIL PROTECTED]> Date: Thu, 30 Mar 2006 04:46:04 -0800 (PST) I have downloaded the latest cocoon release 2.1.8. After running the build I have copied the webapp folder instead of the war file in the TOMCAT_HOME/webapps directory. I then accessed the http://127.0.0.1:8080/coco

RE: "auth-login" not defined for "act"

2006-03-28 Thread Andrew Stevens
From: "peter" <[EMAIL PROTECTED]> Date: Tue, 28 Mar 2006 08:28:17 + I'm getting the following error: > Internal Server Error > > Message: Type 'auth-login' is not defined for 'act' at > file:/home/peter/tomcat/webapps/ROOT/sitemap.xmap:554:29 where the relevant lines say: 553: 554: 5

RE: metrics for cocoon vs web sphere

2006-03-05 Thread Andrew Stevens
From: "Sabinay_Swain" <[EMAIL PROTECTED]> Date: Sun, 5 Mar 2006 14:06:39 +0530 Hi, I am searching for a cocoon VS Web Sphere metrics we r trying to run the cocoon 2.1.2 application with web sphere 5.1.X we r getting the following error Do you mean performance metrics, or something else? The

Re: Problem while making a database connection

2006-03-05 Thread Andrew Stevens
From: Nandakumar Mounasamy <[EMAIL PROTECTED]> Date: Sat, 4 Mar 2006 16:15:36 -0800 (PST) I would try checking the presence of 'jdbc driver' (a jar file) in WEB-INF/lib directory. If it is not present, for the database that you are trying to connect to, download appropriate driver and place it

RE: [HELP]

2006-02-28 Thread Andrew Stevens
From: "Lakea Banks" <[EMAIL PROTECTED]> Date: Tue, 28 Feb 2006 08:51:12 -0600 Description:java.lang.NullPointerException java.lang.IllegalArgumentException: Insufficient information. at Message-id: <[EMAIL PROTECTED]> line 43 at users@cocoon.apache.org --

RE: is there a BrowserAction?

2006-02-16 Thread Andrew Stevens
From: Stephen Winnall <[EMAIL PROTECTED]> Date: Fri, 17 Feb 2006 01:01:45 +0100 I've spent some time googling for BrowserAction and variations of that, but I haven't found anything and suspect that I may have to write the thing myself. Does such a thing already exist? Or is there already an e

Re: pdf serializer

2006-02-11 Thread Andrew Stevens
From: Mike Casey <[EMAIL PROTECTED]> Date: Sat, 11 Feb 2006 19:48:20 +1300 Thanks for the response 1)Yes Xindice is returning XML no problem 2)What is valid xsl-fo code? If it helps the XHTML serializer, HTML serializer and text serializer are working correctly XSL Formatting Objects. In the

RE: i18n:attr translation

2006-02-09 Thread Andrew Stevens
From: philguillard <[EMAIL PROTECTED]> Date: Fri, 10 Feb 2006 01:39:17 +0800 Hi, What do you think about that ? I get a WARN I18nTransformer: Translation not found for attribute alt in element Is that not the right synthax ? The fact it's the I18nTransformer giving the warning suggests it's

Re: xhtml table -> mysqlimport

2006-02-08 Thread Andrew Stevens
From: Antonio Gallardo <[EMAIL PROTECTED]> Reply-To: users@cocoon.apache.org To: users@cocoon.apache.org Subject: Re: xhtml table -> mysqlimport Date: Wed, 08 Feb 2006 13:48:11 -0600 Derek Hohls wrote: Thufir I would not say that Saxon has any "learning curve"; your learning is in the use of X

Re: xhtml table -> mysqlimport

2006-02-07 Thread Andrew Stevens
From: THUFIR HAWAT <[EMAIL PROTECTED]> Date: Tue, 7 Feb 2006 19:16:41 -0500 > >>I would need to do an XSLT transform, perhaps using cocoon, to extract > >that data? > > That's another possibility. Or, if you've got XMLSpy you could open the URL > in one window, write some XSL in another, and ev

RE: xhtml table -> mysqlimport

2006-02-07 Thread Andrew Stevens
From: THUFIR HAWAT <[EMAIL PROTECTED]> Date: Tue, 7 Feb 2006 16:26:58 -0500 There's some data in an xhtml table which I'd like to import to a database using mysqlimport, or similar. Viewing the xhtml file from a browser doesn't display all the data--the data I'm after are the URL's. If I copy/p

RE: Cocoon XSLT and schema documents

2006-01-26 Thread Andrew Stevens
From: Martin Holmes <[EMAIL PROTECTED]> Date: Thu, 26 Jan 2006 10:54:16 -0800 Hi there, I have some XML documents (TEI P5) that start like this: http://www.tei-c.org/ns/1.0"; setting the element's namespace to http://www.tei-c.org/ns/1.0, I notice ... When XSLT transformations are run agains

RE: Cocoon XSLT and schema documents

2006-01-26 Thread Andrew Stevens
From: Martin Holmes <[EMAIL PROTECTED]> Date: Thu, 26 Jan 2006 10:54:16 -0800 Hi there, I have some XML documents (TEI P5) that start like this: http://www.tei-c.org/ns/1.0"; setting the element's namespace to http://www.tei-c.org/ns/1.0, I notice ... When XSLT transformations are run agains

RE: configuring Xerces features in Cocoon

2006-01-19 Thread Andrew Stevens
From: Scott Yeadon <[EMAIL PROTECTED]> Date: Fri, 20 Jan 2006 16:16:08 +1100 Hi, Is there a way via cocoon configuration to set Xerces properties and features? I have a DocBook document which has a DOCTYPE declaration which I don't want to validate or refer in any way to the DTD. I can do this

RE: How to asign a value to a variable??

2006-01-18 Thread Andrew Stevens
From: "Christian Barth" <[EMAIL PROTECTED]> Date: Wed, 18 Jan 2006 19:20:37 +0100 Hi! I want to define a global variable with no value. Then I want to asign a value to the variable in a choose-when-select. I think of something like this (but this one doesn't work):

RE: delete a file

2006-01-07 Thread Andrew Stevens
From: Christian Bindeballe <[EMAIL PROTECTED]> Date: Sat, 07 Jan 2006 17:24:45 +0100 hello, is it possible to make cocoon check for files in a directory once a day and delete certain (xml)-files? those would have an element like so it is rather clear, which ones to delete and which ones to ke

RE: Security and Authentication

2005-11-17 Thread Andrew Stevens
From: "Mike Dickson" <[EMAIL PROTECTED]> Date: Thu, 17 Nov 2005 12:31:35 -0800 What data does Tomcat forward to Cocoon so I can tell which user has just logged in? I need to look up their data and have it ready for the user home page. (What variables are handed to Cocoon to work with? JSESSIONI

RE: [2.1.7] LocaleAction and Cookie expiration

2005-11-08 Thread Andrew Stevens
From: Vincent Oostindië <[EMAIL PROTECTED]> Date: Tue, 8 Nov 2005 08:05:34 + (UTC) Hi, I use the LocaleAction to manipulate the user's locale. I want this locale to be kept in the cookie after the session ends, so that it is still available if the user accesses the application at a later

RE: Navigate to anchor in generated page?

2005-10-26 Thread Andrew Stevens
From: "Gary Larsen" <[EMAIL PROTECTED]> Date: Wed, 26 Oct 2005 19:41:44 -0400 I'm still new with Cocoon and not sure if this is possible. I would like to navigate to a location in the generated page directly from a link in another page. (In HTML this would be http://server/myfile.html#bookmar

RE: Cocoon check session id

2005-10-26 Thread Andrew Stevens
From: "Angelo Immediata" <[EMAIL PROTECTED]> Date: Wed, 26 Oct 2005 18:17:25 +0200 Hi all. Is possible with cocoon check if a session id is still alive? I must unteract with another application; i pass to this application the current user's session id; after some times the flow comes back to my

RE: Sharing is caring... selection-list for country codes?

2005-10-10 Thread Andrew Stevens
From: Mark Lundquist <[EMAIL PROTECTED]> Reply-To: users@cocoon.apache.org To: users@cocoon.apache.org Subject: Sharing is caring... selection-list for country codes? Date: Mon, 10 Oct 2005 17:30:41 -0700 Hi all, I need an XML file with an full of country name => ISO country codes... So, who

RE: Antwort: Re: JasperReports / JFreeReports

2005-09-08 Thread Andrew Stevens
From: [EMAIL PROTECTED] Date: Wed, 7 Sep 2005 14:53:34 +0200 > > A quick thought - would it be possible to use the Fragment Extractor > Transformer to write out the (generated) XML for JasperReports into a file, > then point JR at that? > > Andrew. > Can you give an example how this Transformer w

Re: JasperReports / JFreeReports

2005-09-07 Thread Andrew Stevens
From: [EMAIL PROTECTED] Date: Wed, 7 Sep 2005 09:21:53 +0200 Hi Yves, I wrote a reader (which is far from being mature). It's not really integrated into Cocoon. Let me know if you're interested. Here's how it works: ... I'd love to write a transformer for this, but since the XML processor is

Can't get CocoonTestCase for my transformer to work

2005-09-06 Thread Andrew Stevens
Hi, I've got some custom Cocoon components that I'm trying to write JUnit test cases for. Copying from the unit tests I can find in the Cocoon sources themselves, I made my tests extend org.apache.cocoon.SitemapComponentTestCase, and included matching .xtest files to configure them. The tes

LocaleAction and cookies

2005-07-21 Thread Andrew Stevens
Hi, I'm using Cocoon 2.1.7 to generate a bilingual site (i.e. every page may be displayed in either English or Chinese, according to the users' preference). I want the chosen language to be remembered between page requests, but there may not a session available (we had problems on a previous

ComponentManager error messages in log

2005-07-18 Thread Andrew Stevens
I've got a Cocoon (2.1.7) based application which is working fine, however, I've noticed that every ten seconds it's writing the following to the core.log: DEBUG (2005-07-18) 16:46.23:727 [core.runnable] (Unknown-URI) Unknown-thread/DefaultRunnableManager.ExecutionInfo: Executing command

JSPEngineServletRequest and Websphere

2005-06-28 Thread Andrew Stevens
I've been having some problems with the JSP generator on Websphere, which I've tracked down to the JSPEngineServletRequest. Does anyone know why it was implemented in the way it is? I had no trouble at first, reading the output of relatively simple JSPs. I had to adapt a few of them with an

RE: JSPReader/JSPGenerator on Websphere

2005-06-22 Thread Andrew Stevens
izer can't write anything to it. But if that were the case, surely there'd be an IOException or something in the logs? Andrew. From: "Andrew Stevens" <[EMAIL PROTECTED]> Date: Tue, 21 Jun 2005 19:40:47 +0100 Hi, I'm hoping someone can help me with a problem I

JSPReader/JSPGenerator on Websphere

2005-06-21 Thread Andrew Stevens
Hi, I'm hoping someone can help me with a problem I'm having running JSPs through Cocoon on Websphere, although from what I've found in the archives it seems like there's more problems than solutions so far as Websphere's concerned :-) I've built a web application based around Cocoon 2.1.7 a