Internationalization

2001-11-28 Thread Sidharth
How should I proceed for Internationalizing an XML document so that a user in japan reads data in japanese,in spain in spanish and so on

get the file creation/modification date ???

2001-11-28 Thread Christofer Dutz
Hi. I am posting this request once again. It is very important for me. When accessing a file in the filesystem with a Java program I can get some information about when the file was last modified. "fileObject.getLastModified()". I desperately need to access this Information. If this isn't

Re: LF: passing parameters to resource

2001-11-28 Thread Christian Haul
On 27.Nov.2001 -- 03:41 PM, Alexander Smirnoff wrote: Thanks Cris, Again you saved me, man. Thanks. You're welcome :-) Approach with map:parameter name=target value=welcome/ generates code in wrong place, which cause compilation error of sitemap. So I guess it could be treated as a BUG.

Re: Internationalization

2001-11-28 Thread Adam A R
Hi Siddharth, I have a similar problem. And currently I do the following. I get the preferred language for this user. Put it into the session variable 'i18n:lang'. And lo!! depending on the language choosen by the user the user will see Nihongo/Espanol/Francais/ But of course, I have to

running Tomcat in background when I log off

2001-11-28 Thread Alex Kachanov
On Linux Tomcat is running fine when I'm logged in. But when I log off all tasks are killed (including Tomcat) How can I leave Tomcat running when I log off? "nohup" trick won't work by some reason with best wishesAlexander Kachanov

Re: MySQL, C2, Tomcat 4.0.1, win2k/xp

2001-11-28 Thread Sidharth
Could any one tell me how I18n works with cocoon 1.8.2 Can I have any help in getting my xml internationalized - Original Message - From: David Rosenstrauch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 28, 2001 2:59 AM Subject: Re: MySQL, C2, Tomcat 4.0.1, win2k/xp

no cocoon.properties WHY?

2001-11-28 Thread Cocoon User
i can not find cocoon.properties in my cocoon's dir no cocoon.properties entry into web.xml any idea please? kounis stavros - Please check that your question has not already been answered in the FAQ before posting.

Re: no cocoon.properties WHY?

