Re: Sending different responses based on some conditions

2008-11-02 Thread Alfred Nathaniel
On Wed, 2008-10-29 at 17:15 +0100, Kjetil Kjernsmo wrote: Hi all, I have a StatelessAppleController which does some simple checking on the data it receives. In most cases, it should sendPage, but there are a few rare situations where it should redirect or return a 502 HTTP code. This

[JOB] Web application developer in Geneva

2008-09-01 Thread Alfred Nathaniel
://www.swx.com and other related websites. The working language is English but a basic knowledge of German is a plus. If you are interested, please post your application to http://www.swx.com/careers/description/g08msc_lsg01_en.html with reference to this announcement. Best regards, Alfred

Re: Where is cocoon going ?

2008-09-01 Thread Alfred Nathaniel
On Sat, 2008-08-30 at 00:26 +0200, Reinhard Pötz wrote: I'm not sure if I understand what you want to know. There was a vote by the Cocoon PMC with the result that Corona will become Cocoon 3 (see http://cocoon.markmail.org/message/txav36lmvpkpbso4). The vote was about whether Corona may be

RE: Cocoon 2.1.11 and XSLTC

2008-09-01 Thread Alfred Nathaniel
On 2008/08/29 at 09:32 Laurent Medioni [EMAIL PROTECTED] wrote: is it reasonable to set the default xslt processor to XSLTC in cocoon.xconf ? It seams to provoke some weird side effects in my case* Would it be a *common* change of the standard configuration ? (or is this why the standard

RE: ZipArchiveSerializer question

2008-09-01 Thread Alfred Nathaniel
On Mon, 2008-08-25 at 17:44 -0700, Steve Cameron wrote: Thanks Jasha, Adding the attribute mime-type=application/zip to the map:serialize type=zip/ fixes the problem! However, it is already in the in the main sitemap.xmap: map:serializer logger=sitemap.serializer.zip

Re: ZipArchiveSerializer question

2008-08-23 Thread Alfred Nathaniel
On Wed, 2008-08-20 at 20:54 -0700, Steve Cameron wrote: Hello, Is it possible to use the ZipArchiveSerializer and process the generator output straight off without sending it to a disk file first? I think this stream compression is possible but gives a less compressed result. I don't

Re: Type 'serverpages' does not exist for 'map:generate'

2008-06-06 Thread Alfred Nathaniel
On Fri, 2008-06-06 at 19:10 +0200, Grzegorz Kossakowski wrote: Warning: I'm stating my own opinion here, nothing official or something like that. There are at least three problems with XSP: 1. No active committer is interested in XSP anymore, and even more, hardly anyone wants to invest

Re: mounting and (parent) variables | 2.1.11

2008-05-01 Thread Alfred Nathaniel
On Mon, 2008-04-28 at 23:38 -0700, dynnamitt wrote: I just read this art.: http://wiki.apache.org/cocoon/SitemapVariableSubstitution Q: How can I reach variables set in parent-sitemap? I wanna use a map:act type=locale i a central xmap file and then do different mounts into sub-sitemaps

Re: Lucene jar version (1.4.2??) - cocoon 2.1.11

2008-04-17 Thread Alfred Nathaniel
On Thu, 2008-04-17 at 11:05 -0600, Antonio Gallardo wrote: I had no time to confirm, but I suspect the reason can be the cocoon 2.1 minimal requirement of JVM 1.3. If lucene migrated to JVM 1.4 for version 2.0 we cannot update the jar. Lucene 1.4.3 is indeed the last release for JVM 1.2.

Re: Cocoon Installation problems on SunOS

2007-10-12 Thread Alfred Nathaniel
You've got a real vintage piece of equipment there. SunOS 2.7, better known as Solaris 7, stems from the 20th century. (The current version is Solaris 10). IIRC before Solaris 9 a lot of patches were recommended to install for using Java. Do you have all these? Also, were the libraries built

Re: regexpUriMatcher

2007-08-05 Thread Alfred Nathaniel
On Thu, 2007-08-02 at 14:49 +0200, Tobia Conforto wrote: Anyways, I believe Cocoon uses Java's builtin regexp classes: Cocoon 2.1 still wants to be usable with JDK1.3. Therefore regexp use http://jakarta.apache.org/regexp/apidocs/org/apache/regexp/RE.html From the user's point of view

Re: regexpUriMatcher

2007-08-01 Thread Alfred Nathaniel
On Wed, 2007-08-01 at 12:22 -0400, Boissé Denis wrote: Hi, I have Cocoon version 2.1.10 Do regexpUriMatcher work with Ungreedy Matching: Example: map:match type=regexp pattern=^temp/(.*?)/$ Usually ungreedy matcher are in a form (.*?) and suppose to match something

Re: normalize-space and cocoon

2007-01-12 Thread Alfred Nathaniel
On Fri, 2007-01-12 at 22:23 +0100, =?UTF-8?Q? km ?= wrote: Hello I use cocoon 2.1 and tomcat. I use a lot of xsl with different params. Some of the params I catche with normalize-space($param). I think I can delete all normalize-space, but bevor I do something like this, I have a

Re: Using ESQL to insert binary data into BLOB filed using InputStream

2006-12-28 Thread Alfred Nathaniel
On Tue, 2006-12-26 at 04:06 -0800, Eitan Ben-Noach wrote: I would like to insert a file content (binary) into a BLOB field in my database (oracle ) using the file InputStream. Something that is analogous to java.sql.PreparedStatement. setBinaryStream(); ESQL is a great tool for ad-hoc

RE: Corrupted archive problem with the Cocoon ZipArchiveSerializer

2006-12-18 Thread Alfred Nathaniel
/ ? If that does not work for you, the problem must be in your environment. Did you try to save the file to disk and unpack it with jar xfv file.zip? If that works, it would indicate a WinZip problem. NB Tomcat 4.1.3 is really quite dated -- or is that a typo? -Message d'origine- De : Alfred

Re: Looking for help in upcoming release

2006-12-12 Thread Alfred Nathaniel
On Mon, 2006-12-11 at 15:17 +0100, Dev at weitling wrote: ... - Which is the SVN-address/-Command to checkout the new baby? Bye, Florian svn co http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X HTH, Alfred. -

Re: Corrupted archive problem with the Cocoon ZipArchiveSerializer

2006-12-08 Thread Alfred Nathaniel
On Fri, 2006-12-08 at 12:40 +0100, Dupont, Stephane wrote: One of you has already had this kind of problem with the ZipArchiveSerializer of Cocoon ? How can i resolve this problem. ? Thanks for your responses. Cordially Stephane Dupont PS : my environment is : JDK 1.4.2 - Cocoon

Re: COMET - Event driven web applications

2006-11-22 Thread Alfred Nathaniel
On Tue, 2006-11-21 at 23:39 +, Mr I Forrester wrote: Hi All, I was reading up on Comet [1] and wondered if Apache Cocoon would have the ability to do Comet method - *Comet* is a programming technique that enables web servers to send data to the client without having any need for the

Re: Java class: compile and load dynamically

2006-11-22 Thread Alfred Nathaniel
On Wed, 2006-11-22 at 17:02 +0100, Gabriele Columbro wrote: Completely agree with you, and that's why this feature has been added to the 2.2 trunk (actually I'm planning to start from Maurizio's work to complete the full reloading from sources, not only from classes, and to reach a zeroconf

Re: Using Cocoon's ESQL as replacement for Oracle's XSQL servlet

2006-11-21 Thread Alfred Nathaniel
On Tue, 2006-11-21 at 18:28 +0200, Alexander Shopov wrote: How do I make sure that I am getting the raw XML - without any XSLT transformations? Could be more specific about what you mean by this question? Cheers, Alfred. -

Re: Images in Cocoon 2.1.6

2005-03-07 Thread Alfred Nathaniel
On Mon, 2005-03-07 at 18:23, fadi qutaishat wrote: The XML file is like: ... info logo.gif /info You have to remove the spaces before and after logo.gif, or ... The XSL file is like: ... xsl:attribute name=srcxsl:value-of select=.//xsl:attribute ... or use here xsl:value-of

Re: Localization

2005-03-05 Thread Alfred Nathaniel
On Sat, 2005-03-05 at 10:40, Geert Josten wrote: I meant something like: match pattern=content/de/**.xml generate src={path to german content}/{1}.xml/ serialize type=xml / /match We are doing something like this but using the match pattern=**_de.xml. The advantage is that it makes

RE: XSP and parameters

2005-03-02 Thread Alfred Nathaniel
On Wed, 2005-03-02 at 17:48, Gawde, Kiran wrote: Note the tag. It should be: Test.xsp xsp:page language=java xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp=http://apache.org/xsp; xmlns:util=http://apache.org/xsp/util/2.0; xmlns:input=http://apache.org/cocoon/xsp/input/1.0;

Re: Source Resolving Problem

2005-03-01 Thread Alfred Nathaniel
On Sun, 2005-02-27 at 11:04, Claus Straube wrote: Are there API Docs for the package “org.apache.excalibur.source”? I can’t find anything… Is there a description how to resolve sources on the net? I found the one in the dev guide, but that is not enough for me to understand. The Javadocs

Re: Parameterization in a SOAP Call

2005-03-01 Thread Alfred Nathaniel
On Tue, 2005-03-01 at 09:29, Geert Josten wrote: I'm not sure whether it is possible to put a parameter in an attribute in XSP, just like in XSL, but you could easily add an XSL transform after the XSP generate. As far as I see and recall, the XSP generates a XML file with a soap: