Upgrading Java

2003-06-20 Thread Derek Hohls
I am wanting to upgrade my Java version from 1.3 to 1.4 in order to keep pace with new software that needs it - however, I have the '1.3 compatible' version of Cocoon installed. Are then any issues in putting in the 1.4 version of Cocoon... can I just overwrite all the jars in the library and

Cocoon JBoss examples

2003-06-20 Thread Denis Svishchev
Hi! Does anybody know where can I find some examples about using EJB components under JBoss from Cocoon XSP? Thanx. -- Best regards, Denis Svishchev ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL

[Flow] Acquiring Flow Information from another Pipeline

2003-06-20 Thread Bill Humphries
Now a question for people knowledgeable about Flow: We have a flow script: cocoon.load(resource://org/apache/cocoon/components/flow/javascript/ xmlForm.js); function genericFlowScript(xform) { var bean = { memberOne: default value,

need help on cocoon and XSP

2003-06-20 Thread ntic
Hello, I have some little trouble with this XSP script : The aims of this one is to get some POST variables, to build a query, compute it and show the result with XSLT stylesheet. I use cocoon 2.0.4 j2sdk1.4.1_02 But cocoon says that to me : org.apache.cocoon.ProcessingException: Language

Re: [Flow] Acquiring Flow Information from another Pipeline

2003-06-20 Thread Frank Taffelt
Thus, it is not clear to me how one would implement a system where a user fills out a form, the form's contents are processed and sent to a you cann call your sendmailaction from the flow : var ret = act(sendmailaction,,{'from':from ...}); hth, Frank

Re: Upgrading Java

2003-06-20 Thread Upayavira
AFAIK the only areas where you are likely to have problems are: 1) XML/Xalan/Xerces files that are also in Java 1.4 (see 'endorsed libs problem' on Wiki) 2) JDBC changed from 1.3 to 1.4, so I think there are changes in terms of how that is handled. But you can probably work around that by

Table of contents

2003-06-20 Thread Albert Shih
Hi all (sorry for my bad english) I'm very newbie in cocoon. But before I very start in this nice framework. I want need to known something. After I read the book (Cocoon developper's handbook Moscar Aston) I think it's possible, but I need a confirmation. I have many files in a directory :

Re: need help on cocoon and XSP

2003-06-20 Thread leo leonid
Did you already look at the generated java source? ([work-dir]/cocoon-files/org/apache/www/[projek-dirs]/ comp_rech_xsp.java) /leo On Freitag, Juni 20, 2003, at 12:14 Uhr, ntic wrote: Hello, I have some little trouble with this XSP script : The aims of this one is to get some POST

Re: Table of contents

2003-06-20 Thread Upayavira
I'm very newbie in cocoon. But before I very start in this nice framework. I want need to known something. After I read the book (Cocoon developper's handbook Moscar Aston) I think it's possible, but I need a confirmation. I have many files in a directory : News: news1.xml

RE: pipeline dependencies

2003-06-20 Thread Carmona Perez, David
Create a simple selector to check if the file exists, and if it doesn't call pipeline A. David -Mensaje original- De: Ali Mesbah [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de junio de 2003 14:10 Para: [EMAIL PROTECTED] Asunto: pipeline dependencies Hi, Is it possible to

RE: Exception when using copy-of

