Cocoon configuration help

2002-01-21 Thread [EMAIL PROTECTED]
Hello folks! I got an xml as java object (JDOM document) and I'm trying to learn as send it to cocoon. I've got the xsl file on my filesystem, but I cannot understand how to force cocoon to format the output. I'm trying to explaing my problem: I pass to a servlet the JDOM document, then I

Re: develop content management system

2002-01-21 Thread Mauricio Souza Lima
That sounds good! CMS is something that we will define better, and the solutions to suply the requirements are many. Keeping defining what a CMS is, will help any solution provider using any technologies to better acomplish the requirements. It's better to work when you have on hands what

RE: Cocoon on a read-only medium

2002-01-21 Thread Vadim Gritsenko
From: Matthias Fischer [mailto:[EMAIL PROTECTED]] What would you need on the harddisk to get the CD application running, or what would be put out onto the harddisk by the application while it is running? I guess, you can't do without Java+Tomcat+Cocoon (XALAN, XERXES, FOP etc.) on the HD.

Re: Cocoon on a read-only medium

2002-01-21 Thread Robert Koberg
- Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] Or do you rellay mean you put everything on a CD, together with the data, and get an PDF/HTMLoutput from such a stand-alone application running the CD on any (customer) machine without any previous adaptations?

access to a JDNI resource in XSP

2002-01-21 Thread CHAINE, yoann
Title: access to a JDNI resource in XSP Hello! I want access to a JDNI resource in XSP, but I can't access the context java:comp/env. Is someone know how i do? I use tomcat 4.0.1 with cocoon 2. Yoann

Re: Donating Portal and Authentication Components to the Cocoon project

2002-01-21 Thread Davanum Srinivas
Matthew, Carsten, Thanks a ton for considering a donation. Here's my +1000 for accepting this donation. -- dims --- Matthew Langham [EMAIL PROTECTED] wrote: As some of you already know, our company has built a complete middleware solution around Cocoon. This product, named sunShine, is

Re: access to a JDNI resource in XSP

2002-01-21 Thread Sidharth
Title: access to a JDNI resource in XSP This is really not a guud practice to do so but still u can import the JNDI services and enjoy the Theme - Original Message - From: CHAINE, yoann To: '[EMAIL PROTECTED]' Sent: Monday, January 21, 2002 8:07 PM Subject:

Design pattern

2002-01-21 Thread Sidharth
Hello All this is a problem somewhat not on cocoon. I am using the J2EE design ptterns. I have a number of XSP pages having a number of actions. I want a single comtroller for all XSPs which on different conditions will instantiate my helper classes and will set the properties of the object

XSL and XSP

2002-01-21 Thread alexandre . catalifaud
Hi ! I have a problem I want to select my XSL Stylesheet with a parameter in the URL I use the code joined to that mail When the ?xml-stylesheet is commented, i have that error : org.apache.cocoon.processor.ProcessorException: Could not associate stylesheet to document: no matching stylesheet

Re: Simple problem?

2002-01-21 Thread Todd Wright
Tim, In the XSL do you have a xsl:output tag? It looks like the stylesheet is assuming html for the output type. Todd Wright At 10:56 AM 1/21/2002 +1030, you wrote: Hi all, We have hopefully a simple problem using cocoon 1.8.2. I am editing html in a form field on a html page that is parsed

RE: Sun's patent application on dynamically publishing XML-compliant documents

2002-01-21 Thread Lewis, Andrew J
Realize that as bad as this sounds, many companies are acutally gathering software patents for defensive purposes under the theory that if you have enough of them you could sue over, no one will sue you over the ones they have. It still elaves the little guy getting completely screwed. My point

RE: Cocoon on a read-only medium

2002-01-21 Thread Vadim Gritsenko
From: Robert Koberg [mailto:[EMAIL PROTECTED]] - Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] Or do you rellay mean you put everything on a CD, together with the data, and get an PDF/HTMLoutput from such a stand-alone application running the CD on any

AW: Cocoon on a read-only medium

2002-01-21 Thread Jorn Heid
I thought about using Jetty for that. It's free and it's possible to use it as a read only server. Creating a exe (autostart) should be quite easy with JEXE. As it's all Java (except that autostart exe for Windows) it should be very easy to distribute. -Ursprungliche Nachricht- Von:

RE: access to a JDNI resource in XSP

2002-01-21 Thread CHAINE, yoann
Title: access to a JDNI resource in XSP Is there other practice to define and access persistant objects? -Original Message-From: Sidharth [mailto:[EMAIL PROTECTED]]Sent: vendredi 18 janvier 2002 16:14To: [EMAIL PROTECTED]Subject: Re: access to a JDNI resource in XSP This

Re: Donating Portal and Authentication Components to the Cocoon project

2002-01-21 Thread Alex McLintock
At 11:08 21/01/02, Matthew Langham wrote: As some of you already know, our company has built a complete middleware solution around Cocoon. This product, named sunShine, is successfully being used to build a variety of different solutions for various customers here in Germany. sunShine

Re: Cocoon on a read-only medium

2002-01-21 Thread Robert Koberg
copied from MS: Creating an AutoRun-enabled CD-ROM application is a straightforward procedure. You simply include two essential files: a.. An Autorun.inf file b.. A startup application When a user inserts a disc into a CD-ROM drive on a AutoRun-compatible computer, the system immediately

RE: Cocoon on a read-only medium

2002-01-21 Thread Lewis, Andrew J
actually - you need the EXE. Launching documents directly from the autorun.inf is error prone, and unreliable. There is another technotes out there that basically points out that the type of exec call they use is not the ShellOpen but rather a lower leve exec so the program needs to be an EXE or

