SOAPHelper

2005-03-02 Thread Gawde, Kiran
A suggestion for dev team:   The SOAPHelper.java retrieves entire webservice respose and then returns XScriptObjectInlineXML.     String ret = method.getResponseBodyAsString();     int startOfXML = ret.indexOf("    if (startOfXML == -1) { // No xml?! 

Re: CForms -Bind to 2 Separate Sources

2005-03-02 Thread Jorg Heymans
Have a look at [1], more specifically the direction attribute. In your binding, you can specify where the data should be loaded from and where the data should be saved to. So you load from your XML and you save to a different bean that you then persist. Should be fairly straightforward I believ

Re: [YAY] (was Re: Forms builder)

2005-03-02 Thread Jorg Heymans
Sylvain Wallez wrote: Jorg Heymans wrote: This is some awesomely amazingly good news I won't jump conclusions but you didn't make it too difficult to read between the lines there :) Really? Oh, you're very smart ;-P sure am :) Just use big enough caps when announcing it so i won't miss the

Re: writing PDF file to filesystem

2005-03-02 Thread Mark Lundquist
On Feb 24, 2005, at 4:53 AM, Aurélien DEHAY wrote: I _think_ you can do it with flowscript, using processPipelineTo (see doc http://cocoon.apache.org/2.1/userdocs/flow/api.html#Cocoon+Object ). That's right, you can... that's how I've always done it. cheers, —ml—

[repost] Problem with flow-based authentication

2005-03-02 Thread Adam Ratcliffe
I've been re-implementing some code to use the flow functions in place of actions for authentication and have run into a problem with redirecting vs invoking an internal pipeline once the user has successfully logged in. I have a protected pipeline declared in my sitemap:

RE: XSP and parameters

2005-03-02 Thread Carlos =?iso-8859-1?Q?Ch=E1vez?=
Carlos Chávez Escribio :-) > > Andreas Busch Escribio :-) >> Thank's a lot for the example >> but I can't get it work >> >> My test: >> >> Test.xsp >> http://apache.org/cocoon/SQL/v2"; >> xmlns:xsp="http://apache.org/xsp"; >> xmlns:util="http://apache.org/xsp/util/2.0"; >> xmlns:input="ht

RE: XSP and parameters

2005-03-02 Thread Carlos =?iso-8859-1?Q?Ch=E1vez?=
Andreas Busch Escribio :-) > Thank's a lot for the example > but I can't get it work > > My test: > > Test.xsp > http://apache.org/cocoon/SQL/v2"; > xmlns:xsp="http://apache.org/xsp"; > xmlns:util="http://apache.org/xsp/util/2.0"; > xmlns:input="http://apache.org/cocoon/xsp/input/1.0"; >

Re: "Attempted to process incomplete pipeline" error?

2005-03-02 Thread Geert Josten
You're right in that there's no SAX events to serialize. However, I wonder if adding a serializer would quiet Cocoon's complaints of an incomplete pipeline? I believe that's what Lars was getting at. No, the sitemap parser will complain that it is not legal to combine a redirect-to with a serializ

Re: "Attempted to process incomplete pipeline" error?

2005-03-02 Thread Daniel McOrmond
You're right in that there's no SAX events to serialize. However, I wonder if adding a serializer would quiet Cocoon's complaints of an incomplete pipeline? I believe that's what Lars was getting at. Of course, the real solution to your problem is to do all your redirecting from flowscript. ;) -D

Re: [YAY] (was Re: Forms builder)

2005-03-02 Thread Antonio Gallardo
On Mie, 2 de Marzo de 2005, 9:01, Sylvain Wallez dijo: > Jorg Heymans wrote: > >> This is some awesomely amazingly good news I won't jump >> conclusions but you didn't make it too difficult to read between the >> lines there :) > > > Really? Oh, you're very smart ;-P /me crossing fingers ;-)

Re: "Attempted to process incomplete pipeline" error?

2005-03-02 Thread Mark Lundquist
On Mar 2, 2005, at 9:39 AM, Lars Huttar wrote: Question 1: How do I get rid of this error? Did you try putting a after the redirect-to? hmm, well... I don't think that would be right! :-) There's no SAX stream to serialize. (And if there were one at this point in the pipeline execution — that

Re: [YAY] (was Re: Forms builder)

2005-03-02 Thread Sylvain Wallez
Jorg Heymans wrote: This is some awesomely amazingly good news I won't jump conclusions but you didn't make it too difficult to read between the lines there :) Really? Oh, you're very smart ;-P Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache

