Re: Internationalization

2001-10-30 Thread Dakkar
On 20011030190147, Adam A R wrote: > I want to make my application internationalized. i.e. Be able to present > Strings in different languages depending on the useragent. What I'll do is: - for static text: use the 'xml:lang' attribute in elements to mark them as belonging to a particular langua

RE: Request about Cocoon Generator / SAX-Events

2001-10-30 Thread ons
Dear JOERN_HEID, Though this is not an answer to your question but a request as to how did you do it. Can I receive the source code and anything else that needs to be done. Thanks and regards Vivek -Original Message- From: Jörn Heid [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 3

Re: Fop exception

2001-10-30 Thread Gritsenko
No problem - I was sarcastic :) I used O'Reilly's Java and XML book as well, but when I needed to xsl-transform xml data to fop document with 3 different layouts - one for first page, another for all pages in the middle and another for very last page - I bought one of Wrox books:XSLT - Programmér

[C2 10-30 snapshot, also RC1A] Doesn't build sitemap_xmap.java on Weblogic 6.1SP1

2001-10-30 Thread Meltsner, Kenneth
I have built and installed cocoon 2 on a fresh Weblogic 6.1 SP1 instance. After unzip'ing the war file (another story), I have managed to get things to the point where I receive the following: org.apache.cocoon.ProcessingException: Language Exception 'org\apache\cocoon\www\sitemap\sitemap

Request about Cocoon Generator / SAX-Events

2001-10-30 Thread Jörn Heid
I just finished to write my own generator. The resulting, valid xml is transformed to html via a xsl file. My problem is that the result is shown in the browser when all elements have been built. I thought that using SAX events results in a continuous outputted html. It's essential for me as

Re: Installing actions

2001-10-30 Thread Jozsa Kristof
Arno, I've tried both the cocoon/WEB-INF/classes/ dir, which should be auto-included due to the Tomcat config, and setting the extra-classpath in Cocoon's web.xml. In the first case, I get extreme errors, Cocoon cannot even start up its default page. In the second case, the dir in extra-classpa

Cocoon2 XSP in transformation

2001-10-30 Thread Gapinski, Gary (GEL, MSX)
I may just be thick, but I do not see how XSP can be used in a transformation. It is obvious in the generation phase. How, if at all, can one use XSP in the transformation stage of a pipeline without the definition and use of a logicsheet? Regards, Gary

xmlns:java

2001-10-30 Thread Vincent
Hi, I'm trying to run an example, which calls that namespace : http://www.w3.org/1999/XSL/Transform"; xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect" extension-element-prefixes="java redirect" xmlns:java="http://xml.apache.org/xslt/java"; > When i call this extension with:

Re: [c2]NullPointerException

2001-10-30 Thread Hubert NEOtyk Iwaniuk
Hi, answering on my own questions is my hobby i found that if i have xsp like this: is an error. i fixed it by enclosing with some other tag. and it works. have a nice day, hubert. - Please check that yo

[c2]NullPointerException

2001-10-30 Thread Hubert NEOtyk Iwaniuk
Hello, my c2 gives me something like this: message: Exception in ServerPagesGenerator.generate() description: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.NullPointerException i dont know how to fix it. i enclose sitemap, xsp, xsl. in cocoon.xco

Tomcat4.0 - Cocoon 1.8.2 - XSP

2001-10-30 Thread Frank Hess
Hi, i installed cocoon 1.8.2 on my Tomcat 4.0 and tryed out the examples. But the example First XSP Page gives me rhe following error: java.lang.ClassCastException: _usr._local._tomcat._tomcat40._webapps._cocoon._xsp._page at org.apache.cocoon.processor.xsp.language.java.XS

Re: Internationalization

2001-10-30 Thread Mario Muja
The sitemap belongs to Cocoon 2 and is the main configuration file to describe pipelines of content generation and XSL transformations. As far as I know, C2 supports internationalization much better than C1. Please read the I18N documentation on the C2 web site. Then you'll probably get a be

problem with "external-graphics" solved

2001-10-30 Thread Adnan Zelkanovic
If you run Cocoon2rc1a, Tomcat-3.2.3, FOP-0.20.1, Apache-1.3.20 and wonder why "external-graphics" does not work. Then you have to install Tomcat-4.0.1 ! That is the way to solve this "little" problem. Mit freundlichen Grüßen Adnan Zelkanovic allgäuNet.Onlinedienste GmbH Nebelhornstraße 8 8680

Using Avalon in Cocoon apps

2001-10-30 Thread Marcus Crafter
Hi All, Hope all is is well around the Cocoon globe! I have a question regarding the use of the Avalon component management system within Cocoon2 applications for custom components, namely, how do people best recommend to do it ? Lets say that I develop s

Re: Fop exception

2001-10-30 Thread Joop van Duin
Thanks for your 'advice' I thought that using example files from O'Reilly would work but obviously not all of them work. >From: "Gritsenko" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: Re: Fop exception >Date: Mon, 29 Oct 2001 17:26:18 -0500 > >that means

Internationalization

2001-10-30 Thread Adam A R
Hi All,   I am trying to do this since past many hours.   I want to make my application internationalized. i.e. Be able to present Strings in different languages depending on the useragent.   How to go about it??   I am using Cocoon 1.8 and my servlet engine is iAnywhere Wireless Server(iAWS

Cocoon2 - Loop facility in SiteMap

2001-10-30 Thread Kenneth Petersen
I am receiving a request containing a number parameters named "key". For each of this parameters I would like to call some action depending on the value of the parameter. Each parameter uses the pattern "[name]:[number]", and for every parameter I would like to call an action named "name". I gu

Cocoon2 : Selector using parameter from request.

2001-10-30 Thread Kenneth Petersen
I would like to use a parameter from the request to determine what xml-file to view. Without being sure, I think that the "parameter"-selector (org.apache.cocoon.selection.ParameterSelectorFactory) from the Cocoon SiteMap can be used for this. As a test I have written the following matcher: