Here a simple XSP schema

2003-10-21 Thread Sylvain.Thevoz
Hello, You can find in attachment a simple XSP schema that you could use with the Sunbow eclipse plug-in to edit the .xsp files. Sylvain xsp.xsd Description: xsp.xsd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

RE:Got a xsl-stylesheet for the tree-view?

2003-10-21 Thread Johannes Becker
@Hugo: Thank you very much. Sure will save me a lot of time (haven't tried it yet). Regards Jonny From: "Hugo Burm" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: RE:Got a xsl-stylesheet for the tree-view? Date: Tue, 21 Oct 2003 21:06:12 +0200 This is a simple ex

org.apache.avalon.framework.CascadingRuntimeException: act is not a function in flow

2003-10-21 Thread Chris Wilkes
Going off of these posts http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=102560174824115&w=2 http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=105609436611201&w=2 I'm trying to use an action in my flowscript, which is exactly what Frank posted: var ret = act("sendmailaction","",{'from':fro

Re: JSP & Cocoon and JSPReader problem

2003-10-21 Thread Joerg Heinicke
Hello Jan, Cocoon has its problems with JSP handling. Besides possible bugs 1. the output of the JSPs must be encoded as UTF-8 and 2. jsp:forward and jsp:include do not work. Read further comments inline: On 21.10.2003 14:53, Jan Wielgus wrote: Hello all, I got an error message when I'm trying t

Re: directorygenerator for a shared drive

2003-10-21 Thread Joerg Heinicke
Hello Jorg, sorry I deleted your mail, so I lost the thread, I copied only the subject from the archive. My test with latest Cocoon 2.0 code: It works. Both and . Not surprising from a code point of view: nothing has changed in the handling of the src attribute. I don't know what you are doin

Possible to POST using a HTML Generator?

2003-10-21 Thread Nick Smith
Hi guys, I wonder if anyone could help me: (pretty please? ;)) I'm trying to get hold of the results of a POST request made to a remote server - does anyone know if this is possible using the HTML generator? The reason I need to use this generator (I think) is that the results of the request w

Re: [CLI] LinkSerializer not replacing href attributes in 2.1.2

2003-10-21 Thread Upayavira
Artur Matos wrote: Dear Upayavira, Can you try with Cocoon from CVS? Or any snapshot after 1 Oct? There was a bug which I fixed that _may_ cause this. I just tried the with one of the latest dev snapshots (cocoon-2.1_20031020221926.tar.gz) and it still doesn't work correctly, the behav

RE: "The declared package does not match the expected package"?

2003-10-21 Thread Lars Huttar
Hi all, FYI, in case you run into this kind of mysterious error, here's what was happening in our case. The problem DID have to do with the upper/lowercase 'E' in the URL. When starting up the server (Tomcat) with a new version of Cocoon, or a clean work/ directory, the first URL request entered c

RE: "The declared package does not match the expected package"?

2003-10-21 Thread Lars Huttar
Thank you Thank you!! and God be praised. That did it. The error is fixed. I don't really understand why the error occurred, but knowing that it had to do with compiling the XSP into Java and having a way to treat the problem goes a long way! Lars > From: Geoff Howard > Subject: Re: "The decl

Tomcat 4.1.27 problems with Cocoon 2.1.2

2003-10-21 Thread Brent L Johnson
I've Apache HTTPD server connecting to Tomcat 4.1.27 using the JK2 Coyote connector. That part has been running just fine. I decided to use the latest version of Cocoon (I used it during the 1.x versions) so I downloaded it - modified the build.properties to exclude the samples and docs. I just

Re: "The declared package does not match the expected package"?

2003-10-21 Thread Geoff Howard
Lars Huttar wrote: Geoff, Thanks for your reply. From: Geoff Howard I don't think I changed *anything* in between. Except that I added some Microsoft SQL - JDBC driver .jar's into Tomcat 4.1\common\lib. And I took them out again to see if that could by some wild stretch be the problem. No differ