Re: access to a JDNI resource in XSP

2002-01-21 Thread Sidharth
Title: access to a JDNI resource in XSP Ya just define it in a class Call the class in action for XSP and then use it in the XSp Through this everything is loosely coupled - Original Message - From: CHAINE, yoann To: '[EMAIL PROTECTED]' Sent: Monday, January 21, 2002

Re: Cocoon on a read-only medium

2002-01-21 Thread Robert Koberg
I'll admit it has been a while since I dealt with this (and then I just set an option in Toast's gui), but does using the exe override the user's setting if it is set to don't autorun? - Original Message - From: Lewis, Andrew J [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday,

[C2]Caching of dynamic pipeline input

2002-01-21 Thread Miller, Grant
Hi, I am using cocoon2 and tomcat 4. The problem is to do with pipelines caching dynamic input. For example, I have a pipeline which uses an XML file as it's source. This file contains some tags which are SQL queries to be processed by the SQL transformer. This works OK as a single pipeline. When

installing and working with Cocoon2 on Websphere 3.5

2002-01-21 Thread Leonid Kleiner
Hi Have anybody an experience installing and working with Cocoon2 on Websphere 3.5. I've installed Cocoon2, but there was a difficulty to get work some of examples. I fixed the problem, editing sitemap.xmap files assigning absolute path to files, but it's not looking smart enough :). If

Re: Problem with Cocoon2 [baltik !!!]

2002-01-21 Thread Robert Ladstätter
Rodrigues Luc wrote: What I have missing ? try Xvfb. This problem is described in the FAQ. http://xml.apache.org/cocoon/faq.html#faq-24 regards, robert - Please check that your question has not already been answered in

Servlet output pipelined to XSLT transformer?

2002-01-21 Thread Bob Garvey
I would like to use Cocoon to help me pipline servlet output to a transformer then to the requestor. I have a servlet ServletTest in a package servlet23 which outputs xml I have tried various sitemap.xmap setups of a form like map:match pattern=servlet23/* map:generate file=??servlet23.*

question about failed actions

2002-01-21 Thread Bryan Murphy
Let's use this as an example of a possible action: map:act name=session-validate .. do something .. /map:act Now, what do you do if you want to action fails, yet you still want to modify the pipeline based on that failed action? Well, of course, you could always write the action as a

Re: Simple problem?

2002-01-21 Thread Tim Cavanagh
Hi Todd, Hmm no we don¹t have that as I understand Cocoon does not support the xsl:output.. Here is the snip from the faq The Cocoon project doesn't implement the xsl:output feature for XSLT because we believe it breaks the separation of concerns and doesn't match the internal Cocoon

Purpose of XSP

2002-01-21 Thread Samer Kanjo
All, I have been trying to determine the purpose of XSP. I understand that the purpose of Cocoon is to provide a better way to separate content, logic, and presentation via XSL. However, the examples I have seen using XSP reveal that the content, logic, and presentation have not been separated

Re: Purpose of XSP

2002-01-21 Thread Bryan Murphy
That's more or less how I view it. I tend to explain XSPs like this: XSPs are an EASIER way of creating functionality like Java Tag Libraries. Rather than exposing functionality through a set of difficult to use and very limited Java APIs, you program your logic into a more natural and more

Re: Simple problem?

2002-01-21 Thread Todd Wright
Tim, Thanks for the info.. What is the root element of the stylesheet? If it is HTML then it is implicitly being set to HTML Todd Hi Todd, Hmm no we don¹t have that as I understand Cocoon does not support the xsl:output.. Here is the snip from the faq The Cocoon project doesn't

Re: Purpose of XSP

2002-01-21 Thread Samer Kanjo
Bryan, Are you currently using XSP to present dynamic content, such as what you would find in a web application? How are you transforming and presenting your business objects using XML? I am interested in determining the best way to make a business object available for presentation. When I

JSPGenerator and redirects

2002-01-21 Thread Peter Schwenke
Hi, I was wondering if anyone has any ideas on handling redirects from JSP pages which are processed by JSPGenerator. JSPGenerator, as expected, parses the output from the JSP. When the result is a redirect, intermittent behaviour - sometimes the redirect gets back to the browser

AW: Donating Portal and Authentication Components to the Cocoon project

2002-01-21 Thread Matthew Langham
Hi Alex, The main difference between the components we will be donating and Jetspeed is the fact that our components are integrated into Cocoon 2.0 (and adhere to the Cocoon interfaces and concepts) - as opposed to being layered on as in Jetspeed. So if you then want to build a portal all you

RE: question about failed actions

2002-01-21 Thread Max Larsson
Hi, what you want to do wokrs in this way. map:match ... map:act ... ...on success map:serialze/ /map:act ... the following is only executed on failure map:generate/ map:serialze/ /map:match An action fails if it returns

RE: XSL and XSP

2002-01-21 Thread Alexandre Catalifaud
Please help me ! How can I use different XSL for one XML, depending on the URL parameter ? I know it's possible ! Thanks !! Alexandre -- Webmaster de CalexO.com (www.calexo.com) Loufok (www.loufok.com)

A couple of ESQL Q's

2002-01-21 Thread NUGENT ROBERT (APP3RJN)
Hi, I am a newcomer to Cocoon just getting comfortable with ESQL, which we are using here with Oracle 8i. A couple of questions: First, I am trying retrieve an XML fragment stored as a CLOB in Oracle 8i. No problem using esql:get-ascii to retrieve the contents of the CLOB. Also no problem