Re: question about using custom tags in coccon

2002-04-23 Thread Konstantin Piroumian
> Hi All, >I am new to coccon. I have the following question. >Is it possible to use custom tags ( user defined tags) intermixed with the > tags provided by cocoon framework ? If so could you please point me to some > documentation on how to do that ? There are two possibilities of doing

Re: Parameter Selector Problem

2002-04-23 Thread Christian Haul
On 24.Apr.2002 -- 10:30 AM, manish wrote: > Hello, > I am facing some problem while using Parameter Selector. I got one example in >cocoon API, but when I am executing this example it give the following error. > If I remove the line value="myParameterValue"/> then it don't give the error, b

Re: Simple esql problem, I think

2002-04-23 Thread Christian Haul
On 23.Apr.2002 -- 01:20 PM, [EMAIL PROTECTED] wrote: > > I working with on a simple database query with cocoon 2. I've done > this with the older cocoon, but here I'm having a processing problem > of some sort with the taglib. > > The connection pool is fine, that's working, however something g

RE: Does HSSF Serializer work?

2002-04-23 Thread Sozonnik Andrew
Look to my yesterday post. There I attach simple xml+xsl but with national chars. It works with Cocoon 2.0.2 JDK 1.3.1 Resin 2.0.5 Excel XP Win XP I think you have to try to rollback to JDK 1.3 and/or replace servlet container. I faced with some troubles on Resin and moved to Orion. With respect

Re: Problem using xpath parameter with HTMLGenerator

2002-04-23 Thread KOZLOV Roman
Hi Jeremy, Did you read this http://www.cocooncenter.de/cc/documents/resources/request-params/requestparamaction.html ? And in short, you need: Best regards. Roman Jeremy Crosbie wrote: > I am trying to use the HTMLGenerator and the optional "xpath" parameter, > similar to how the

Parameter Selector Problem

2002-04-23 Thread manish
Hello,     I am facing some problem while using Parameter Selector. I got one example in cocoon API, but when I am executing this example it give the following error.   If I remove the line then it don't give the error, but I need to declare the parameter for selector.   I am struck due to t

RE: Stylesheet directed termination(newbie)

2002-04-23 Thread Kenny Chow
Got it. Very appreciate it Vadim. --- Vadim Gritsenko <[EMAIL PROTECTED]> wrote: > > From: Kenny Chow [mailto:[EMAIL PROTECTED]] > > > > > > cocoon > > /project > >browse.xsp > >browse-test.xsl > > > > sitemap > > > > > > > > > > > > browse.xsp generates the following xml file

RE: ComponentException fatal error

2002-04-23 Thread Kari Whitcomb
I tried using Tomcat 4.0.4 b2 with Cocoon 2.0.2 as was suggested and got it working for a brief moment. But then I tried removing the cocoon webapp and re-deploying it, and now I'm getting the same errors as before with Tomcat 4.0.3. I've even tried reinstalling Tomcat 4.0.4 and Cocoon 2.0.2 a

Stupid installation/config problem HELLLLLPPPPP

2002-04-23 Thread Gal Nitzan
Just finished upgrading from 2.0.1 -> 2.0.2 with Tomcat 4.0.4  b2 on win2k and my old code doesn't seem to be found by Cocoon.   I keep on getting:   WARN    (2002-04-24) 01:45.44:507   [sitemap.generator.serverpages](/cocoon/dealtime) HttpProcessor[8080][2]/ServerPagesGenerator: Failed to l

Does xsl:attribute-set work? Cocoon-2.0.2

2002-04-23 Thread Steven Punte
Dear Cocoon User Group: Is anyone sucessfully using the Xsl tag "attribute-set" with Cocoon 2.0.2 sucessfully. I always get a null pointer expection even when I just boil it down to the one line: Hmm: pretty hard to wrong here, but maybe. Steve Punte ___

Re: Does HSSF Serializer work?

2002-04-23 Thread Andrew C. Oliver
I'm on RHL 7.2, kernel 2.4.17/2.4.9-RH, JDK 1.3.1, Tomcat 4.0.1/4.0.4b2, Have Gnumeric 1.0.4. Do the samples not work? Can you open a bug and attach defective sheets and/or the xml/xsl you're using to generate it. Are any exceptions thrown? Version of Excel? (97+ is required) -Andy On Tue,

Re: special characters for i18n