Is it possible to load a source and then close it before generating SAX events ?

2003-10-21 Thread Oleg Dulin
With regard to my message earlier called "SourceWritingTransformer modifying the file used in " , is it possible to preload a file into memory completely, close it, and then generate SAX events ? Is it a problem with caching ? How can I disable it ? Any help is greatly appreciated because I nee

RE:Got a xsl-stylesheet for the tree-view?

2003-10-21 Thread Hugo Burm
This is a simple example. The tree (treetest.xml): = My tree Heading 1 Heading 1a Heading 1b Heading 2 Heading 2a The stylesheet (treetest.xsl) ===

RE: "The declared package does not match the expected package"?

2003-10-21 Thread Lars Huttar
Geoff, Thanks for your reply. > From: Geoff Howard > > > I don't think I changed *anything* in between. Except that I added > > some Microsoft SQL - JDBC driver .jar's into Tomcat 4.1\common\lib. > > And I took them out again to see if that could by some wild stretch > > be the problem. No differ

ExceptionSelector Problem: class hides its subclass

2003-10-21 Thread Andreas Hartmann
Hi Cocoon users, I have the following problem when configuring the ExceptionSelector: Class 'org.apache.cocoon.ProcessingException' hides its subclass 'org.apache.cocoon.ResourceNotFoundException' The declaration looks like: The DocumentDoesNotExistE

SourceWritingTransformer modifying the file used in

2003-10-21 Thread Oleg Dulin
I have a very simple pipeline: Now, it appears to be able to write to anything but foo.xml . Either way, however, it appears to successfully write. Any ideas ? BTW, I am running Windows XP which has unreasonable issues modifying in use files. Kind regardsm Oleg -

OT: Authentificating user with server managed security

2003-10-21 Thread DURDINA Michal
Title: OT: Authentificating user with server managed security Hello cocooners, this is little bit off topic of the Cocoon domain itself. This question applies to Servlets in general. I am trying to authentificate the user for Cocoon that is already authentificated in another web applicatio

Link Livesites: Cocoon 2.1.1

2003-10-21 Thread hassan abolhassani
Please insert our site to the list of live sites.     Short Description: Razorfish Japan help organizations generate competitive advantage by leveraging the power of technology and strategy.   Url: http://www.razorfish.co.jp   Best Regards, Hassan Abolhassani [EMAIL PROTECTED]     Do you Yahoo!?

RE: Crusading for the XSLT document() function

2003-10-21 Thread Horsfield, Peter A.
> > A reference to this object is maintained throughout a single use of the > > pipeline > > component. By updating this reference Cocoon can store caching information > > determined after pipeline setup; since Cinclude instructions are embedded in > > the > > source document, this must be how t

Re: File uploads not working on Linux

2003-10-21 Thread John Austin
On Tue, 2003-10-21 at 12:25, Paul Bowler wrote: > When this happens nothing is written to the server logs so I don't think the request > is getting that far. > > I'm starting to think there must be an upload size limit on one of our proxy servers > or routers. Odd, but worth > looking at I supp

Re: Files uploading with Cocoon 2.1

2003-10-21 Thread Geoff Howard
Josep Riudavets Aguilo wrote: Hi all... I'm trying to implement a webpage with an upload file option. I have visited http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithFlow, and I have found some info about "FileUploadsWithFlow". make sure you also read http://wiki.cocoondev.org/Wiki.jsp?page

Antwort: RE: Aggregation problem: generate an XSLT in one pipeline and then apply it in another

2003-10-21 Thread Kai Bruns
Sorry, second matcher should look like this (map:transform): (SourceWritingTransformer, ..., Serializer) "Kai Bruns

RE: Aggregation problem: generate an XSLT in one pipeline and then apply it in another

2003-10-21 Thread Kai Bruns
Hello Oleg, something like that should work (both matchers in the same sitemap): (Transformations as you need) (SourceWritingTransformer, ..., Serializer) I did not try it but in should do the things you want. Although I don't really know whether this is

