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
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:
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
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
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
@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
- 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
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
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 -
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
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
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
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
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
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
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
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,
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
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.
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.:
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
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
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
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
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:
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:
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
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
!!
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
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
--- 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
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
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
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
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
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
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:
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
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
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
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
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
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
43 matches
Mail list logo