2002-04-23 Thread Horst Rutter
Sorry for not mentioning.. Yes, this is portuguese, but I don't want to mislead anybody, because I am not. The translation was provided by my wife who speaks native Portuguese. Send me your (latest) version of simple_dict.xml unless it's in cvs and I fill in the blanks. As far as providing simp

Problem using xpath parameter with HTMLGenerator

2002-04-23 Thread Jeremy Crosbie
I am trying to use the HTMLGenerator and the optional "xpath" parameter, similar to how the Yahoo screenscrape example works. However, the XPath expression I need is determined by a URL parameter, below is the section I am using: http://www.somesite.com/xml";> The {id

question about using custom tags in coccon

2002-04-23 Thread Jayashri Visvanathan
Hi All, I am new to coccon. I have the following question. Is it possible to use custom tags ( user defined tags) intermixed with the tags provided by cocoon framework ? If so could you please point me to some documentation on how to do that ? I would greatly appreciate if you coul

Simple esql problem, I think

2002-04-23 Thread jsexton
I working with on a simple database query with cocoon 2. I've done this with the older cocoon, but here I'm having a processing problem of some sort with the taglib. The connection pool is fine, that's working, however something goes wrong with the esql. It just sents the client back the xml w

RE: passing request parameters to xsl using cocoon 2.x: Null Pointer

2002-04-23 Thread Zachary A Lendon
I got it working! Thanks for your help - was a struggle but got there...more fun to be had! Glad to be apart of the group... "Zachary A

RE: Stylesheet directed termination(newbie)

2002-04-23 Thread Vadim Gritsenko
> From: Kenny Chow [mailto:[EMAIL PROTECTED]] > > > cocoon > /project >browse.xsp >browse-test.xsl > > sitemap > > > > > > browse.xsp generates the following xml file > > http://apache.org/xsp"; > xmlns:xspdoc="http://apache.org/cocoon/XSPDoc/v1"; > xmlns:esql="http://apache.o

Problems with XSP

2002-04-23 Thread cyril vidal
HY!   I would like to execute a very simple XSP sample. Here is my sitemap:   http://apache.org/cocoon/sitemap/1.0">                                                                                           Unfortunately

RE: Iteration inside xsp

2002-04-23 Thread Vadim Gritsenko
> From: Volker Schneider [mailto:[EMAIL PROTECTED]] > > Hi Harry, > > thank you for your reply. It tried the "request" variable. I tried to get > the session from the request but it didn't work. > > > http://apache.org/xsp"; > xmlns:xsp-session="http://apache.org/xsp/session/2.0"; >

Does HSSF Serializer work?

2002-04-23 Thread Seth Ladd
Hello everyone, Before I go delving into everything, I wanted to ask if people were successful with using the HSSF Serializer. Currently it generates XLS files that crash Excel. I am using the latest (as in tonight) nightly build of Cocoon, Resin 2.0.2 and JDK 1.4 on Linux 2.4.17. The gnumeric

Stylesheet directed termination(newbie)

2002-04-23 Thread Kenny Chow
cocoon /project browse.xsp browse-test.xsl sitemap browse.xsp generates the following xml file http://apache.org/xsp"; xmlns:xspdoc="http://apache.org/cocoon/XSPDoc/v1"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:card="http://deibcres.com/card/1.0";> Browse card

RE: Iteration inside xsp

2002-04-23 Thread Volker Schneider
Hi Harry, thank you for your reply. It tried the "request" variable. I tried to get the session from the request but it didn't work. http://apache.org/xsp"; xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="true"> org.apache.cocoon.environment.Reques

RE: sendmail