Re: File uploads not working on Linux

2003-10-21 Thread Paul Bowler
When this happens nothing is written to the server logs so I don't think the request is getting that far. I'm starting to think there must be an upload size limit on one of our proxy servers or routers. Odd, but worth looking at I suppose. Thanks for all your pointers. Kind regards, Paul. -

Files uploading with Cocoon 2.1

2003-10-21 Thread Josep Riudavets Aguilo
Hi all... I'm trying to implement a webpage with an upload file option. I have visited http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithFlow, and I have found some info about "FileUploadsWithFlow". First step is related to add the uploado option: The second s

Re: File uploads not working on Linux

2003-10-21 Thread Geoff Howard
Paul Bowler wrote: After a little more testing it appears file uploads ARE actually working, but only for small files. Files any larger than a few Kbytes results in a 'Cannot find server' error being displayed as soon as the 'upload' button is pressed. Pressing 'refresh' on the browser then force

Re: File uploads not working on Linux

2003-10-21 Thread Paul Bowler
After a little more testing it appears file uploads ARE actually working, but only for small files. Files any larger than a few Kbytes results in a 'Cannot find server' error being displayed as soon as the 'upload' button is pressed. Pressing 'refresh' on the browser then forces this form to be

Link Livesites: Cocoon 2.0

2003-10-21 Thread Paul Hermans
Our site http://www.protext.be/ is running on cocoon 2.0.3. The website presents the services and products of our company Pro Text. Regards, Paul Paul Hermans - Pro Text (an Amplexor Company) NEW ADDRESS De Vunt 17 - B-3220 Holsbeek - Belgium mailto:[EMAIL PROTECTED] +32 16 44 25 16 -

Aggregation problem: generate an XSLT in one pipeline and then apply it in another

2003-10-21 Thread Oleg Dulin
Here is what I need to do: 1) I have an incoming http request as XML using RequestGenerator 2) I need to generate an XSLT based on the result of (1) 3) I then need to apply XSLT in step (2) to an XML file 4) Save the result of (3) in a file using SourceWritingTransformer What is the cleanest way t

transactions in SQLTransformer

2003-10-21 Thread David Kavanagh
If anyone needs transaction support in the SQLTransformer. Have a look at this and vote for it. :-) http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20631 I've found it very useful on a project I'm working on and it would be a nice addition to the standard SQLTransformer. David -

Re: File uploads not working on Linux

2003-10-21 Thread Paul Bowler
Geoff, The sample file upload works fine. There is nothing different between the XP and Linux configurations and the enctype is correct. I'll up the debug level as you suggest. Thanks. -- Paul Bowler Aventix Associates Ltd -- Original Message --- From: Geoff Howard <[EMAIL PR

Re: File uploads not working on Linux

2003-10-21 Thread Geoff Howard
Paul Bowler wrote: Yep. The configurations are identical as they come from the same build process. Did you double check? The reason I'm asking is that if your XP is local and allow-uploads are not set, uploads may appear to work under some circumstances because the file is local. The other thin

Re: File uploads not working on Linux

2003-10-21 Thread Paul Bowler
Yep. The configurations are identical as they come from the same build process. Paul. P.S. I am using cocoon 2.1. -- Paul Bowler Aventix Associates Ltd -- Original Message --- From: Geoff Howard <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Tue, 21 Oct 2003 08:13:53 -0400 Subj

Re: Command line interface