2001-11-28 Thread Cocoon User
cocoon2 + tomcat 4 On Wed, 28 Nov 2001, Sidharth wrote: which version are u using?? - Original Message - From: Cocoon User [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 28, 2001 4:37 PM Subject: no cocoon.properties WHY? i can not find cocoon.properties

RE: running Tomcat in background when I log off

2001-11-28 Thread Alex Kachanov
I've noticed it happens only after I hit cocoon specific servlets and files when I start Tomcat it servers other JSP pages very good when I log off, but when I hit cocoon pages - it throws an error about sitemap.xmap compilation. When I start the shell and restart the Tomcat and and (without

what is wrong?

2001-11-28 Thread Ivo L.
I have problems with XSP. this file is ok -- ?xml version=1.0? ?xml-stylesheet href=foo.xsl type=text/xsl? ?xml-stylesheet href=foowap.xsl type=text/xsl media=wap? ?cocoon-process type=xslt? main blamore bla/bla /main ---

[c2]: actions

2001-11-28 Thread Hubert NEOtyk Iwaniuk
Hi all, what i want to do is: on each page of my site login (user, pwd) is present. i want it to anable user login on every page. for now it is ok. i want login if passed or failed, show page from witch it was called and give information to user if he is

Korean font problem of C2

2001-11-28 Thread Hong Rae Cho
Dear Cocoon Manager. I'm Hong Rae Cho on behalf of Nextel, Inc. of Korea.I have developed for integrating a Card company system using Cocoon 2. C2 was very helpful to our project.But, I have a serious problem. When I used a Shell script that is added "fop-0_20_1-dev.jar" of C2

?something redirection

2001-11-28 Thread Jesper Rasmussen
Hi all, I'm porting some old systems to cocoon. Before our url's wast foo.com/?something In our new cocoon layout the url might be foo.com/somethingelse.html What would be the best way to have the only url's still work. One possibility i see is to use a match and redirect, but how do i macth

?something redirection

2001-11-28 Thread Jesper Rasmussen
Hi all, I'm porting some old systems to cocoon. Before our url's wast foo.com/?something In our new cocoon layout the url might be foo.com/somethingelse.html What would be the best way to have the only url's still work. One possibility i see is to use a match and redirect, but how do i macth

C2 Using Datasources for DEV, TEST, PROD...

2001-11-28 Thread SANSONE, AARON M [Non-Pharmacia/1000]
I am preparing to implement a Cocoon 2 Web Site for Production purposes. Like many organizations, we have a Development, Test and Production environment. Each environment has it's own web server and oracle database. What is the best way to automate having Cocoon 2 use the appropriate datasource

RE: Encoding

2001-11-28 Thread Nuno José Pires dos Santos
What I think is that pipeline doesn't care for the request encoding. I think the big problem is that utf-8 is the default encoding used by the serializer, so what you need is to change the encoding to utf-16. That should solve the problem... ... I think. Nuno Santos

RE: C2 Using Datasources for DEV, TEST, PROD...

2001-11-28 Thread Nuno José Pires dos Santos
Have diferent cocoon.xconf -Mensagem original- De: SANSONE, AARON M [Non-Pharmacia/1000] [mailto:[EMAIL PROTECTED]] Enviada: quarta-feira, 28 de Novembro de 2001 14:51 Para: Cocoon-Users (E-mail) Assunto: C2 Using Datasources for DEV, TEST, PROD... I am preparing to implement a Cocoon

[c2] Tomcat 4.0.1 error on jsp now

2001-11-28 Thread MTiffany71
Hello all, I'm running Tomcat 4.0.1 on a win98 box. Everything worked properly until I built and installed the c2rc2 .war file -- now, no jsps -- just get a 500 internal server error. I was wondering if anyone else has had a similiar experience and how to correct the problem. exception traces

Cocoon 1.8.2 + MySQL + JDBC + Win2000 + Tomcat

2001-11-28 Thread Schroeter Christian
Hi, as i read here in the mailling-list and in the internet, there are more people who have problems to create an jdbc-connection to MySQL. At the moment i also try to establish such a connection. But it is not working, and i do not know why. Can anybody help? I am using MySQL (Version

RE: Cocoon 1.8.2 + MySQL + JDBC + Win2000 + Tomcat

2001-11-28 Thread Marty McClelland
I had this problem when I put the mm.mysql jar in the tomcat library 6 months ago. The problem with the jar I had was in the paths for the drivers in the jar ( take a look in your jar ). I worked around the problem by unzipping the files - and copying them so the path matched. marty

RE: Newbie: ELSE-Statement in sitemap?

2001-11-28 Thread Nuno José Pires dos Santos
If you set a session attribute that doesn't exist it will probably default to null, so what's the point? If you really need it just use the session validate action like this map:act type=session-validate map:parameter name=descriptor value=context://descriptors/users.xml/

Re: Newbie: ELSE-Statement in sitemap?

2001-11-28 Thread Tammo van Lessen
Hi! It works! I forgot to include the serialize/ statement into both blocks. Thanks!! cya Tammo | -Ursprüngliche Nachricht- | Von: Nuno José Pires dos Santos [mailto:[EMAIL PROTECTED]] | Gesendet: Mittwoch, 28. November 2001 17:49 | An: [EMAIL PROTECTED] | Betreff: RE: Newbie:

Free or not Free?

2001-11-28 Thread Greg Kelley
Your page with the following address (below) shows an entry for Free Hosting (Cocoon) for developers -- which leads to a site that has discontinued the Free part, but (you're in luck!!) they offer a PAY site - since you are already at their site. This seems misleading to me. What are your

Re: C2 Using Datasources for DEV, TEST, PROD...

2001-11-28 Thread Derek Hohls
I am away from the office today Thanks Derek [EMAIL PROTECTED] 11/28/01 16:51 I am preparing to implement a Cocoon 2 Web Site for Production purposes. Like many organizations, we have a Development, Test and Production environment. Each environment has it's own web server and oracle

Newbie: ELSE-statement in sitemap?

2001-11-28 Thread Tammo van Lessen
Hi, Is it possible to process an else-statement in the sitemap? I need to check, if a sessionattribute is set and pass its value to the xslt-transformer. if it is NOT set, i want to transform aswell, without the parameter. map:match type=sessionattribute pattern=* map:parameter

Re: what is wrong?

2001-11-28 Thread Christopher Painter-Wakefield
Move this line: ?cocoon-process type=xsp? above this line: ?cocoon-process type=xslt? You are currently running your xml through the stylesheet processor before the XSP processor. -Christopher Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: what is wrong? I

help on xsp:include

2001-11-28 Thread shaomin wang
Hi, I have a question on XSP:include. I got an error on Package *** not found in import. Where do I specify the classpath? (I have put all the necessary .jar file in my class path). Can someone give me some hint? Thanks Shaomin

[C1] NumberFormatException / parseInt

2001-11-28 Thread Brent L Johnson
I've already asked about this before - but I'm getting the exact same errors again. If everytime I put some files into production I get lots of NumberFormatExceptions for no apparent reason (I'm not using parseInt, I checked the java file in the repository and its not using parseInt, something

Re: running Tomcat in background when I log off

2001-11-28 Thread Carlos Araya
Title: Re: running Tomcat in background when I log off You should run the scrip located at: tomcat home/bin/startup.sh That has always worked for me to keep Tomcat working when I log off Carlos -- Carlos E. Araya ---+ WebCT Administrator/Trainer G | California Virtual Campus - | C/O De Anza

Navigate through a xml-document over the web-browser

2001-11-28 Thread Johannes Schwarz
Hi! Sorry, I dont't know wheter this is off-topic or not. My xml document has topics, sub -topics , sub- sub- topics and so on. I want to build an application which have a appearance like a directory tree in m$-Explorer but over the web-browser with html-code. That means I want to open and

RE: running Tomcat in background when I log off

2001-11-28 Thread Alex Kachanov
Title: Re: running Tomcat in background when I log off this is not working when I use cocoon this IS working when I hit only ordinary JSP files and Servlets I'm using Tomcat 4.0.1 onLinux with best wishesAlexander Kachanov -Original Message-From: Carlos Araya [mailto:[EMAIL