2002-04-23 Thread Mathews, Silvy (HQP)
Title: RE: sendmail Hi Everybody, Could anybody send me the updated files for sending the mail from cocoon. I am not able to get it from the cvs since my proxy settings do not allow http tunnelling. If you have the complete example, that would be wonderful ( from sending an email using cocoo

RE: How to pass parameters to stylesheet from sitemap

2002-04-23 Thread Stephen Ng
Sorry; you are right, it works fine, this looks like a bug in my stylesheet somewhere. Thanks, Steve > -Original Message- > From: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 12:04 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: How to pa

Re: Iteration inside xsp

2002-04-23 Thread Christian Haul
On 23.Apr.2002 -- 08:50 PM, Volker Schneider wrote: > Hi Harry, > > thank you, this helps. But there is another question coming up, maybe you > know the answer as well: > > How can I access the session or request object whithin the xsp logic > sheet(). Inside the I can access it using the > ses

Does stylesheet can take/keep sessionid from outside?

2002-04-23 Thread Peng, Meimin
Title: Does stylesheet can take/keep sessionid from outside? Hi, I've a question here. Please help. Does stylesheet can take/keep session id from outside?? Thanks. --Zoe CONFIDENTIALITY NOTICE:  The information in this e-mail is privileged and confidential.  Any use, copying or dissemin

RE: two xml source files

2002-04-23 Thread Piroumian Konstantin
Title: Message Use aggregation. Add something like this to a matcher: ...         map:aggregate> ...   You should d

RE: special characters for i18n

2002-04-23 Thread Piroumian Konstantin
Title: Message Hi!   Thanks for sending this. I guess that this is Portuguese? Could you also translate this line: "Portuguese translation was made by []" and the name of Portugal?   Btw, the simple_dict_pt.xml is in the old dictionary format and it's not supported any more. Why do you us

RE: Iteration inside xsp

2002-04-23 Thread Lai, Harry
Hi Volker, In an XSP doc (or logicsheet), there are a set of "built-in" variables that you can use to access servlet objects (taken from the comments in the java file derived from an XSP doc): /* Built-in parameters available for use */ // context- ServletContext // request-

RE: Iteration inside xsp

2002-04-23 Thread Volker Schneider
Hi Harry, thank you, this helps. But there is another question coming up, maybe you know the answer as well: How can I access the session or request object whithin the xsp logic sheet(). Inside the I can access it using the session-namespace. But inside the logic sheet I have no ObjectModel. T

RE: Iteration inside xsp

2002-04-23 Thread Artur Bialecki
Look at xsp.xsl in org/apache/cocoon/components/language/xsp/java for list of all xsp tags. To solve your problem: for( Iterator iter = v.iterator; iter.hasNext();) { (String)iter.next() } You can also use if you don't know what the tag will be. Artur... > -Original Message---

RE: Iteration inside xsp

2002-04-23 Thread Lai, Harry
Hi Volker, I'm sure there are better tutorials, but this article comparing JSP and XSP actually has a decent table of XSP tags on page 3. http://www.onjava.com/pub/a/onjava/2001/02/22/jsp_servlets.html Also, with regards to your question, there's an example on page 2 of this article that iterat

RE: How to extract XML data from BufferedReader?

2002-04-23 Thread Chitharanjan Das
String xml = getStringFromReader(bufferedReader); xml This should do the trick Note: getStringFromReader is an abstraction, you need to write the code to do the exact extraction of xml string from buffered reader Ensure that there is no whitespace between the and elements. Regds, Chiths

Iteration inside xsp

2002-04-23 Thread Volker Schneider
Dear colleagues, I want to use xsp to retrieve data from the session. The only problem is, that I cannot put list content out to the xsp page. If I want to write out a list of names which are stored in a vector, how can I produce an xsp-page like this: ... Volker Peter Betty ... an so on. Sure

RE: xslt transformer caching

2002-04-23 Thread Vadim Gritsenko
> From: Stephen Ng [mailto:[EMAIL PROTECTED]] > > The xslt transformer doesn't know if a file that is being imported has > changed and needs to be reloaded instead of using the cached version. > > I.e.: > > > > If foo.xslt 's bar.xslt, Cocoon doesn't check to see if > bar.xslt has changed. Is

Pure txt as ouput

2002-04-23 Thread Ariel Bender
Title: Pure txt as ouput Hi all. I'm a newbie in these technologies, and I've got a problem that I don't know how to resolve. May be be someone can help me. I am using cocoon1, xml, xsl... I want to get a pure txt as output file, obviosly whithout a hedar, and also with no xml tags. I'm usi

RE: i18n in xslt

2002-04-23 Thread Piroumian Konstantin
> From: Jerzy Kut [mailto:[EMAIL PROTECTED]] > > Sorry - of course. But it don't helps. I paste only > abbrewiated snippets > into post. > But thank You. > Trouble is located somewhere in component.xslt i think, but i don't > understand why nullpointerexception is throwed... The stylesheet its

xslt transformer caching

2002-04-23 Thread Stephen Ng
The xslt transformer doesn't know if a file that is being imported has changed and needs to be reloaded instead of using the cached version. I.e.: If foo.xslt 's bar.xslt, Cocoon doesn't check to see if bar.xslt has changed. Is there a way in the sitemap to explicitly specify that foo.xslt dep

RE: passing request parameters to xsl using cocoon 2.x: Null Pointer

2002-04-23 Thread Vadim Gritsenko
> From: Zachary A Lendon [mailto:[EMAIL PROTECTED]] > > > Thank you for the info. I get the below error even when accessing the > samples in cocoon. I've tried various map permutations, and even taken out > everything else (pipeline related) out of my "framework" dir's sitemap. It > looks lik

Re: [C2] Transformer problem with endDocument()

2002-04-23 Thread Peter Royal
On Tuesday 23 April 2002 11:18 am, Artur Bialecki wrote: > There is no errors when running w/o Xalan and there is > no null in my collection. It happens on the very last > line of generate(). Looking at the archives some people > had similar problem when including XML in string form > but the xsp-

Re: i18n in api & session cookie

2002-04-23 Thread Konstantin Piroumian
From: "Alexander Smirnoff" <[EMAIL PROTECTED]> > From: "Konstantin Piroumian" <[EMAIL PROTECTED]> > > > > Hi, > > > > > > Two questions, > > > > > > 1. I would like to use i18n transformation within proprietary > > > Java API with cocoon framework on top. How could I do that? > > > If any have a c

RE: passing request parameters to xsl using cocoon 2.x: Null Pointer

2002-04-23 Thread Zachary A Lendon
Thank you for the info. I get the below error even when accessing the samples in cocoon. I've tried various map permutations, and even taken out everything else (pipeline related) out of my "framework" dir's sitemap. It looks like from below that the issue is with my main sitemap, but I've cha

Re: i18n in api & session cookie

2002-04-23 Thread Alexander Smirnoff
- Original Message - From: "Konstantin Piroumian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 12:32 PM Subject: Re: i18n in api & session cookie > > Hi, > > > > Two questions, > > > > 1. I would like to use i18n transformation within proprietary > > Java A

Re: i18n in api & session cookie

2002-04-23 Thread Konstantin Piroumian
> Hi, > > Two questions, > > 1. I would like to use i18n transformation within proprietary > Java API with cocoon framework on top. How could I do that? > If any have a code example for it? Have seen org.apache.cocoon.transformation.I18nTransformer? Is it what you are looking for or you need some

i18n in api & session cookie

2002-04-23 Thread Alexander Smirnoff
Hi, Two questions, 1. I would like to use i18n transformation within proprietary Java API with cocoon framework on top. How could I do that? If any have a code example for it? 2. When creating session if client disabled cookies how to enable URL session tracking? Just need a hint. Thanks, A

Re: problems installing cocoon2.0.2 under Tomcat4.0.3 and jdk1.4

2002-04-23 Thread snpe
hello, I am tried with batik jar in cocoon/WEB-INF/lib and common/lib and cocoon work fine regards peco On Tuesday 23 April 2002 03:34 pm, Gregor Neu E1 wrote: > Hi Gerhard, > > thank you for your advice on using jar to edit war files... > I removed the xalan, xerxes and batik jar (and th

RE: how to use the RequestGenerator

2002-04-23 Thread Sreedhar Chintalapaty
See Andreas Hartman's excellent article http://www.cocooncenter.de/cc/documents/resources/request-params/index.html Sreedhar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of LEBRETON Philippe Sent: Tuesday, April 23, 2002 11:36 AM To: Cocoon User Subject:

Xslt transformer caching

2002-04-23 Thread Stephen Ng
The xslt transformer doesn't know if a file that is being imported has changed and needs to be reloaded instead of using the cached version. I.e.: If foo.xslt 's bar.xslt, Cocoon doesn't check to see if bar.xslt has changed. Is there a way in the sitemap to explicitly specify that foo.xslt dep

Re: How to pass parameters to stylesheet from sitemap

2002-04-23 Thread Konstantin Piroumian
> Is there a way to pass in a parameter to a stylesheet run by the xslt > transformer? > > I want to do something like this: > > > > > > But it doesn't seem to work. It works here. Did declare in your stylesheet? Konstantin > > Thanks, > > Steve > > > ---

How to pass parameters to stylesheet from sitemap

2002-04-23 Thread Stephen Ng
Is there a way to pass in a parameter to a stylesheet run by the xslt transformer? I want to do something like this: But it doesn't seem to work. Thanks, Steve - Please check that your questio

Re: Problem with special german characters and LDAP -Transformer

2002-04-23 Thread Berin Loritsch
[EMAIL PROTECTED] wrote: > Hello, > > I have still Problems with the special german characters and the > LDAP-Transformer. > When I write > ="org.apache.cocoon.serialization.HTMLSerializer"> > -//W3C//DTD HTML 4.01 Transitional//EN > ISO-8859-1 > yes > > nothing happens. > > When I

Re: Problem with special german characters and LDAP -Transformer

2002-04-23 Thread Katrin_Seiffert
Hello, I have still Problems with the special german characters and the LDAP-Transformer. When I write -//W3C//DTD HTML 4.01 Transitional//EN ISO-8859-1 yes nothing happens. When I make in the xsp-page between a ldap-query, the characters return fine. Why return the LDAP-Transfo

how to use the RequestGenerator

2002-04-23 Thread LEBRETON Philippe
I want to use the RequestGenerator with a parameter. on my sitemap how i can declare some parameter to post with the request? Thank Philipe LEBRETON - Please check that your question has not already been answered in the FAQ be

RE: [C2] Transformer problem with endDocument()

2002-04-23 Thread Artur Bialecki
There is no errors when running w/o Xalan and there is no null in my collection. It happens on the very last line of generate(). Looking at the archives some people had similar problem when including XML in string form but the xsp-util:include will not work here. Any other ideas ? Thanks, Artu

RE: ComponentException fatal error

2002-04-23 Thread Vadim Gritsenko
> From: Kari Whitcomb [mailto:[EMAIL PROTECTED]] > > You seem to be suggesting that there is no way to fix it with Tomcat 4.0.3. > Is that correct? No, I was able to make it run. It more or less documented in install instructions. However, for the newcomers I suggest first to try with something

Re: question concerning cocoon.war

2002-04-23 Thread Ken Bannister
Gregor Neu E1 wrote: > I am a newbie and didn't know how to handle war-files (until somebody > told that they work like jars...) > > Gregor Or you could keep the libraries from getting in the war file at all. Here's a snippet from my build.xml, based on the latest CVS:

Re: sendmail

2002-04-23 Thread Martin Mauri
Ok, thanks for the info. Anyway it's not up to me to change the version cause I've got my site hosted on MyCgiServer and they have 1.8.2. Thanks anyway! m- - Original Message - From: "Christian Haul" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 10:25 AM Subje

RE: ComponentException fatal error

2002-04-23 Thread Kari Whitcomb
You seem to be suggesting that there is no way to fix it with Tomcat 4.0.3. Is that correct? What in particular is causing the incompatibility? Thanks, Kari - Original Message - From: "Vadim Gritsenko" <[EMAIL PROTECTED]> Date: Tue, 23 Apr 2002 09:37:36 -0400 To: <[EMAIL PROTECTED]>

RE: sendmail

2002-04-23 Thread Vadim Gritsenko
> From: Martin Mauri [mailto:[EMAIL PROTECTED]] > > Vadim, there's also an Sendmail.xsl in 1.8.2, I wonder if it could be > suitable to use it as an email sender form on my web site at > MyCgiServer.com. Yes, it should work. Vadim > - Original Message - > From: "Vadim Gritsenko" <[EMA

RE: ComponentException fatal error

2002-04-23 Thread Vadim Gritsenko
> From: Kari Whitcomb [mailto:[EMAIL PROTECTED]] > > If at all possible, I would rather not use Tomcat 4.0.4 since it is still > beta. Is there any way to work around the problem using Tomcat 4.0.3? Tomcat 4.0.1 is second choice. Stable, and installation is a snap. Vadim > -Kari > - Orig

Re: problems installing cocoon2.0.2 under Tomcat4.0.3 and jdk1.4

2002-04-23 Thread Gregor Neu E1
Hi Gerhard, thank you for your advice on using jar to edit war files... I removed the xalan, xerxes and batik jar (and the xml-apis.jar) from cocoon.war and installed it into jakarta-tomcat-4.0.3/webapps (after removing the jakarta-tomcat-4.0.3/webapps/cocoon directory) I started tomcat (which w

Re: sendmail

2002-04-23 Thread Martin Mauri
Vadim, there's also an Sendmail.xsl in 1.8.2, I wonder if it could be suitable to use it as an email sender form on my web site at MyCgiServer.com. - Original Message - From: "Vadim Gritsenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 10:29 AM Subject: RE:

RE: ComponentException fatal error

2002-04-23 Thread Kari Whitcomb
If at all possible, I would rather not use Tomcat 4.0.4 since it is still beta. Is there any way to work around the problem using Tomcat 4.0.3? -Kari - Original Message - From: "Vadim Gritsenko" <[EMAIL PROTECTED]> Date: Tue, 23 Apr 2002 00:38:12 -0400 To: <[EMAIL PROTECTED]> Subject:

RE: sendmail

2002-04-23 Thread Vadim Gritsenko
> From: Martin Mauri [mailto:[EMAIL PROTECTED]] > > Hi, I have Cocoon 1.8.2 with its source code but I cannot find the > SendMailTransformer source, what could be happening?? It could be that you have not updated your Cocoon version for a while. ;) People are talking here about 2.0+ version. V

RE: two xml source files

2002-04-23 Thread Arda Balci
Aggregation is working and it is simple !! This way someone easily build dynamic menus? But I still can't figure out why the cocooncenter.org navigation menu example is that much complex? Anyway thank you all, Arda Balci It Consultant -Original Message- From: Bert Van Kets [mailto:[EMA

Re: sendmail

2002-04-23 Thread Christian Haul
On 23.Apr.2002 -- 10:11 AM, Martin Mauri wrote: > Hi, I have Cocoon 1.8.2 with its source code but I cannot find the > SendMailTransformer source, what could be happening?? You're using the wrong version. Transformers are a Cocoon 2 concept and thus not present in Cocoon 1. Consider updating to a

Re: i18n in xslt

2002-04-23 Thread Konstantin Piroumian
> My stylesheet: > > component.xsl: > > > xmlns:i18n="http://apache.org/cocoon/i18n/2.0"; > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> > > > > > > > > select="$action"/> > > > > select="$action"/> >documen

Re: i18n in xslt

2002-04-23 Thread Jerzy Kut
My stylesheet: component.xsl: http://apache.org/cocoon/i18n/2.0"; xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> document.batch.submit(); return (false) GO! messages.xml

Re: sendmail

2002-04-23 Thread Martin Mauri
Hi, I have Cocoon 1.8.2 with its source code but I cannot find the SendMailTransformer source, what could be happening?? - Original Message - From: "Liam Morley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 22, 2002 5:52 PM Subject: Re: sendmail > Take a look at the S

Disposed ComponentSelector error?

2002-04-23 Thread Derek Hohls
I am having problems connecting to a database from Cocoon (mySQL). I have added all the usual entries in cocoon.xconf (and have used other databases in a similar way - so its not the driver..) The same setup works fine on the test machine. The root.log reports the following problem (as the firs

Re: question concerning cocoon.war

2002-04-23 Thread Gregor Neu E1
I am a newbie and didn't know how to handle war-files (until somebody told that they work like jars...) Gregor - Please check that your question has not already been answered in the FAQ before posting.

RE: [Problem]sendmail - reference to Session is ambiguous

2002-04-23 Thread Vadim Gritsenko
> From: Christian Haul [mailto:[EMAIL PROTECTED]] > > On 18.Apr.2002 -- 10:02 AM, Vadim Gritsenko wrote: > > > From: Ehms, Jurgen [mailto:[EMAIL PROTECTED]] > > > > > > Here is the Bugfix to Sendmail.xsl > > > > > > - long Path to javax.mail.Session on account of ambiguous to > > > org.apache.coc

RE: question concerning cocoon.war

2002-04-23 Thread Vadim Gritsenko
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Gregor Neu E1 > > Hi all, > > somwhere on the install page > "http://xml.apache.org/cocoon/installing/index.html"; under the heading > "Installing on Tomcat 4.0.3 " it says: > > ... > 3.Remove xalan-XXX.jar,

RE: Exception in creating Transform Handler

2002-04-23 Thread Vadim Gritsenko
> From: Andreas Buschka (tops.net) [mailto:[EMAIL PROTECTED]] > > Hello! > > I have the following setup: > > - SuSE 8.0 Base System with the bundled Apache > - Cocoon 2.0.2 Binary installation in /opt/jakarta/webapps/cocoon > > The base installation works fine, but I cannot add a directory to

Re: Antwort: Problem with special german characters and LDAP -Transformer

2002-04-23 Thread Berin Loritsch
[EMAIL PROTECTED] wrote: > Hi, > > >>I use the LDAP-Transformer. It's works fine. But I have a Problem with >>special german characters. I must use the character set "ISO-8859-1". >>The Problem occurs only on LDAP-Transformer-Datas. On the normal conversion >>from xml to html using xslt occurs n

Re: problems installing cocoon2.0.2 under Tomcat4.0.3 and jdk1.4

2002-04-23 Thread Gerhard Hipfinger
Hi Gregor, I use the same components like you, and it works fine for me. The modification of the war file seems to be nessesary. You can use zip or jar to extract the war file, remove the xalan, xerxes and batik jar files, and produce a war file again. if you don't know to handle jar (the com

AW: problems installing cocoon2.0.2 under Tomcat4.0.3 and jdk1.4

2002-04-23 Thread Jörn Heid
I think there were some posts for it before. And I hope I'm right ;) The problem is Java 1.4. It has older versions of the xml libs. So, create a dir in "jre/lib/ext" of your java installation named "endorsed". There you should put the removed jars in order to replace the Java 1.4 xml libs. ---

Re: i18n in xslt

2002-04-23 Thread Konstantin Piroumian
> No. I have messages.xml only. If i think properly when i have no specialized > message_locale.xml file general message.xml will be used - am i right? So i > needn't specify locale request parameter...? Yes, exactly like that! > When i try to use tags in my any.xml all works good. > But i want

Re: i18n in xslt

2002-04-23 Thread Jerzy Kut
No. I have messages.xml only. If i think properly when i have no specialized message_locale.xml file general message.xml will be used - am i right? So i needn't specify locale request parameter...? When i try to use tags in my any.xml all works good. But i want to avoid this and try to use in tr

RE: two xml source files

2002-04-23 Thread TREGAN Fabien
>but I can't call the content from the menu.xml file using document() >function. the document() function can be used in an xpath inside the xslt : fabien. - Please check that your question has not already been answered in the

Re: i18n in xslt

2002-04-23 Thread KOZLOV Roman
Hello, Do you specify request parameter "locale" with value for which messages_.xml exists? Roman Jerzy Kut wrote: > Sorry - of course. But it don't helps. I paste only abbrewiated snippets > into post. > But thank You. > Trouble is located somewhere in component.xslt i think, but i don't > un

Antwort: Problem with special german characters and LDAP-Transformer

2002-04-23 Thread Christoph . Oberle
Hi, > I use the LDAP-Transformer. It's works fine. But I have a Problem with > special german characters. I must use the character set "ISO-8859-1". > The Problem occurs only on LDAP-Transformer-Datas. On the normal conversion > from xml to html using xslt occurs no Problems with special german >

RE: two xml source files

2002-04-23 Thread Arda Balci
Thank you both, I am giving more detail: I would like to see your approach, I tried to use the param but I was unsuccessful. I used the cocooncenter.org navigation menu example as a pointer. I can pass the parameter contaning the menufile name to the xsl file (the parameter is defined on the sit

Re: two xml source files

2002-04-23 Thread Derek Hohls
Slightly away from what you wanted but still useful- have a look at the 'Bonebreaker' tutorial at : http://www.cocooncenter.org/cc/documents/resources/navigation/index.html It also has an approach for a separate menu and body file (makes use of the document() function in xsl AFAIK) Derek >>> [

RE: two xml source files

2002-04-23 Thread TREGAN Fabien
Yet another solution to your problem (the one I choosed, don't know if it's the fastest, but it's re-usable) : -1 pipe make menu.xml + menu.xsl -> xhtml -2 another pipe make content.xml + menu.xsl -> xhtml -3 another pipe make template.xml + cincludetransformer + html serializer -> html and, of

Re: special characters for i18n

2002-04-23 Thread Konstantin Piroumian
Hi! Thanks for sending this. I guess that this is Portuguese? Could you also translate this line: "Portuguese translation was made by []" and the country name of Portugal? Btw, the simple_dict_pt.xml is in the old dictionary format and it's not supported any more. Why do you use it? -- Konstan

problems installing cocoon2.0.2 under Tomcat4.0.3 and jdk1.4

2002-04-23 Thread Gregor Neu E1
Hi all, I rebuilt cocoon under jdk1.4 and tried to install it under tomcat4.0.3 (both the full and the "light" edition) I carefully followed the installation instructions in "http://xml.apache.org/cocoon/installing/index.html"; (except for the bit " ...3.Remove xalan-XXX.jar, xercesImpl-XXX.jar

Re: two xml source files

2002-04-23 Thread Venkatachalapathi
You may also use this type if xsl processor can be used on this place at the top. and build the xsl params at run time using any xsl processor. Inside xsl you can refer with MenuFile/... so on.. Actually I don't know the exact situation where you are using. But in one of our project we solv

Re: DTD for the sitemap

2002-04-23 Thread Konstantin Piroumian
Have a look at: xml-cocoon2\src\documentation\xdocs\drafts\sitemap-working-draft.xsd and xml-cocoon2\src\documentation\xdocs\dtd\sitemap-v02.dtd Regards, Konstantin Piroumian > On Tue, 23 Apr 2002, neil wrote: > > > Has anyone come up with a reasonably rigorous DTD for the sitemap? I know >

Re: DTD for the sitemap

2002-04-23 Thread Erwin
On Tue, 23 Apr 2002, neil wrote: > Has anyone come up with a reasonably rigorous DTD for the sitemap? I know > its been talked about at various times, but I haven't found one yet. > I've cobbled together the following DTD, which I find handy with emacs xml > (psgml) mode. It handles the cocoon-2.

Re: two xml source files

2002-04-23 Thread Bert Van Kets
At 14:15 23/04/2002 +0300, you wrote: >I have two xml files. One is for the menu content, the other is for the >body content. I want to read from these two different files with one xsl >file, and serialize html. > > > >The menu file is to be used with each page. > > > >I couldn t solve the pro

RE: sendmail xsl problem - singleton mail session?

2002-04-23 Thread Christopher Watson
Hello, I've played with sendmail.xsl a bit recently. I notice that it uses javax.mail.Session.getDefaultInstance I had trouble getting this one to change mail hosts via the parameter: subsequent messages continued to use the host I'd used in the first message I haven't delved into javax.mail fa

RE: two xml source files

2002-04-23 Thread Luca Morandini
Arda, you may use a number of solution: 1) Aggregate (using ) those XML fiels and feed them to the XSLT transformer 2) Use document() function inside the stylesheet Best regards, P.S. Plain rext posting next time, please. - Luca Moran

two xml source files

2002-04-23 Thread Arda Balci
I have two xml files. One is for the menu content, the other is for the body content. I want to read from these two different files with one xsl file, and serialize html.   The menu file is to be used with each page.   I couldn’t solve the problem. Do I need a special pipeline in the si

Re: i18n in xslt

2002-04-23 Thread Jerzy Kut
Sorry - of course. But it don't helps. I paste only abbrewiated snippets into post. But thank You. Trouble is located somewhere in component.xslt i think, but i don't understand why nullpointerexception is throwed... - Original Message - From: "TREGAN Fabien" <[EMAIL PROTECTED]> To: <[EMA

Re: [Problem]sendmail - reference to Session is ambiguous

2002-04-23 Thread Christian Haul
On 18.Apr.2002 -- 10:02 AM, Vadim Gritsenko wrote: > > From: Ehms, Jurgen [mailto:[EMAIL PROTECTED]] > > > > Here is the Bugfix to Sendmail.xsl > > > > - long Path to javax.mail.Session on account of ambiguous to > > org.apache.cocoon.environment.Session > > - changes on Template "get-nested-str

RE: i18n in xslt

2002-04-23 Thread TREGAN Fabien
not sure this will help but... >my-space.xsl - logicsheet processing tag for other tags > > any_link > > > - Please check that your question has not already been answered in the FAQ before posting.

Re: sendmail xsl problem

2002-04-23 Thread Christian Haul
On 17.Apr.2002 -- 10:38 AM, Perry Molendijk wrote: > Hello, > > When I run the sendmail logicsheet I get a problem with the > transformation of sendmail.xsl. > > Somewhere in the process the values of , > and are not added to the generated java code. I've just checked a version into CVS that

i18n in xslt

2002-04-23 Thread Jerzy Kut
Hi Cocooners! Can I use i18n in XSLT transformations? I have any.xml - XML document my-space.xsl - logicsheet processing tag for other tags http://apache.org/cocoon/i18n/2.0"; xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> GO! .

question concerning cocoon.war

2002-04-23 Thread Gregor Neu E1
Hi all, somwhere on the install page "http://xml.apache.org/cocoon/installing/index.html"; under the heading "Installing on Tomcat 4.0.3 " it says: ... 3.Remove xalan-XXX.jar, xercesImpl-XXX.jar, batik-libs-XXX.jar, and xml-apis.jar from the cocoon.war archive. How does th

  1   2   >