Re: parameters / objects from pipeline comp. to pipeline component

2009-12-18 Thread Johannes Lichtenberger
On Fri, 2009-12-18 at 20:41 +0100, Johannes Lichtenberger wrote: Hi, what's the proper way to handle data which should be sent from a generator to a transformer (an ArrayList). It seems if I use a simple static getter on a static ArrayList it's always null. I've put it in the parameters

Re: Parameters in block protocol

2009-04-23 Thread Andre Juffer
If you intend to forward the request parameters to a stylesheet you need to explicitly state that in the sitemap. I cannot recall the exact format, however Søren Krum wrote: Hi! I tried a little bit more, and now i have a pipeline match looking like that:

Re: Parameters in block protocol

2009-04-23 Thread Søren Krum
Andre Juffer wrote: If you intend to forward the request parameters to a stylesheet you need to explicitly state that in the sitemap. I cannot recall the exact format, however I guess that is what you mean (and if you do it right it works!): map:match pattern=portal-login-service

Re: Parameters in block protocol

2009-04-22 Thread Andre Juffer
Try: src=servlet:central:/portal-login-service?redirect-url={url-encode:{request:requestURI}}amp;queryString={request:queryString} Søren Krum wrote: Hi! I try an upgrade of an web app from cocoon 2.1 to 2.2, and eger as i am, i want to get it all fine in small blocks. Calling blocks works

Re: Parameters- from CForms into sitemap

2009-04-21 Thread Quinn Dombrowski
Hi Andre, Thanks so much for the code-- it started working! registration.js has: var viewData = { username : form.getChild(name).getValue() } cocoon.sendPage(registration-success-pipeline, viewData); sitemap has: map:match pattern=registration-success-pipeline map:generate

Re: Parameters- from CForms into sitemap

2009-04-21 Thread Víctor Pergolesi
@cocoon.apache.org Sent: Tue, 21 Apr 2009 12:39:57 -0300 Subject: Re: Parameters- from CForms into sitemap Hi Andre, Thanks so much for the code-- it started working! registration.js has: var viewData = { username : form.getChild(name).getValue() } cocoon.sendPage(registration-success

SOLVED: Re: Parameters- from CForms into sitemap

2009-04-21 Thread Quinn Dombrowski
- B8003CAA Bahía Blanca - Argentina *From:* Quinn Dombrowski [mailto:qdomb...@uiuc.edu] *To:* users@cocoon.apache.org *Sent:* Tue, 21 Apr 2009 12:39:57 -0300 *Subject:* Re: Parameters- from CForms into sitemap

Re: Parameters- from CForms into sitemap

2009-04-12 Thread André Davignon
Hi, The flow-attr input module could maybe help you : map:parameter name=username value={flow-attr:username}/ or something like that... André Hello, This is my first time working with the Forms block in Cocoon 2.2 and I've gotten a bit stuck. I got the Simple Example to work

Re: Parameters- from CForms into sitemap

2009-04-12 Thread Quinn Dombrowski
Thanks for the help, Andre! *Something* is going through, because I'm getting a blank instead of the default parameter I set in the XSL, but I'm still not able to pick up the value. I've tried both flow-attr and flow-attribute. The relevant pieces I've got here are: Flowscript -

Re: Parameters- from CForms into sitemap

2009-04-12 Thread André Davignon
Does var username = form.getChild(name).getValue(); help you ? I hope so. André Thanks for the help, Andre! *Something* is going through, because I'm getting a blank instead of the default parameter I set in the XSL, but I'm still not able to pick up the value. I've tried both flow-attr

Re: parameters in chained transforms

2007-02-08 Thread Leszek Gawron
Tobia wrote: By the way, can I access Cocoon's objects (request, session...) through an xslt/xpath extension? That would be useful. That would not be a good idea - you break pipeline caching. You are probably better off using input modules to pass those values via sitemap parameters -- Leszek

Re: parameters in chained transforms

2007-02-04 Thread Askild Aaberg Olsen
Lincoln Mitchell wrote: How do I send the value of a parameter defined and used in a xsl file back to the sitemap for the next xsl to use in the chain of transformations? Since the sitemap is set up before the transformation starts, I don't think you can do this by passing parameters through

Re: parameters in chained transforms

2007-02-04 Thread Tobia
Askild Aaberg Olsen wrote: Lincoln Mitchell wrote: How do I send the value of a parameter defined and used in a xsl file back to the sitemap for the next xsl to use in the chain of transformations? Since the sitemap is set up before the transformation starts, I don't think you can do

Re: parameters for wsproxy, or generators in general

2007-01-29 Thread Jeroen Reijn
Hi Lars, I'm not familiar with the WSProxy generator, but I'll try to help out as much as possible. Lars Huttar wrote: Hello, The doc page for Web Services Proxy, http://cocoon.apache.org/2.1/userdocs/wsproxy-generator.html, says If the remote site requires authentication, then the

Re: parameters for wsproxy, or generators in general

2007-01-29 Thread Lars Huttar
On 1/29/2007 12:32 PM, Jeroen Reijn wrote: Hi Lars, I'm not familiar with the WSProxy generator, but I'll try to help out as much as possible. Lars Huttar wrote: Hello, The doc page for Web Services Proxy, http://cocoon.apache.org/2.1/userdocs/wsproxy-generator.html, says If the remote

Re: [Fwd: Re: parameters for wsproxy, or generators in general]

2007-01-29 Thread Tony Collen
Hi Lars, Yes, it's definitely been a while :) First off, I think the WSProxy was at one point superceded by the HttpProxyGenerator. There's a good chance that the WSPG should be deprecated or even removed. As far as authentication goes, I'm not too sure what to suggest. It looks like the

Re: [Fwd: Re: parameters for wsproxy, or generators in general]

2007-01-29 Thread Lars Huttar
Hi Tony, Thanks for responding. On 1/29/2007 4:11 PM, Tony Collen wrote: Hi Lars, Yes, it's definitely been a while :) First off, I think the WSProxy was at one point superceded by the HttpProxyGenerator. There's a good chance that the WSPG should be deprecated or even removed. Hmm, OK,

Re: [Fwd: Re: parameters for wsproxy, or generators in general]

2007-01-29 Thread Bertrand Delacretaz
On 1/30/07, Lars Huttar [EMAIL PROTECTED] wrote: ... any hints on how httpproxygenerator differs from wsproxy?... It looks like the proxy block documentation is out of date, and the samples do not show much either. If you can read some Java, I'd suggest looking at the source code of these

Re: parameters passing sitemap - flow - jx

2006-06-14 Thread christian bindeballe
Hi everyone Just discovered that I had made a slight mistake when loading the parameters into the variables. in my flowscript the variables weren't declared and initialized until after the call of another sitemap, so the params from the original sitemap that called the flow were already gone.

Re: parameters passing sitemap - flow - jx

2006-06-13 Thread christian bindeballe
Hello Ard! Thanks for your reply, I will try to explain, but first a) is the correct one. Just use in flowscript a simple print() statement and you would see that this was a working one a question of a stupid person: you mean print(param);? or is it more difficult than that? e.g.:

RE: parameters passing sitemap - flow - jx

2006-06-12 Thread Ard Schrijvers
Hi, I try to pass parameters from a sitemap to a flowscript, from where I want to pass them further to another page for extraction. The point is, that I need theses parameters (part of the URI) in the final document and I don't know how to do it otherwise. Unfortunately I'm not really

RE: parameters in aggregation

2006-03-15 Thread Ard Schrijvers
Hello Yufeng, I can probably help you out, like a lot of other folks on this list, but I dont think the problem is entirely clear, that is why probably no-one yet responded. Could you give me a code example and I or someone else will be able to help you out! Regards AS Hi, I am new

Re: parameters and aggregates

2005-05-26 Thread Bertrand Delacretaz
Le 26 mai 05, à 10:16, Robert Goene a écrit : ...Nice to know i am using the right component, which isn't always easy to tell in the Wonderfull World of Cocoon... Well, there's certainly more than one way, but this one works. -Bertrand smime.p7s Description: S/MIME cryptographic signature

Re: parameters and aggregates

2005-05-25 Thread Bertrand Delacretaz
Le 25 mai 05, à 23:28, Robert Goene a écrit : ...I am working on one of my first cocoon applications and i am wondering what approach would fit the following problem: I aggregate my data from various sources, but i want to use an element of one aggregate part to be a parameter for the next

Re: Parameters with portal

2004-12-30 Thread Carsten Ziegeler
javascript wrote: I need help with portal engine. I am creating a form in a coplet but when I try to transfer the parameters from a page to another in the same coplet, these do not come added to the sequence and I have one similar that: edit.do?page=index?copletid=app-wiki-1 instead that:

Re: Parameters with portal

2004-12-30 Thread javascript
Carsten Ziegeler wrote: javascript wrote: I need help with portal engine. I am creating a form in a coplet but when I try to transfer the parameters from a page to another in the same coplet, these do not come added to the sequence and I have one similar that:

Re: Parameters between Action and XSP

2004-07-20 Thread Andreas Hartmann
Carlos Duque wrote: Hello, I'm developing a application under cocoon. My question is to mark a best practices in my work. How I pass parameters between Action and XSP? Which are the best option? I know: -session -request.setParameter It's possible with Map returned? with response? I would

RE: Parameters between Action and XSP

2004-07-20 Thread Carlos Duque
Title: Re: Parameters between Action and XSP But my problem is that the name of paramter are dinamically generate. I don't know in sitemap the name of parameters. Other solution? Thanks!! Carles -Mensaje original- De: newsen nombre deAndreas Hartmann Enviado el: mar 20/07/2004

Re: Parameters between Action and XSP