2003-06-20 Thread Carmona Perez, David
I haven't seen in http://www.apache.org/dist/cocoon/ the existence of Cocoon 2.0.5!!! Does it really exist? What's new? David -Mensaje original- De: Stefan Hilzinger [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de junio de 2003 17:38 Para: [EMAIL PROTECTED] Asunto:

RE: Upgrading Java

2003-06-20 Thread Carmona Perez, David
It's possible, the only different jars are excalibur-database, fop, cocoon and cocoon-scratchpad. I'm even switching JVM by replacing these files, because I work under Unix (latest JVM is 1.3.1) and Windows (latest JVM is 1.4.1 and supports hot code replacement, very useful for debugging).

RE: Exception when using copy-of

2003-06-20 Thread Reinhard Pötz
Cocoon 2.0.5 has not been released yet. It is the version in the CVS repository. AFAIK only bug fixes are included but no enhancements. Those are only part of 2.1 which has not been released too. Reinhard -Original Message- From: Carmona Perez, David [mailto:[EMAIL PROTECTED] Sent:

RE: Exception when using copy-of

2003-06-20 Thread Upayavira
I haven't seen in http://www.apache.org/dist/cocoon/ the existence of Cocoon 2.0.5!!! Does it really exist? What's new? It is the current development version of the 2.0 branch, and can only be got directly from CVS. There'll probably be a status.xml file in with it that'll tell you what's

Re: pipeline dependencies

2003-06-20 Thread Ali Mesbah
As quoted from Upayavira [EMAIL PROTECTED]: Is it possible to define pipeline dependencies in the sitemap? Imagine I have two pipelines A and B. Pipeline B has a SourceWritingTransformer and all it does is writing a generated document on the filesystem. Pipeline A has its own

Re: Exception when using copy-of

2003-06-20 Thread Bruno PIERRE
you can use : xsl:template match=document xsl:apply-templates select=document(concat('../page/',string(.),'.xml'))/* mode=copy/ /xsl:template xsl:template match=/|*|@*|text() mode=copy xsl:copyxsl:copy-of select=@*/xsl:apply-templates mode=copy//xsl:copy /xsl:template but their is a

Re: pipeline dependencies

2003-06-20 Thread Upayavira
If you can get pipeline B to cache, then it will only write if the source of that pipeline has changed. Then, if necessary, you can ignore the aggregated output from pipeline B, but it is just there to enforce the dependency. All depends upon the caching of the

Re: Cocoon in BEA Weblogic

2003-06-20 Thread Uwe Gerger
Hello Ralph, we use BEA WebLogic 5.1 and we also have terrible performance problems and we don't know how to solve them. For example on windows with Apache Tomcat it takes max. 2 minutes to generate an excel report with 3 records and on SUN Solaris with BEA WLS 5.1 it takes aprox. 45

Re: pipeline dependencies

2003-06-20 Thread Ali Mesbah
As quoted from Upayavira [EMAIL PROTECTED]: Another way you can do it is read your original content from disc, then transform it into something like: xml source:write contentBlah/content /source:write contentBlah/content /xml This way you repeat your content twice, once to

Re: pipeline dependencies

2003-06-20 Thread Upayavira
The thing is I generate a stylesheet in B which is used in A (and in other pipelines): match pattern=B map:generate src=resources/{filename}.xml/ map:transform src=styles/Meta_output.xsl/ map:serialize type=xml/ /map:match Note that the output of B is a stylesheet (say

wiki.cocoondev.org - is cocoon based?

2003-06-20 Thread Stavros Kounis
hi people i have 2 question about wiki in cocoondev 1. is it powered (served) by cocoon or not 2. is it open source ? i need something like this for documentation in our intranet i want people here to be able to add update ar delete something thnx stavros

RE: wiki.cocoondev.org - is cocoon based?

2003-06-20 Thread Christopher Watson
-Original Message- From: Stavros Kounis [mailto:[EMAIL PROTECTED] Sent: 20 June 2003 10:41 To: [EMAIL PROTECTED] Subject: wiki.cocoondev.org - is cocoon based? hi people i have 2 question about wiki in cocoondev 1. is it powered (served) by cocoon or not It's JSP Wiki

call webservices using cocoon

2003-06-20 Thread shankar
Hi, How to call webservices from cocoon? Any examples / links appreciated, Thanks in Advance, shankar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: wiki.cocoondev.org - is cocoon based?

2003-06-20 Thread Reinhard Pötz
http://wiki.cocoondev.org/Wiki.jsp?page=SystemInfo Reinhard -Original Message- From: Stavros Kounis [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 11:41 AM To: [EMAIL PROTECTED] Subject: wiki.cocoondev.org - is cocoon based? hi people i have 2 question about wiki

How to get a request parameters as an xml tree?

2003-06-20 Thread Bruno PIERRE
Hello when i send xhtml = divHello/div i receive parameter name="xhtml" valuelt;divgt;Hellolt;/divgt;/value/parameter and i would like to get this as a node not as a string. Is there an easy way to do this? thanks.

Re: pipeline dependencies

2003-06-20 Thread Ali Mesbah
As quoted from Upayavira [EMAIL PROTECTED]: Ali, Have you seen: http://wiki.cocoondev.org/Wiki.jsp?page=MetaStylesheets Maybe that'll help. It works indeed. I see what I was doing wrong; In my Meta_output at some places I had something like: xsl:text disable-output-escaping=yes

Link Livesites: www.megabag.gr

2003-06-20 Thread Stavros Kounis
industrial add trading company of specialized polymer materials lang: EN cocoon 2.0.4 (apache at front with mod_proxy) tomcat 4.1.24 redhat linux jdk 1.4 --- stavros - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: XML Parsing + SAX

2003-06-20 Thread Brian Delahunty
I don't actually have a file [Wish I did!]. It's a String with the XML inside it that I get as a return value from a static method of a different class. The XML itself is within the String. I could save it to file and then use that but thats not very extensible. Any ideas? - Original

Re: XML Parsing + SAX

2003-06-20 Thread Brian Delahunty
Thanks. That worked perfectly :-D - Original Message - From: Merenidis, Grigorios [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 4:13 PM Subject: AW: XML Parsing + SAX Hi! try this: XMLReader parser =

Re: Table of contents

2003-06-20 Thread Alexander Schatten
Albert Shih wrote: Hi all (sorry for my bad english) I'm very newbie in cocoon. But before I very start in this nice framework. I want need to known something. After I read the book (Cocoon developper's handbook Moscar Aston) I think it's possible, but I need a confirmation. alright: I

Re: [Error] Sendmail Logicsheet and Cinclude

2003-06-20 Thread Christian Haul
[EMAIL PROTECTED] wrote: I've been stumbling the past couple of days through the sendmail logicsheet and sendmail actions in 2.1-M1. Here's what I'm trying to do: Include generated content (i.e. content produced by a pipeline) into the body of an email sent by sendmail action or logicsheet.

Re: wiki.cocoondev.org - is cocoon based?

2003-06-20 Thread Bertrand Delacretaz
1. is it powered (served) by cocoon or not no, it is JSPWiki from http://www.jspwiki.org/ 2. is it open source ? yes i need something like this for documentation in our intranet i want people here to be able to add update ar delete something JSPWiki is IMO one of the best wiki implementations

Content Aggregation -- Wiki

2003-06-20 Thread Alexander Schatten
As I was asked by others, I put a little more concise description of the content-aggregation example to generate a table of content from a list of XML files to the Cocoon Wiki: http://wiki.cocoondev.org/Wiki.jsp?page=ContentAggregationExample I hope this is o.k. and may help. Alex

Re: wiki.cocoondev.org - is cocoon based?

2003-06-20 Thread Derek Hohls
Bertrand You're right about TWiki - I originally picked JSPWiki in the hope that (in the long-term at least) it could be perhaps linked into Cocoon somehow ... perhaps generating XML from the structured text? I also was not very attracted by the cgi-bin/perl technology used in TWiki. Browsing

[OT] TWiki (was: wiki.cocoondev.org - is cocoon based?)

2003-06-20 Thread Bertrand Delacretaz
...Access control: Define groups and impose fine grained read and write access restrictions based on groups and users Can be very helpful in making Wikis accepted by reluctant people, even though you'd probably turn it off after a few weeks of use ;-) ...seem to be ones missing from JSPWiki

woody date extension

2003-06-20 Thread Frank Taffelt
Hi, i have a form which contains 2 fields with date entries (ex.:'17.06.2003 13:55'). What are the steps to get woody to: * validate the values against a given dateformat ex. dd.MM. HH:mm * to say in a assertion rule that date2 must be greater than date1 (date1,date2 are the formfields) do

RE: [Error] Sendmail Logicsheet and Cinclude

2003-06-20 Thread Yan, Charlene
I saw a thread about attaching a file (possibly url) as an attachment. Will that work for you? I'm going to work on that next week. Maybe we will be able to share some ideas. My requirements are as follows: 1. When user clicks on Send Email button. I have an xml String sent to

mounting, but with shared sitemap?

2003-06-20 Thread Dominic Chambers
The mount tag allows sitemaps to be sub-divided, but it also allows the request context (directory and url paths) to be changed. Is there any way to get the cocoon to mount an application directory (i.e. switch context), but still use a common sitemap file? I need a number of virtual hosts all

org.apache.log.Logger.fireEvent

2003-06-20 Thread Boris Althaus
Hallo Cocoonlist, From an html-embeded editor i get html, which i have to clean with tidy(initialised in a xsp-page) When i used this editor for about 20 or 30 times, cocoon dies with the following trace-message. Does somebody has an idea what's going wrong? I use

RE: wiki.cocoondev.org - is cocoon based?

2003-06-20 Thread Mato Mira, Fernando
From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED] i need something like this for documentation in our intranet i want people here to be able to add update ar delete something JSPWiki is IMO one of the best wiki implementations around. I think TWiki (http://twiki.org/) still beats it in

Re: ArrayIndexOutOfBoundsException when using copy-of to write into a new node

2003-06-20 Thread Lionel Crine
hi, there is an error : use xsl:copy-of select=document(concat('../xmldocs/', string($document)))/*/ instead of xsl:copy-of select=document(concat('../xmldocs/', tring($document)))/*/ Also, $document is an xsl:param ? About the error I don't know. try to send this to the mulberrytech [EMAIL

Re: How to get a request parameters as an xml tree?

2003-06-20 Thread Lionel Crine
Can you tell some more ? Is it from an xsp, or an xsl page ? At 11:53 20/06/2003 +0200, you wrote: Hello when i send xhtml = divHello/div i receive parameter name=xhtml valuelt;divgt;Hellolt;/divgt;/value /parameter and i would like to get this as a node not as a string. Is there an easy way

Re: mounting, but with shared sitemap?

2003-06-20 Thread Dominic Chambers
On Fri, 2003-06-20 at 15:36, Upayavira wrote: On 20 Jun 2003 at 15:17, Dominic Chambers wrote: The mount tag allows sitemaps to be sub-divided, but it also allows the request context (directory and url paths) to be changed. Is there any way to get the cocoon to mount an application

Re: mounting, but with shared sitemap?

2003-06-20 Thread Upayavira
Presumably what you're saying is that you want to be able to mount the common.xmap, but for that sitemap to be able to find out the name of the directory that it was mounted to, so that it can be used in locating other resources? Is that right? Yes. Exactly that. Is that possible? Hmm.

Re: mounting, but with shared sitemap?

2003-06-20 Thread Dominic Chambers
On Fri, 2003-06-20 at 16:25, Upayavira wrote: Yes. Exactly that. Is that possible? Hmm. As I was writing that I was hoping you weren't going to say yes!! Anyway, I have built something similar recently, although I didn't have the two sitemaps, I did it all with one. I used stuff like:

Re: Modular database select - session attributes won't fly

2003-06-20 Thread Christian Haul
Arthur Allen wrote: Thanks Chris for the clarifications. You wrote-- In map:componentsmap:actions//map:components you need to configure the output for the actions, for each one of the database actions seperately. Add outputsession-attr/output This would be the place to disable prepending table

AW: mounting, but with shared sitemap?

2003-06-20 Thread Michael Raffenberg
Hi, maybe this is what you are looking for: map:pipeline map:match pattern=** map:select type=host map:when test=pelzfashion map:mount uri-prefix= src=file:///d:/data/www/pelz-fashion/ check-reload=true/ /map:when map:when test=raffy

Re: mounting, but with shared sitemap?

2003-06-20 Thread Christian Haul
Dominic Chambers wrote: Almost, but I need to switch based on host name. Perhaps if I could make the result of the host name comparison a variable, like {1} is for wildcard matches, that would work perfectly. I just tried this experiemnt: Try (Cocoon = 2.0.4) map:pipeline map:match pattern=

Re: Cocoon in BEA Weblogic

2003-06-20 Thread Ralph Goers
Thanks. I resolved my problem. The default configuration, even in production mode, has BEA checking every second for changes to the webapp and JSPs. Explicity turning those off drastically improved performance. Ralph At 6/20/2003 02:10 AM, you wrote: Hello Ralph, we use BEA WebLogic 5.1 and

Re: Cocoon JBoss examples

2003-06-20 Thread Andreas=20K=FChne
Hi Denis ! Does anybody know where can I find some examples about using EJB components under JBoss from Cocoon XSP? Where is your problem ? You got all everything to call a EJB, because your just in Java Code ... get a JNDI context, find a home interface and call the bean ...