Re: Upload within a Cocoon Portal

2005-07-20 Thread Philippe Guillard
Hi, Unfortunately i can't find the original mail explaining this, but i suppose you get what i get, even in release 2.1.7, so this is what i did : Change cocoon-2.1.7/src/blocks/portal/java/org/apache/cocoon/portal/transformation/CopletTransformer.java You should see if ( enctype== null

Re: [portal] Workflow integration best practice?

2005-07-20 Thread Ralph Goers
Funny you should ask that. I was evaluating workflow engines just a few weeks ago. We basically came to the conclusion that that was not what we wanted. Way too oriented towards web services for what we wanted. I am currently in the process of trying to get Drools working in conjunction wit

RE: Data-driven decorator design

2005-07-20 Thread Conal Tuohy
Peter van Hardenberg wrote: > I'd like to "decorate" my XML files as an early processing > step with XML from another source. The source documents are > Shakespearean texts, and I want to use Cocoon to overlay > annotations from various sources onto the file. > > I am considering using map:agg

RE: Using a transformer on XSP

2005-07-20 Thread Nathaniel Alfred
You can pipe the XSP output into any number of transformation steps before serializing it: ... HTH, Alfred. -Original Message- From: Stewart, Gary [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 20. Juli 2005 17:10 To: users@cocoon.apache.org Subject: RE: Using a transformer o

Re: Help! newbie.. cocoon + Tomcat not working

2005-07-20 Thread missterie
Sorry about that. I have Cocoon 2.1, Tomcat 5.0 and Httpd 2.0. Everything works independently. I have pages in Tomcat that have JsessionID, but when using Cocoon to transform these pages the request goes through Cocoon. I would like the request to go through Tomcat and the piping through Cocoon. Do

[Portal] Cocon 2.1.7 upgrade breaks CachingURICoplets

2005-07-20 Thread Nick Goupinets
Hi everybody, I am trying to upgrade our project that is based on the portal block from Cocoon 2.1.5 to Cocoon 2.1.7. Right now I run into a very annoying problem which I have no idea how to solve: All of CachingURICoplets that use CForms stop functioning after form gets shown. It just looks a

Re: links in svg

2005-07-20 Thread Dustin N. Jenkins
Nevermind, I never thought to create my anchor tags within my XML and just render the SVG images within them. I was under the impression that SVG will create the links for you, and that you could just dump the output wherever you want and it would behave as expected. Thanks! Dustin Dustin

CForms: Accessing javaflow continuation or session from java event handler...

2005-07-20 Thread Thomas Lutz
Hi list ! I use java as flow language, not javascript. This forces me to use java in all places, where javascript is used in the samples, and my problem are action event listeners. I managed to write a event listener in java, accessing all the form elements via the event param, but... How do

Re: Advice on site design - really close

2005-07-20 Thread footh
Thanks everyone for all your help. Late last night after reading more documentation, I discovered the concept of the "internal" pipeline. This seems to be exactly what I need. I can aggregrate all the pieces after they've been generated and transformed in an internal pipeline into one big xml fi

Re: links in svg

2005-07-20 Thread Dustin N. Jenkins
How does that work with an extractor though? My sitemap.xmap has an extractor transformer for the SVG stuff, but my XSL needs to transform the resulting fe:fragment tag, so what would happen in there? I could say but then I'd lose the links that SVG would've created. Is there anyway to just

Data-driven decorator design

2005-07-20 Thread Peter van Hardenberg
Hi all, I'd like to "decorate" my XML files as an early processing step with XML from another source. The source documents are Shakespearean texts, and I want to use Cocoon to overlay annotations from various sources onto the file. I am considering using map:aggregate, but it seems needlessly u

Re: Advice on site design - really close

2005-07-20 Thread Peter van Hardenberg
Hi Jan, we recently had this same problem at the Internet Shakespeare Editions. Here's what I came up with. First, I was disappointed to discover resources can't be inherited, so I created a match-rule like this in the root sitemap. The resource that lives in my root sitemap looks

RE: Using a transformer on XSP

2005-07-20 Thread Stewart, Gary
> -Original Message- > From: Olivier NOUGUIER [mailto:[EMAIL PROTECTED] > Sent: 20 July 2005 16:05 > > hi > AFAIK, if XSP output is html you should *only* serialize, > transformation are xml ===> xml (not sure?) Sorry it is XHTML and I've basically got a template that I'm trying to use

Re: zip serializer gives zero lenght output with large file

2005-07-20 Thread Alberto Brosich
I tried a little bit different approach. I wrote a xsl that prepend and append zip tags to data, then I serialize with zip serializer. The result is the same. :-(. I'll try to modify xsp. Thanks Alberto On Wed, 2005-07-20 at 15:23 +0100, Rui Alberto wrote: > Hi Alberto, > I've tested and the

Re: Using a transformer on XSP

2005-07-20 Thread Olivier NOUGUIER
hi AFAIK, if XSP output is html you should *only* serialize, transformation are xml ===> xml (not sure?) > Message du 20/07/05 16:53 > De : "Stewart, Gary" <[EMAIL PROTECTED]> > A : users@cocoon.apache.org > Copie à : > Objet : Using a transformer on XSP > > Hi there, > > I'm relatively new

Using a transformer on XSP

2005-07-20 Thread Stewart, Gary
Hi there, I'm relatively new to using Cocoon and was still getting to grips with some of the basics. I have an XSP page and it does its thing just fine. However what I was hoping to do was to take the generated HTML from the XSP page and then pass it to another transformer to further process

Re: zip serializer gives zero lenght output with large file

2005-07-20 Thread Rui Alberto
Hi Alberto, I've tested and the problem occurred as you described. If the @src (element entry) attribute refers a file in the file system, there's no problem, but when using cocoon protocol, working with a large amount of data the resulting zip file has 0 bytes!! I've tried using: http://apache.o

Re: Help! newbie.. cocoon + Tomcat not working

2005-07-20 Thread Derek Hohls
You will have to post a little more info here - * mod_jk is for use with Apache, not Tomcat * what error messages do you get? * what do the logs (Tomcat and Cocoon) show? also, some details as to your system config (ver no.s etc) and the process you have already undertaken will help you get a resp

Re: zip serializer gives zero lenght output with large file

2005-07-20 Thread Alberto Brosich
On Wed, 2005-07-20 at 12:28 +0100, Rui Alberto wrote: > Hi, > try moving ... into a noncaching > pipeline type. No changes. I tried with some values of outputBufferSize between 1024 and 65000. The behaviour remains the same. How can i do some debugging? Alberto > > HTH. > Rui > > On Wed, 2

Help! newbie.. cocoon + Tomcat not working

2005-07-20 Thread missterie
I recently got my cocoon pipelines working but would like the requests to go through Tomcat. I have read about using Mod_jk and setting up Cocoon as a servlet, which I did but its still not working. Can someone please direct me on steps or other options? Thanks ---

Re: zip serializer gives zero lenght output with large file

2005-07-20 Thread Rui Alberto
Hi, try moving ... into a noncaching pipeline type. HTH. Rui On Wed, 2005-07-20 at 12:58 +0200, Alberto Brosich wrote: > I have some problems with zip serializer. > > I use cocoon 2.1.7, tomcat 5.5.9, jdk 1.5.0_04-b05 > > With small files (1-10 MByte) works all fine. With ~18 Mbyte > the zip

zip serializer gives zero lenght output with large file

2005-07-20 Thread Alberto Brosich
I have some problems with zip serializer. I use cocoon 2.1.7, tomcat 5.5.9, jdk 1.5.0_04-b05 With small files (1-10 MByte) works all fine. With ~18 Mbyte the zip file has 0 length. Without zip serializer the browser reads correctly all megas (after some minutes :-)). Any suggest? regards Alb

Re: Authentication problem

2005-07-20 Thread Jorg Heymans
Angelo Immediata wrote: > Hi. > First of all very thanks for your reply. > I'll give a look to the java class later in this day. > I have tried by using > var codiceFiscale = > sessionManager.getContextFragment("authentication","/authentication/USERINFORMATION/CODICE_FISCALE/text()"); > and i

Re: Sitemap:Selector multiple value in map:when tag ?

2005-07-20 Thread oceatoon
Ralph Goers wrote: > The syntax below would test to see if the value matches the string > "europe or region". You would need to write a new selector that accepts > something like: > "'europe' or 'region'" and knows what to do with it. Thanks Ralph, Well it would react just as it does now just tha

Re: Authentication problem

2005-07-20 Thread Angelo Immediata
Hi. First of all very thanks for your reply. I'll give a look to the java class later in this day. I have tried by using var codiceFiscale = sessionManager.getContextFragment("authentication","/authentication/USERINFORMATION/CODICE_FISCALE/text()"); and i have: codiceFiscale: [#do

CForms: Java class for action events, call with parameter

2005-07-20 Thread Thomas Lutz
Hi list ! Is it possible to pass parameter to a java action event handler ? So I could write a generic action event handler, that recieves two strings with group id's... switching them from group state invisible to active and vice versa ? thanks, tom

[portal] Workflow integration best practice?

2005-07-20 Thread Florian Leinberger
Hi, I was wondering if someone successfully tried to integrate a Workflow Server (like Enhydfra Shark or others) in Cocoon (using CForms). Tha goal ist to offer simple, form based, workflow-applications in our portal - for example the reservation of a meeting room with approval. Thanx for sharing

Re: links in svg

2005-07-20 Thread Simon Mieth
On Tue, 19 Jul 2005 13:01:04 -0500 (CDT) Andres Taborda <[EMAIL PROTECTED]> wrote: > hello list > some user can help me > I have an code of svg and applied an transformation > to png. my code svg have various LINK by example in > > > style="fill:red"/> > > > and addition: > > > after disp

Re: Advice on site design - really close

2005-07-20 Thread Florian Leinberger
You might consider using the Cocoon-Portal-Framework that could help you aggregate the dynamic parts of your site in different portals (see the block examples). Florian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio