AW: How can I make a validation !

2001-06-19 Thread Kai . Rehlen
Maybe try this: xsp:logic String Test = request.getParameter(EMP_DEP); if (Test != null) { xsp:content Your esql ... xsp:content } /xsp:logic -Ursprüngliche Nachricht- Von: Gustavo Mejia [mailto:[EMAIL PROTECTED]] Gesendet am: Dienstag, 19. Juni 2001

Re: sql sample throws blank page...newbie

2001-06-19 Thread Mariano Kamp
Hi, have you checked the logfile (by default it is cocoon/WEB-INF/logs/cocoon.log)? I am also wondering how I can extract the exception from an esql query?!?! Mariano I am trying to get the sample sql link from welcome page work..the esql link works fine ... but the sql link throws

Re: C2 problem

2001-06-19 Thread matthieu VIDAL
Hi I had this problem. That's seem to be due to old xerces and xalan library in my path when loading tomcat - Original Message - From: Tobias Florek [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 10:28 PM Subject: RE: C2 problem Johnny wrote: blahblahblah

Re: C2 problem

2001-06-19 Thread Mariano Kamp
I am new to C2 too, but keeping that in mind ... I always get this message, when I did an inpropriate change to sitemap.xmap. Sometimes I also get this message, when launching cocoon, but it goes away after it is started properly. If there is a syntax error in your sitemap.xmap, the log will

Sorry to all

2001-06-19 Thread Wolf Gustavo (SGC-EXT)
Uff... sorry all. I got the wrong reply address and sent the list a mail with a question in Spanish to someone in particular. Won't happen again, Gustavo Wolf -Message d'origine-De: Wolf Gustavo (SGC-EXT) [mailto:[EMAIL PROTECTED]]Envoy: lundi, 18. juin 2001 18:23:

Re: Sylvain: was ... RE: broken build?

2001-06-19 Thread Sylvain Wallez
Paul Nock a écrit : Hmmm... Is your patch correct? I see it's changed to... private boolean isValidName (String name) { if (name != null) { return false; } . I found my stylesheets no longer had xsl:params working properly with the

which is the problem?

2001-06-19 Thread Simone Bortolaso
The compilator say: java.lang.Exception: XSP Java Compiler: Compilation failed for _index.java 2385: Undefined variable: u xspExpr(formatDate(u,1,viewer),document) . End the code is: xsp:logic thresholdlabelThresholds:/label

RE: which is the problem?

2001-06-19 Thread Morrison, John
I don't know for sure, but I believe that the xsp:content tag is the cause. Try... for(int u = 0; u lt; u++){ xsp:content value datexsp:exprformatDate(u,1,viewer)/xsp:expr/date pre-alarmxsp:exprformatDate(u,2,viewer)/xsp:expr/pre-alarm

Re: which is the problem?

