Re: Cocoon & JBoss examples

2003-06-20 Thread Denis Svishchev
В сообщении от Пятница 20 Июнь 2003 20:20 Andreas Kühne написал(a): Andreas! I'm trying to use JBoss 4.0 with Cocoon 2.0.4. My question is how can I configure standart EJB (if it's exist) for working with Oracle and which way can I use it from XSP . Are there any

Re: How to trim whitespace?

2003-06-20 Thread Thang To
Hi Sonny, Try the XSLT normalize-space() function in your stylesheets. Hope this helps, Thang At 15:57 20/06/2003 -0700, you wrote: Hi guys, Does anyone know how to trim out all unnecessary whitespace on HTML and XML docs coming out of Cocoon pipelines before sending them to the browser? I'd l

How to trim whitespace?

2003-06-20 Thread Sonny Sukumar
Hi guys, Does anyone know how to trim out all unnecessary whitespace on HTML and XML docs coming out of Cocoon pipelines before sending them to the browser? I'd like to save some bandwidth costs where I can. :-) Thanks! Sonny _

RE: Cocoon in BEA Weblogic

2003-06-20 Thread Ralph Goers
In the management console. Go the the Descriptor page for your webapp.  Change "Servlet Reload Check Secs" to -1 and "JSPPage Check Secs" to -1. You can also make these changes manually. Add the following in your weblogic.xml. In pageCheckSeconds -1 then between the and    

HTML Generator, JTidy, charencoding

2003-06-20 Thread Gernot Koller
Hi! I'm reading a HTML page from various URLs and convert it to XHTML using JTidy (as in HTML Generator). I know that I can configure JTidy to use a certain encoding by calling setCharEncoding(Configuration.UTF8); for example. My problem is, that the character encoding is very often specifyed o

SOLVED: ing, but with shared sitemap?

2003-06-20 Thread Dominic Chambers
On Fri, 2003-06-20 at 17:57, Christian Haul wrote: > 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 > > exp

RE: Cocoon in BEA Weblogic

2003-06-20 Thread Tsui, Alban
Title: RE: Cocoon in BEA Weblogic How do you set that? I am using weblogic 8.1. -Original Message- From: Ralph Goers [mailto:[EMAIL PROTECTED]] Sent: 20 June 2003 17:17 To: [EMAIL PROTECTED] Subject: Re: Cocoon in BEA Weblogic Thanks.  I resolved my problem. The default configurat

How to get a parameter from web.xml

2003-06-20 Thread Andreas=20K=FChne
There are some cocoon parameters set in web.xml, e.g. upload-directory. How can I manage to get the values of my own web.xml-properties in an generator or an action ? Is there a hidden path through the forest called 'objectModel' ? Or am I conceptually wrong ? Greetings Andrew __

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

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 w

Re: ing, 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) Chris. -- C h r

AW: ing, but with shared sitemap?

2003-06-20 Thread Michael Raffenberg
Hi, maybe this is what you are looking for: Hope that helps, Raffy > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTE

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 you need to configure the output for the actions, for each one of the database actions seperately. Add session-attr This would be the place to disable prepending table name or appending row number to the parameter name. Again

transform fucntion within XSLTProcessorImpl.java

2003-06-20 Thread Dave Dearman
Hi everyone, I have been reading over the code for TraxTransformer.java and XSLTProcessorImpl.java and I have a couple of questions concerning the transform function. It appears to me that the transform method takes in both the complete XML document and XSLT document as source objects and then co

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

2003-06-20 Thread Bruno PIERRE
here is my sitemap.xmap In the XML generated by by the pattern "request" i have:
Hello
And so at each further step. but i want Hello without rebuilding it because the only way i

Re: ing, 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 stu

Re: ing, 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 possibl

Re: ing, 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 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 dire

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 = Hello i receive
Hello
and i would like to get this as a node not as a string. Is there an easy way to do this? thanks. ---

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

2003-06-20 Thread Lionel Crine
hi, there is an error : use instead of Also, $document is an ? About the error I don't know. try to send this to the mulberrytech <[EMAIL PROTECTED]>. Lionel At 17:12 19/06/2003 +0200, you wrote: hi! I'm creating a website using the following software: Tomcat:4.1.24 Cocoon: version 2.0.5-

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 bea

Re: ing, but with shared sitemap?

2003-06-20 Thread Upayavira
On 20 Jun 2003 at 15:17, Dominic Chambers wrote: > The 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 si

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 cocoon-2.0.4/tomcat-4.1

ing, but with shared sitemap?

2003-06-20 Thread Dominic Chambers
The 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 running t

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 StreamGene

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

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

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 ove

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

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

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 se

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 = XMLReaderFactory.createXMLReader(org.

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 Message

Re: need help on cocoon and XSP

2003-06-20 Thread ntic
Yes i've seen it but i don't see the trouble with the first error (Ligne 272) Thios is the code : String type_exp=request.getParameter("type"); String[] val=request.getParameterValues("select_item[]"); String chaine=""; int longueur=val.length; // construction de la chaine des c

Re: need help on cocoon and XSP

2003-06-20 Thread Alex Keledjian
Yes i've seen it but i don't see the trouble with the first error (Ligne 272) This is the code : String type_exp=request.getParameter("type"); String[] val=request.getParameterValues("select_item[]"); String chaine=""; int longueur=val.length; // construction de la chaine des conditio

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 additiona

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:

How to get a request parameters as an xml tree?

2003-06-20 Thread Bruno PIERRE
Hello   when i send xhtml = Hello   i receive  
Hello
  and i would like to get this as a node not as a string. Is there an easy way to do this?   thanks.

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 ab

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

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: pipeline dependencies

2003-06-20 Thread Upayavira
Ali, Have you seen: http://wiki.cocoondev.org/Wiki.jsp?page=MetaStylesheets Maybe that'll help. Regards, Upayavira On 20 Jun 2003 at 11:16, Ali Mesbah wrote: > As quoted from Upayavira <[EMAIL PROTECTED]>: > > Another way you can do it is read your original content from disc, > > then transfo

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): > > > > > > > > Note that the output of B is a stylesheet (say output.xsl). > > Then the first thing that comes to mind is using the Cocoon protocol > to read this output.xsl as the src of the t

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: > > > > Blah > > Blah > > > This way you repeat your content twice, once to go into the SWT, and once to go on > to the outpu

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

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 SourceW

Re: Exception when using copy-of

2003-06-20 Thread Bruno PIERRE
you can use : but their is a problem cocoon reindent automatically. the tag xsl:output is ignored and when building your variable $document be carefful not doing it with / but with -Mensaje original- De: Stefan Hilzinger [mailto:[EMAIL PROTECTED] Enviado el: jue

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 o

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'

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: pipeline dependencies

2003-06-20 Thread Ali Mesbah
As quoted from "Carmona Perez, David" <[EMAIL PROTECTED]>: > Create a simple selector to check if the file exists, and if it doesn't call > pipeline A. Well it is not that simple. Checking to see if the file exists is not enough because the file made by B is dynamic and it has to be re-made if A

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

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 d

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

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 variabl

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

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

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 Exc

[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",