Re: CForms -Bind to 2 Separate Sources

2005-03-02 Thread Mark Lundquist
Hi Peter, On Mar 2, 2005, at 12:19 AM, Peter Sparkes wrote: Hi, Help please I wish to bind to a XML file to generate a form and then send the data in the completed form to a database without updating the original XML file. I can't work out how to extract the data from the completed form so that

Re: "Attempted to process incomplete pipeline" error?

2005-03-02 Thread Lars Huttar
Mark Lundquist wrote: Hi all, Using 2.1.6... I have something like: . . (blah blah blah) . The redirect is _external_ (not "cocoon:/somewhere). Cocoon sends the redirect back to the user agent correctly... but every time, I get a bunch of stackage in handled-errors.log, all about "Attempted

Re: "Attempted to process incomplete pipeline" error?

2005-03-02 Thread Daniel McOrmond
Mark, I can help by answering question 2. There was indeed some 'bugage' related to redirecting that was fixed in the 2.1.6 release. -Daniel On Wed, 2 Mar 2005 08:22:58 -0800, Mark Lundquist <[EMAIL PROTECTED]> wrote: > Question 2:... >

RE: XSP and parameters

2005-03-02 Thread Alfred Nathaniel
On Wed, 2005-03-02 at 17:48, Gawde, Kiran wrote: > Note the tag. It should be: > > Test.xsp > http://apache.org/cocoon/SQL/v2"; > xmlns:xsp="http://apache.org/xsp"; > xmlns:util="http://apache.org/xsp/util/2.0"; > xmlns:input="http://apache.org/cocoon/xsp/input/1.0"; > xmlns:xsp-requ

RE: parsing xml code

2005-03-02 Thread Gawde, Kiran
You may want to apply two transforms first doing following: And the second as it is given in the previous email. -Kiran (Object Edge Inc) -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vlad Golodov Sent: Monday, February 28, 2005 3:26 AM To: users@coco

RE: Using patterns for map:act elements ??

2005-03-02 Thread Gawde, Kiran
Not sure, but you may be able to use XSP actions. ... -Kiran (Object Edge Inc) -Original Message- From: Eric Shannon [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 2:30 PM To: users@cocoon.apache.org Subject: Using patterns for map:act elements ?? In

Re: Alternative methods of accessing current WebContinuation?

2005-03-02 Thread Daniel McOrmond
Cool! Thanks Mark. That's exactly what I was looking for. -Daniel On Wed, 2 Mar 2005 08:30:46 -0800, Mark Lundquist <[EMAIL PROTECTED]> wrote: > Hi Daniel, > > On Mar 1, 2005, at 2:13 PM, Daniel McOrmond wrote: > > > I was thinking of something along the lines of an Input Module, > > perhaps e

RE: XSP and parameters

2005-03-02 Thread Gawde, Kiran
Note the tag. It should be: Test.xsp http://apache.org/cocoon/SQL/v2"; xmlns:xsp="http://apache.org/xsp"; xmlns:util="http://apache.org/xsp/util/2.0"; xmlns:input="http://apache.org/cocoon/xsp/input/1.0"; xmlns:xsp-request="http://apache.org/xsp/request/2.0";>

RE: XSP and parameters

2005-03-02 Thread Andreas Busch
Thank's a lot for the example but I can't get it work My test: Test.xsp http://apache.org/cocoon/SQL/v2"; xmlns:xsp="http://apache.org/xsp"; xmlns:util="http://apache.org/xsp/util/2.0"; xmlns:input="http://apache.org/cocoon/xsp/input/1.0"; xmlns:xsp-request="http://apache.org/xsp

Re: Alternative methods of accessing current WebContinuation?

2005-03-02 Thread Mark Lundquist
Hi Daniel, On Mar 1, 2005, at 2:13 PM, Daniel McOrmond wrote: I was thinking of something along the lines of an Input Module, perhaps even using XModuleSource. See the "flow-continuation" InputModule. cheers, —ml— - To unsubscribe,

"Attempted to process incomplete pipeline" error?

2005-03-02 Thread Mark Lundquist
Hi all, Using 2.1.6... I have something like: . . (blah blah blah) . The redirect is _external_ (not "cocoon:/somewhere). Cocoon sends the redirect back to the user agent correctly... but every time, I get a bunch of stackage in handled-errors.log, all about "Attempted to process incomp

RE: include specific element with cinclude

2005-03-02 Thread Schultz, Gary - COMM
I will add it. It was someone else's idea so I didn't want to step on any toes. Thought I'd check first. -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 12:46 AM To: users@cocoon.apache.org Subject: RE: include specific element with cinclude

JSPReader

2005-03-02 Thread Charles Abell
This must be obvious. I'm calling a jsp from an xsp - which works fine using JSPReader. Is there a way of associating the session created by the xsp with the jsp ? I call it with "Form Action=xx.jsp etc, but I think that JSPReader doesn't take parameters

Re: XSP and parameters

2005-03-02 Thread =?ISO-8859-1?Q?Pierre-Yves_Landur=E9?=
can help you ;) example is : http://apache.org/xsp"; xmlns:util="http://apache.org/xsp/util/2.0"; xmlns:input="http://apache.org/cocoon/xsp/input/1.0"; xmlns:xsp-request="http://apache.org/xsp/request/2.0"; language="java"> Andreas Busch wrote: Sorry for this basic question: I t

XSP and parameters

2005-03-02 Thread Andreas Busch
Sorry for this basic question:   I try to send a Parameter to a query with the following logic:   url: /media.xml?p=4   in sitemap: pattern="media.xml"> src="">"media.xsp" type="serverpages"> name="pg" value="{request-param:p}"/> and in XSP-file : .WHERE nr =  

Re: Using patterns for map:act elements ??

2005-03-02 Thread Jorg Heymans
Eric Shannon wrote: The projects is using Cocoon 2.1.5.1. This implementation is something I am currently "inheriting". I had used Cocoon 2.0.x some time ago, so their action based approach didn't strike me as too off the wall. It is quite the mess to manage though. What is the common approa

Re: Using patterns for map:act elements ??

2005-03-02 Thread Eric Shannon
The projects is using Cocoon 2.1.5.1. This implementation is something I am currently "inheriting". I had used Cocoon 2.0.x some time ago, so their action based approach didn't strike me as too off the wall. It is quite the mess to manage though. What is the common approach to solving this?

i18n transformer problems

2005-03-02 Thread Gunter D'Hondt
Hi, I've got the following transformer-configuration: false and I'm calling the transformer with: in my config-folder I've only got textmessages.xml and validationmessages.xml (so no textmessages_nl_BE.xml)

[YAY] (was Re: Forms builder)

2005-03-02 Thread Jorg Heymans
I can't believe i missed your post on this !! Now about the business/community issue, I understand your concern. Cocoon would be much more appealing to IT managers if it had some opensource tooling. At least the basic tooling. For this reason and also some others, we, Anyware Technologies, decided

Re: Forms builder

2005-03-02 Thread Sylvain Wallez
Jorg Heymans wrote: Derek Hohls wrote: Which one is it?? According to their website, there are only plugins for: * Cocoon Assistant : This plugin helps you to create and organize your Cocoon project inside the Eclipse platform. * Cocoon Sitemap Editor : This plugins helps you to edit the Cocoon s

Re: Forms builder

2005-03-02 Thread Jorg Heymans
Derek Hohls wrote: Which one is it?? According to their website, there are only plugins for: * Cocoon Assistant : This plugin helps you to create and organize your Cocoon project inside the Eclipse platform. * Cocoon Sitemap Editor : This plugins helps you to edit the Cocoon sitemap. * Server Ass

Re: parsing xml code [converting escaped tags?]

2005-03-02 Thread Derek Hohls
Vlad This is more about how to write out escaped tags rather than actually converting them to valid XML. Derek >>> [EMAIL PROTECTED] 2005/03/01 08:10:26 AM >>> I have found something similar: http://www.dpawson.co.uk/xsl/sect2/N2215.html Does anybody tried it to solve our problem? "Derek Hoh

Re: Forms builder

2005-03-02 Thread Derek Hohls
Which one is it?? According to their website, there are only plugins for: * Cocoon Assistant : This plugin helps you to create and organize your Cocoon project inside the Eclipse platform. * Cocoon Sitemap Editor : This plugins helps you to edit the Cocoon sitemap. * Server Assistant : This plu

CForms -Bind to 2 Separate Sources

2005-03-02 Thread Peter Sparkes
Hi, Help please I wish to bind to a XML file to generate a form and then send the data in the completed form to a database without updating the original XML file. I can't work out how to extract the data from the completed form so that I can update the database. Thanks Peter Sparkes ---