2001-06-19 Thread matthieu VIDAL
A xsp:logic is missing before your java code. - Original Message - From: Morrison, John [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 19, 2001 9:54 AM Subject: RE: which is the problem? I don't know for sure, but I believe that the xsp:content tag is the cause. Try...

Re: which is the problem?

2001-06-19 Thread Simone Bortolaso
if i write the same code without for and with variable the compiler says the same things int u = 10; xsp:content value datexsp:exprformatDate(u,1,viewer)/xsp:expr/date pre-alarmxsp:exprformatDate(u,2,viewer)/xsp:expr/pre-alarm

C2: xsp caching

2001-06-19 Thread Daniel Pfuhl
Hello How can I turn off caching of my xsp-pages? in my current status of developing xsp-pages with esql i need no caching. I have to resart my tomcat everytime i change my xsp-file. otherwise my changes wan't be recognized. can somebody show me a workaround or is there an option to switch?

RE: C2: xsp caching

2001-06-19 Thread Torsten Curdt
Could you show us the corresponding sitemap snipped? AFAIK serverpages are not cached by default. (had no problems myself with that...) Changes in the xsp file result in a recompilation... -- Torsten -Original Message- From: Daniel Pfuhl [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June

RE: C2: xsp caching

2001-06-19 Thread Daniel Pfuhl
Hi here is the snipped from my sitemap: map:match pattern=xsp/esql map:generate type=serverpages src=docs/samples/xsp/esql.xsp/ map:transform src=stylesheets/myown/default.html.xsl /map:transform map:serialize/ /map:match I also attached my xsp file and the xsl for this.

RE: C2: xsp caching

2001-06-19 Thread Torsten Curdt
Hm.. looks good to me... sure it's no db caching? try a commit; before your query. Hi here is the snipped from my sitemap: map:match pattern=xsp/esql map:generate type=serverpages src=docs/samples/xsp/esql.xsp/ map:transform src=stylesheets/myown/default.html.xsl

RE: C2: xsp caching

2001-06-19 Thread Daniel Pfuhl
Hello again, I don't think that's an db cahcing issue. because i'm changing the structure of my xsp-file an this will not be seen. i also can change the structure to some not valid one and cocoon will serve the old one without shouting at me :-( maybe some tomcat related error? daniel ---

RE: C2: xsp caching

2001-06-19 Thread Torsten Curdt
Sorry, only experienced this in VERY old versions of cocoon. Try to remove the file from the repository then... -- Torsten -Original Message- From: Daniel Pfuhl [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 2:58 PM To: [EMAIL PROTECTED] Subject: RE: C2: xsp caching

Re: sql sample throws blank page...newbie

2001-06-19 Thread Aurelien DEHAY
java guru [EMAIL PROTECTED] writes: The log file didnt show any error..or may be i am missing it... Anyway, I was using following code(note the esql:error-results) for catching database exceptions.. esql:execute-query esql:queryselect * from department_table1/esql:query

Re: How do you build your XSLs?

2001-06-19 Thread Piroumian, Konstantin
OK, Kot, that's a good idea - to integrate XMLSpy with Xalan as transformer - I din't know it's possible - I should try that. Problems with XML Spy begin when you are editing XSP pages - you have to write all that Java code as text and you have no syntax highlighting, no code insight and all

creating logicsheets in C2

2001-06-19 Thread Grzegorz Stelmaszek
hello, I've a question concerning logicsheets and C2: what to put into the cocoon.xconf for the logicsheet to work, cause I can't find it out :(. Any help is welcome, greg - Please check that your question has not already

Content Editor for agregation syndication in Cocoon

2001-06-19 Thread jesskung
Dear cocooners I would like to find out if anyone had built a content editor for the agregation and syndication of content in Cocoon. Any tips would be greatly appreciated. Thanks in advanced. Regards, Jessica - This mail sent through IMP:

Re: How do you build your XSLs?

2001-06-19 Thread Peter Royal
At 05:13 PM 6/19/2001 +0400, you wrote: Problems with XML Spy begin when you are editing XSP pages - you have to write all that Java code as text and you have no syntax highlighting, no code insight and all other things that makes Java programming easier with IDEs. Are there any editor which

Re: setting response headers with XSP

2001-06-19 Thread Matt Sergeant
On Tue, 19 Jun 2001, Zeljko Rajic wrote: Hi, I'm currently trying to find out how to set response headers within Cocoon, respectively XSP in general. Reading the Cocoon respectively Cocoon's XSP documentation and FAQs I couldn't find any information about this topic. So I still got some

[C2] Encoding value with I18n

2001-06-19 Thread matthieu VIDAL
How can I change the encoding value produced by the i18n transformer (by default UTF-8)? In sitemap file I tried map:transformer ... encoding value=iso-8859-1 then encodingiso-8859-1/encoding then map:parameter name=encoding value=iso-8859-1/ etc..

[C2] Example Taglib

2001-06-19 Thread Gary Clark
The attached file contains a simple taglib and includes full install instructions. If someone from the development team would like to, please feel free to add it to the distribution. empty-taglib.xsl Gary A. Clark Systems Programmer Software Services Group JELD-WEN Information Systems

RE: creating logicsheets in C2

2001-06-19 Thread Gary Clark
Something like this will set it up as a taglib. Put in the same section as the rest of the builtin-logicsheet tags. builtin-logicsheet parameter name=prefix value=taglib/ parameter name=uri value=http://apache.org/empty-taglib/1.0/ parameter name=href

Re: [C2] Encoding value with I18n

2001-06-19 Thread Piroumian, Konstantin
If you talk about i18nTransformer from latest C2 (which replaced the old i18n transformer), then it is not intended to specify encodings. It uses encodings from your files and simply replaces i18n text by values from the dictionary. If your XML file is in UTF-8 then the result will be also in

RE: Problem building cocon 2 with tomcat 3.2.2

2001-06-19 Thread Scott N. Smith
Marco I think that the problem is javax.naming.* : where is this packge? javax.naming is part of J2EE; you can get this from the Sun web site. Of course, this is supplied if you are running EJB in an appserver. HTH, -Scott

Default UTF-8 vs. iso-8859-1 encoding in HTML output

2001-06-19 Thread eirikdentz
I'm a relatively new to Cocoon and XSLT, but I've verified that this problem is specific at least to Cocoon 2.1-dev (from the beginning of June so forgive me if this has been fixed in the most recent CVS) by doing a comparative test using the same XML and XSL files with the Perl XML::LibXSLT

Re: Default UTF-8 vs. iso-8859-1 encoding in HTML output

2001-06-19 Thread eirikdentz
Hope I'm not wasting anyone's time with this, but I found the solution to my question/problem and wanted to post it for the benefit of anyone who might be struggling with this or a related issue. The answer was actually in the sitemap documentation (my apologies for not reviewing it prior to

Re:How can I make a validation !

2001-06-19 Thread Gustavo Mejia
Hi everyone, I got it, the problem was when I tried to compare with null, I don't know why Cocoon doesn't recongnize the condition if (Test !=null), could this be a bug ?, in other to make it works I change to: xsp:logic> String Test; Test = request.getParameter("EMP_DEP"); if (Test.length()

passing parameters from XML file to XML file

2001-06-19 Thread Mohamed Ramzy
hi i'm trying to pass parameters from XML file to another XML file, i've checked the FAQ, but all what i found is to pass through URL,but i want to pass a lot of parameters without using URL, please i need help in how to do that, i'm using linux redhat 6.1, Cocoon 1.8.2, ApacheJServ/1.1 over

running c2 on linux with x11 for svg

2001-06-19 Thread java guru
Hi., Anybody, luck with running c2 from linux box..with svg...my server is complaining that it couldn't connect to display:0.0..Someone suggested to run with Xvfb..but it didnt help Anyone succeeded with this please..step-by-step details Thanks

The sitemap handler's sitemap is not available

2001-06-19 Thread Guangzu Wang (Houston)
Hi all, I installed Tomcat 3.2.2 and Cocoon2, the Tomcat works well (http://localhost:8080) but Cocoon2 not, it gave me the error message of The sitemap handler's sitemap is not available. I did delete jaxp.jar and copied xerces-1.4.0.jar and changed parser.jar to zparser.jar as suggested. When

Blue Oxygen - Cimande Project using Cocoon 1.82

2001-06-19 Thread Frans Thamura
Dear All, I create a content management system using XSP, the XML descriptor (I called this content descriptor) can generate HTML form, try it. It is work in several computer. I need a lot of contributor to test this. This will be a serious project for me. I need your feedback of my idea (XML