XSP NoClassDefaultFoundError ?

2001-06-19 Thread Ling Kok Choon
hi, I am now trying the XSP, i include the classes that i created ( until the webappls/app/classes ), when i run the XSP, the NoClassDefaultFoundError occur... ? May i know how to slove the problem ? Thank. From ^^ -00''00- Kok Choon.

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

Re: running c2 on linux with x11 for svg

2001-06-19 Thread Eirik Dentz
I posted a step-by-step in the past month or so. If you do a search of the mailing list archive, you should be able to turn it up... http://marc.theaimsgroup.com/?l=xml-cocoon-users&r=1&w=2 > From: java guru <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Wed, 20 Jun 2001 01:37:47 +0

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

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 Apach

Re: [C2] Aggregation

2001-06-19 Thread giacomo
On Tue, 19 Jun 2001, Pokorny, Michael wrote: > I am a newbie to aggregation and am having problems. When I try to > aggregate two (or three) files together via the sitemap aggregate tag, I get > the following error. Can somebody point me in the right direction so that I > can use aggregation. I

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: String Test;  Test = request.getParameter("EMP_DEP");   if (Test.length() !=0)  

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 post

RE: [C2] Aggregation

2001-06-19 Thread Vadim Gritsenko
It looks like that you have got an error during aggregation, when aggregator tries to access "hello-steve" pipeline. Look inside Cocoon log file for the reason. Vadim > -Original Message- > From: Pokorny, Michael [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 19, 2001 15:27 > To: '[EM

[C2] Aggregation

2001-06-19 Thread Pokorny, Michael
I am a newbie to aggregation and am having problems. When I try to aggregate two (or three) files together via the sitemap aggregate tag, I get the following error. Can somebody point me in the right direction so that I can use aggregation. I cannot seem to find much documentation on using aggre

Re: [C2] Encoding value with I18n

2001-06-19 Thread Piroumian, Konstantin
I am not sure that the problem is with i18n but I'll take a look at it. I'm not sure, but maybe result encoding must be specified in the Serializer? Something like: iso-8859-1 I will investigate this problem and let you know if I find something. - Original Mes

Re: [C2] Encoding value with I18n

2001-06-19 Thread matthieu VIDAL
Thanks I'm working on C2.0b1 I understand that all the transformers work the same way, but it seems that i18n does not. The sitemap is as follow (in fact it's a sub/sitemap): ManUser.xsl begin like that : http://www.w3.org/1999/XSL/Transform"

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 modul

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 ---

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 UTF

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. http://apache.org/empty-taglib/1.0"/> I've just posted an example taglib with full install instructions. Note that 'file:///' (three slashes) is correct

[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. <> Gary A. Clark Systems Programmer Software Services Group JELD-WEN Information Systems empty-taglib.xsl

[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 then iso-8859-1 then etc.. even in the tag NB: the dictionary and xml to translate begin with : but the xml file is always help!!!

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

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

setting response headers with XSP

2001-06-19 Thread Zeljko Rajic
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 open questions and would appreciate it if somebod

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: sa

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 be

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

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.. > > >select * from > department_table1 > > >

Re: sql sample throws blank page...newbie

2001-06-19 Thread java guru
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.. select * from department_table1 this is err

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: 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 --- Tor

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: > > > > src="docs/samples/xsp/esql.xsp"/> > src="stylesheets/myown/default.html.xsl"> > > > > > I also attached my xsp file and the xs

RE: C2: xsp caching

2001-06-19 Thread Daniel Pfuhl
Hi here is the snipped from my sitemap: I also attached my xsp file and the xsl for this. It would help me a lot to find out how to change caching options. thanx in advance daniel --- Torsten Curdt <[EMAIL PROTECTED]> schrieb: > Could you show us the correspond

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, Ju

Problem building cocon 2 with tomcat 3.2.2

2001-06-19 Thread Marco Spinetti
Hi all, I have tried to build cocoon2 with tomcat 3.2.2 and I receveid an error and build failed. The problem is:   /home/siteadm/download/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPTransformer.java:10: Class javax.naming.Context not found in import.import javax.naming.

Re: How do you build your XSLs?

2001-06-19 Thread Sérgio Carvalho
Jan wrote: >yes.. i guess we all use notepad or a syntax colorin/xml validating text >editor. i don't know any XSLT specific editor/authoring tool. >as i see the point, a html coder should build a xhtml file from the layout >the graphics team provides and then this same guy or anybody who can cod

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? th

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 ba

Re: which is the problem? thanks for all...

2001-06-19 Thread Simone Bortolaso
Ok now it works very well. The only thing i dont' understand is the correct use of tag. Thresholds: Date Pre-alarm Threshold Alarm Threshold for(int u = 0; u < viewer.getThrValues().length; formatDate(u,1,viewe

Fw: Xml with Jsp on cocoon

2001-06-19 Thread Janesh Vasudeva
  Does anyone know about the taglib uri when we try to access xml using jsp as server side object .   <%@ taglib uri="..." prefix="tl" %>   xml="XML_Customer_URL"/>   xml="XML_Book_Inventory_URL"/>     and taglib for accessing xsl specified does not work as it is unable to to identify xsl-1.0

SV: How can I make a validation !

2001-06-19 Thread Pal Wester
Why not just use request.getParameter("EMP_DEP") when ur in a javablock...   if ( request.getParameter("EMP_DEP")  != null )   {         sun.jdbc.odbc.JdbcOdbcDriver     JDBC:ODBC:SQL     user     password       insert into De

RE: which is the problem?

2001-06-19 Thread Morrison, John
The code isn't correct - or is it a typeo? > for(int u = 0; u < viewer.getThrValues().length; shouldn't it be... for(int u = 0; u < viewer.getThrValues().length; ++u) ^ Is there a particular reason for using ? > -Original Message-

Re: which is the problem?

2001-06-19 Thread Simone Bortolaso
the cose that is generated is for(int u = 0; u < viewer.getThrValues().length; xspParentNode = xspCurrentNode; xspNodeStack.push(xspParentNode); xspCurrentNode = document.createElement("value"); xspParentNode.appendChild(xspCurrentNode); xspParentNode = xspCurrentNode; x

RE: which is the problem?

2001-06-19 Thread Morrison, John
Best place to look - the generated Java code. > -Original Message- > From: Simone Bortolaso [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 19 June 2001 09:06 > To: [EMAIL PROTECTED] > Subject: Re: which is the problem? > > > if i write the same code without for and with variable the > com

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; > > > formatDate(u,1,viewer) > formatDate(u,2,viewer) > > formatDate(u,3,viewer) > > > } why? - Original Message - From: "Morriso

Re: which is the problem?

2001-06-19 Thread matthieu VIDAL
A 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 tag is the > cause. Try... > > > for(

RE: which is the problem?

2001-06-19 Thread Morrison, John
I don't know for sure, but I believe that the tag is the cause. Try... for(int u = 0; u < u++){ formatDate(u,1,viewer) formatDate(u,2,viewer) formatDate(u,3,viewer) } J. -Original Message

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:         Thresholds:      Date  Pre

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 s working properly with the > 2