2004-07-20 Thread Andreas Hartmann
!! Carles -Mensaje original- *De:* news en nombre de Andreas Hartmann *Enviado el:* mar 20/07/2004 15:56 *Para:* [EMAIL PROTECTED] *CC:* *Asunto:* Re: Parameters between Action and XSP Carlos Duque wrote: Hello, I'm developing a application under cocoon. My

RE: Parameters between Action and XSP

2004-07-20 Thread Carlos Duque
Title: Re: Parameters between Action and XSP I have the definition of the form in database (name of fields, size, types, etc...). When submitI recive this parameters in an action (I do something with this) and I return to a XSP page. Thanks... -Mensaje original- De: newsen

RE: Parameters between Action and XSP

2004-07-20 Thread Oscar Picasso
--- Carlos Duque [EMAIL PROTECTED] wrote: I have the definition of the form in database (name of fields, size, types, etc...). When submit I recive this parameters in an action (I do something with this) and I return to a XSP page. Thanks... I just had a similar problem (post 'Returned

Re: Parameters between Action and XSP

2004-07-20 Thread Andreas Hartmann
dynamically from the database ... -- Andreas Thanks... -Mensaje original- *De:* news en nombre de Andreas Hartmann *Enviado el:* mar 20/07/2004 16:52 *Para:* [EMAIL PROTECTED] *CC:* *Asunto:* Re: Parameters between Action and XSP Carlos Duque wrote

RE: Parameters between Action and XSP

2004-07-20 Thread Carlos Duque
Title: Re: Parameters between Action and XSP Thanks Andreas,I see CocoonForms, but my problem is with pass parameters of Action to XSP... I use Cocoonforms for simply forms... -Mensaje original- De: newsen nombre deAndreas Hartmann Enviado el: mar 20/07/2004 17:16 Para

Re: Parameters to an XSP?

2003-12-23 Thread Nicolas Toper
could you be a little bit more specific please :=)? nicolas Le Mardi 23 Décembre 2003 16:51, [EMAIL PROTECTED] a écrit : Hi, I've finally managed to build an XSP (connect.xsp) that can connect to my database. I even built a logicsheet (connect.xsl) that handles most of the java stuff and

Re: Parameters to an XSP?

2003-12-23 Thread julien bloit
In your sitemap, instead try : map:parameter name=my_param value=the_value/ and in the xsp : xsp:logic String my_param = util:get-sitemap-parameter name=my_param/ ; /xsp:logic and recall it wherever you need in your xsp like this: xsp:exprmy_param/xsp:expr you have to declare the util

Re: Parameters to an XSP?

2003-12-23 Thread beyaRecords - The home Urban music
Hi, have just done my first cocoon tutorial., and it works!!! ;-) There is only only problem. In my xml file I have a paragraph which says the following: content paragraph Welcome to beyaRecords, the home of all that is rb

Re: Parameters to an XSP?

2003-12-23 Thread Nicolas Toper
amp; instead of rb The indicates an entity... Le Mardi 23 Décembre 2003 17:34, beyaRecords - The home Urban music a écrit : Hi, have just done my first cocoon tutorial., and it works!!! ;-) There is only only problem. In my xml file I have a paragraph which says the following:

Re: Parameters to an XSP?

2003-12-23 Thread Nicolas Toper
What do you mean by properly? A PCdata section. An XML Well-formed document A catalog entity? Le Mardi 23 Décembre 2003 17:44, beyaRecords - The home Urban music a écrit : Thanks nicolas. Question, is there no html formatter attribute that can specified to properly html format any text on

Re: Parameters

2003-09-18 Thread Christian Haul
On 17.Sep.2003 -- 05:41 PM, Diego Cattelan wrote: Hi I'm new to Cocoon system and I don't understand how to pass parameters from sitemap: sitemap.xmap: map:match pattern=auth_entra map:generate src=../globals/authentication/auth.xsp type=serverpages

Re: Parameters

2003-09-18 Thread Christian Haul
On 17.Sep.2003 -- 11:07 AM, jcplerm wrote: I implemented an action to set an attribute on the request object which looks like: map:act type=SetRequestAttributeAction map:parameter name=requestAttributeName value=attr1/ map:parameter

Re: Parameters

2003-09-17 Thread jcplerm
I implemented an action to set an attribute on the request object which looks like: map:act type="SetRequestAttributeAction" map:parameter name="requestAttributeName" value="attr1"/ map:parameter name="requestAttributeValue" value="1000"/ ... /map:act Can output modules somehow be

Re: parameters

2003-08-14 Thread Joerg Heinicke
Andrzej Radzki wrote: Hello! I want to add to the all links (a href=.../) in my site Where does the code come from? additional parameter (eg. ?param=value), without changing all files... is it possible do this in the sitemap? How does the sitemap look like? It's possible using an additional

RE: parameters

2003-08-11 Thread Andrzej Radzki
Andrzej Radzki wrote: Hello! I want to add to the all links (a href=.../) in my site Where does the code come from? Several transforms xsp|xml-xsl-xsl-html additional parameter (eg. ?param=value), without changing all files... is it possible do this in the sitemap? How does