2003-10-21 Thread Simon Mieth
On Tue, 21 Oct 2003 07:19:13 +0100 Upayavira <[EMAIL PROTECTED]> wrote: > Try recompiling Cocoon without the Deli block (and exclude session-fw > whilst you're at it). > > Regards, Upayavira Hi, another solution is to strip down the "cocoon.xconf" file to related components, which are needed

simple matching problem

2003-10-21 Thread anders
Hello I have a real beginner's problem with relative links to in my cocoon 2.0.4 webapp The root sitemap is located at the webapp context at server.com/cocoon. In a subdirectory under /cocoon I have a subsitemap containing several directories, for example "dir1" and "dir2". There is also an svg

Re: File uploads not working on Linux

2003-10-21 Thread Geoff Howard
Paul Bowler wrote: My cocoon application works fine using Jetty on Win XP, but as soon as I move it to the Linux production box (using the same version of cocoon and Jetty with identical configurations) my FileUpload action fails. The code to get the File from the request object is: Request requ

URL encoding for request

2003-10-21 Thread Fleischer Roman
Hello, i have some problems with URL encoding. I call a matcher in this form: http://127.0.0.1/cocoon/OCIprod?searchString=Gie%C3%9Fharz&searchMLFB=&searc h=result... (%C3%9F is the german "ss") In the matcher i call a request generator and a xml-serializer. The result is: ...

JSP & Cocoon and JSPReader problem

2003-10-21 Thread Jan Wielgus
Hello all, I got an error message when I'm trying to read my jsp page by cocoon using JSPReader. In the sitemap I have such pipeline entry: My configuration is: cocoon 2.0.4, Tomcat 4.1.27 Apart from that, I would like to ask a more general question. I have to write a web-application for

RE: Problem with authentication-framework

2003-10-21 Thread Carsten Ziegeler
Hi, many thanks for your test case - I just found the bug and have committed a change to the cvs; only one single class the loggedin action is affected. Many thanks for your help Carsten > -Original Message- > From: Frederic Gaus [mailto:[EMAIL PROTECTED] > Sent: Monday, October 20, 200

Re: tomcat4 : cocoon 2.1.3 dev : xiclude failed: one solution

2003-10-21 Thread Joerg Heinicke
I change the xmlbase sample xml to the following: http://www.w3.org/2001/XInclude";> XInclude xml:base demo This is a test of the xml:base support. And it works. Maybe you are only missing a trailing / after cocoon://sitemap_item

File uploads not working on Linux

2003-10-21 Thread Paul Bowler
My cocoon application works fine using Jetty on Win XP, but as soon as I move it to the Linux production box (using the same version of cocoon and Jetty with identical configurations) my FileUpload action fails. The code to get the File from the request object is: Request request = ObjectModel

Re: directorygenerator for a shared drive

2003-10-21 Thread Joerg Heinicke
Oh yes, 2.1. I will test on 2.0.4. Joerg Jorg Heymans wrote: is this on cocoon 2.1.x ? Because on 2.0.4 this does not work. From sitemap.log INFO(2003-10-21) 09:25.13:492 [sitemap] (/app/gfx/remotedir) Thread-11/PipelineNode: Resource not found in pipeline at file:/D:/servers/jakarta-tom

@Hugo Burm: Got a xsl-stylesheet for the tree-view?

2003-10-21 Thread Johannes Becker
Hi Hugo, I'm now working with the DHTML tree from http://www.treeview.net, as you are. I wonder if you got a xsl-stylesheet for the tree-view, that creates the the client side JavaScript? Could save me a lot of time. Regards Jonny ___ Hi, I am us

Re: [CLI] LinkSerializer not replacing href attributes in 2.1.2

2003-10-21 Thread Upayavira
Artur Matos wrote: Dear Upayavira, Can you try with Cocoon from CVS? Or any snapshot after 1 Oct? There was a bug which I fixed that _may_ cause this. I just tried the with one of the latest dev snapshots (cocoon-2.1_20031020221926.tar.gz) and it still doesn't work correctly, the behav

Re: Command line interface

2003-10-21 Thread Upayavira
Justin Makeig wrote: Upayavira, Thanks for all of your help. Let me know if you get your CLI Ant task running. I'd be curious to see how you got it to work. In the meantime, I'm going to require tomcat to be running to build the TOC. Here's the simple Ant target that I wrote: name="buildTOC"

RE: NPE While Redirecting

2003-10-21 Thread Yves Vindevogel
Lionel, That's not the case, when you use If you use a generator, as the first part of the , you need to have a serializer. Yves -Original Message- From: Lionel Crine [mailto:[EMAIL PROTECTED] Sent: dinsdag 21 oktober 2003 11:08 To: [EMAIL PROTECTED] Subject: Re: NPE While Redirecting

Portal framework and new Cocoon 2.1.2

2003-10-21 Thread Sylvain.Thevoz
Hello, I'm using the portal framework for almost one year and I have just updated my application to Cocoon 2.1.2 last stable release. My problem is that now the "Save" function in Customize doesn't work anymore. The user-profile file is not updated anymore. If There is already a profile for a u

Re: NPE While Redirecting

2003-10-21 Thread Lionel Crine
Hi, If I'm right, a tag should contain a least One generator and One serializer which is not the case in . Lionel At 10:07 21/10/2003 +0200, you wrote: Maybe adding global="true" on the map:redirect-to would help. On Mon, 2003-10-20 at 23:29, Tim Olson wrote: > we get a NullPointerException f

Re: XSP schema for Sunbow Eclipse plug-in editor

2003-10-21 Thread Olivier Billard
Hi Sylvain, I don't think you will find an XSP schema. You would need to include all existing core taglibs, and all yours. But with XMLSpy for exemple, you could reverse an XSP sample of your own to a simple schema. -- Olivier Billard On 20/10/2003 15:51, [EMAIL PROTECTED] wrote: Hello, I'm tr

Re: NPE While Redirecting

2003-10-21 Thread Bruno Dumon
Maybe adding global="true" on the map:redirect-to would help. On Mon, 2003-10-20 at 23:29, Tim Olson wrote: > we get a NullPointerException for any that gets called in our > subsitemap. i presume this is because a has been > called, but we must use the "cocoon:" protocol in order to divide our

RE: Crusading for the XSLT document() function

2003-10-21 Thread Bruno Dumon
On Mon, 2003-10-20 at 19:21, Horsfield, Peter A. wrote: > Hello everyone! > > I'd just like to thank you all for your input on this thread. > > Lars interpreted my email correctly as a request not to exclude the > document() > function - not that it is a panacea. > > Robert - thanks for champi

Re: DocBook -> fo2rtf produces java.util.EmptyStackException

2003-10-21 Thread Phil Chu
John Austin wrote: [] *** Warning *** the download link on that site has one too many 'jfor' directories. Use: http://www.technicat.com/jfor/jfor.jar not http://www.technicat.com/jfor/jfor/jfor.jar I fixed the links, thanks. Also renamed the jar to jfor_docbook.jar to avoid confusion. I

UDDI with cocoon

2003-10-21 Thread Mustafa Ali, Halgurt
Hallo,   I want to use UDDI with cocoon, is cocoon supporting UDDI? Is it already integrated? What I have to do if I write web services in cocoon? Can someone tell me if there is documentation on that issue?   Thanks for help, Halgurt -

Re: directorygenerator for a shared drive

2003-10-21 Thread Jorg Heymans
is this on cocoon 2.1.x ? Because on 2.0.4 this does not work. From sitemap.log INFO(2003-10-21) 09:25.13:492 [sitemap] (/app/gfx/remotedir) Thread-11/PipelineNode: Resource not found in pipeline at file:/D:/servers/jakarta-tomcat-4.1.24-LE-jdk14/webapps/cocoon/sitemap.xmap:77:17 org.apache

RE: NPE While Redirecting

2003-10-21 Thread Tim Olson
oops, it actually does have a serializer which i accidentally clipped off when removing an extraneous transform > -Original Message- > From: Unico Hommes [mailto:[EMAIL PROTECTED] > Sent: Monday, October 20, 2003 6:10 PM > To: [EMAIL PROTECTED] > Subject: RE: NPE While Redirecting > > >