Hi users of cocoon.
My name is Hugo Marcelino and i have the following problem.
I'm using Experimental Flowscript API Cocoon Forms in Apache Cocoon 216.
I'm building a form that has 3 templates according to the option of the user
after pressing a button. in template0.
The problem is that at
Hi there,
I have a problem with the cfoms encoding. I`ve now managed to integrate cfoms
in lenya.
The form work well, but when I insert another characters than ASCII, I get them
in UTF-8 code. so far so god, but the main problem is the validation. If the
user insert something wrong, he will
Hi,
I wonder if you don't need to put an explicit closing tag
/script instead of an empty element.
Put a blank inside to be sure to obtain the following :
script src=""/script in your html page.
So your code becomes :
xsl:template match="head" mode="forms-field"
script src=""
Title: Another fw-auth question
Hello all
I apologise in advance for the length of this email, but I'm at the pulling hair out stage with this one.
I wonder if anyone can help me out here - I'm having problems with authentication in Cocoon 2.1.6, (under Tomcat 4.1, Java 1.4.1).
In the
Return Receipt
Your Another fw-auth question
document
:
Jon Tonberg wrote:
map:pipeline internal-only=true
!-- USER AUTH HANDLER --
map:match pattern=auth-user
map:generate type=serverpages
src=serverpages/auth-user.xsp
!-- PROBLEM - SITEMAP/REQUEST PARAMETERS ARE
LOST AT THIS POINT --
Hello Guido
Thanks for your reply.
!--map:parameter name=param_username
value={request-param:username}/
map:parameter name=param_password
value={request-param:password}/--
I think that should be:
map:parameter
Return Receipt
Your RE: Another fw-auth question
document
:
Return Receipt
Your RE: Another fw-auth question
document
:
!-- 2. USING THIS METHOD, PARAMETERS REMAIN UNINSTANTIATED --
map:parameter name=param_username value={param_username}/
map:parameter name=param_password value={param_username}/
This is a typo - second parameter value should read {param_password}.
Apologies.
This electronic message
Hi List, hi Jens,
thanks, thats exactly what I needed.
BTW: Where do I find all a list of all these {xyz}-variables that are
automatically built in? I suppose there are many powerful little tools
at my fingertips using stuff like that.
Is it possible to access session-attributes in this way?
Michael
BTW: Where do I find all a list of all these {xyz}-variables that are
automatically built in? I suppose there are many powerful little tools
at my fingertips using stuff like that.
Is it possible to access session-attributes in this way?
Check out the docs on input modules -
You're using the cocoon:raw protocol, this means no request-params are
passed to your handler:
snip
You might be wondering why we explicitly pass the request parameters on
to the internal pipeline call. Note that the authentication resource of
the portalhandler is defined by cocoon:raw. By
Return Receipt
Your RE: [SPAM] - Another fw-auth question - Bayesian Filter
document detected spam
:
Jan
the docs say:
snip
...The name of this parameter has to start with parameter_. ...
/snip
That's it. Can't believe I missed that - another case of RTFM.
Many thanks for your reply - you've been a huge help.
Regards,
jon
This electronic message contains information which may be
Return Receipt
Your RE: [SPAM] - Re: authentification-fw; intermediate login
document page - Bayesian Filter detected spam
:
Ive been scouting around the documentation for Word serializer.
Does anyone know of one?
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jon Tonberg wrote:
Hello Guido
Thanks for your reply.
!--map:parameter name=param_username
value={request-param:username}/
map:parameter name=param_password
value={request-param:password}/--
I think that should be:
map:parameter
There's the rtf serializer for turning xsl-fo into rtf but it doesn't
work very well. We've been using WordprocessingML to generate Word
files.
-Original Message-
From: Mark Donnelly [mailto:[EMAIL PROTECTED]
Sent: 12 January 2005 10:31
To: users@cocoon.apache.org
Subject: Word
Sorry, I should've expanded on my question.
Ive got a xslt transform to produce HTML, which I would normally import into
Word. I was wondering if there was a serializer that would do just that?
-Original Message-
From: Mark Donnelly [mailto:[EMAIL PROTECTED]
Sent: 12 January 2005 10:31
Actually this depends on the names you gave to the paremeters of your
auth-login Action (the parameter_ part ist stripped).
So you have to name it parameter_username instead of
param_username.
Thanks Guido - turned out to be the param_ vs parameter_ issue.
Many thanks for replying to my
Hi,
Depending on your cocoon.xconf syntax should be {date:date} (lowercase).
Hih
On Tue, 2005-01-11 at 12:12 +0600, Adriano Smith wrote:
i used the date input module in the sitemap,
but i get this
error.
org.apache.avalon.framework.component.ComponentException:
input-modules:
{posted a month ago; maybe lost in the Christmas rush??}
I am getting the following message from Cocoon when I attempt
to delete repeater row data from a form (note that adding data in
the same form works just fine!); this is from the handled-errors log:
ERROR (2004-12-14) 16:20.55:811
Hi,
I am trying to learn Cocoon based on Lajos Moczar/Aston book.
Installed Tomcat 4.1.31, downloaded Cocoon
cocoon-2.0.4-vm14-bin.zip, unzipped it and put its cocoon.war
into webapps directory and started Tomcat.
Also copied 3 jars (xercesImpl-200.jar, xalan-231.jar,
xml-apis.jar)
from
Im trying to use specify the file name of the XML doc in the URL. Ive read a
bit about Matchers and am trying to get the correct pattern selected using
the following:
My URL:
http://localhost:7080/cocoon3/df/order/
My pipeline:
map:match pattern=order/*
!--+
| Start
Hello,
you can try several things.
First, you backslash {, so the parameter is maybe misunderstood.
Try :
map:generate src=C:/{1}/
You can try too :
map:generate src=file://C:/{1}/
But the best way would be :
map:generate src=docs/{1}/
and put your docs in order/docs
so your
Thanks for the tips. You were right about replacing the '\' with '/'. Works
fine now.
Mark
-Original Message-
From: Jean-Christophe Kermagoret [mailto:[EMAIL PROTECTED]
Sent: 12 January 2005 15:08
To: users@cocoon.apache.org
Subject: Re: Wildcards
Hello,
you can try several things.
Can anyone tell me if it is possible to specify a http request instead of a
file path as the value of the 'src' attribute?
eg
map:generate src=http://blah/blah/blah/
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
absolutly
Eric
-Message d'origine-
De : Mark Donnelly [mailto:[EMAIL PROTECTED]
Envoyé : 12 janvier, 2005 10:58
À : 'users@cocoon.apache.org'
Objet : map:transform src=http??
Can anyone tell me if it is possible to specify a http request instead of a
file path as the value of the 'src'
Title: Flowscript - request
Hi,
Do you know how to get the sitemapURI from a flow script (cocoon.request.getSitemapURI() is incorrect) ?
Thanks
Denis Braud
From: Boisvert, Éric [mailto:[EMAIL PROTECTED]
De : Mark Donnelly [mailto:[EMAIL PROTECTED]
map:generate src=http://blah/blah/blah/
Yes, but watch out... if that URI serves HTML rather than XML, then what you
want is
map:generate type=html src=http://blah/blah/blah; /
cheers,
From: Oleg Konovalov [mailto:[EMAIL PROTECTED]
Hi,
I am trying to learn Cocoon based on Lajos Moczar/Aston book.
Hi Oleg,
Can you explain a little more what it is about your development environment
that requires you to use Cocoon 2.0.4?
-ml-
Hi,
i'm trying to create cocoon page which when accessed would enable me to
download, without the need for a prompt by the browser, specified files
within an jxt file. How would I fo about doing this??
regards
Uzo
-
To
From: beyaRecords [mailto:[EMAIL PROTECTED]
Hi,
i'm trying to create cocoon page which when accessed would enable me to
download, without the need for a prompt by the browser,
OK...
specified files
within an jxt file.
What do you mean by that?
cheers,
-ml-
Ok,
let me explain a bit better:
1. A client purchases a number of products, in this case music from my
artists
2. They enter their credit card details and are cleared.
3. Once cleared enable the use to download the music they have
purchased, the music format being mp3
So my idea was to
Hello,
I've lost in Cocoon/Servlet architecture. How can I access
datasource defined in cocoon.xconf in my sessionlistener defined in
web.xml? I would like to make some DB modifications if session
expires. I don't see that SessionListener could be connected to any
manager, so standard
Hi Markus,
it is a late answer, but if you did not yet make up your mind about an
BPM Tool - this is a very serious desicion to do - , go to
http://www.jbpm.org and check the extensive sources about the subject.
Although the site is about one solution, that is more and more mentioned
as to be
Hi *,
sorry for bothering in between, but can anyone point me to a nice Tutorial
on XForms? I've started trying out the samples and introduction that's
placed here: http://cocoon.apache.org/2.1/userdocs/forms/index.html but it
seems to me that the Forms jar files have changed by now and do not
Hi Uzo,
I doubt that this would ever be possible to do in a pure HTTP environment,
because you won't be able to send all the files at once. Instead, why not
package the mp3's in a zip container, and transfer that one? Alternatively,
you could simply generate a download page listing the file
Hi Mark,
since MS Word 2003, you are able to describe Word documents as XML. Cocoon
comes with a simple example:
!--
Copyright 1999-2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the License);
you may not use this file except in compliance with the
Hello,
We would like to develop Webservices in an existening
Cocoon 2.1.3 application.
The web service requirements are:
- should be secured via https protocol.
- should authenticate via HTTP Basic Authentication
method.
We already have made a prototype work at a stand alone
web-application
If I understand you correctly No, there's no reasonable way of
restricting the application of an xsl file. Why would you do that anyways? I
mean, if you want to restrict it to a certain part, you need to know which
parts, right? Knowing this, just choose a different xsl file before the
Are there any differences between POSTing parameters from/to Windows and
Linux in Cocoon? The param comes in as a String is there a different
default character set conversion going on? The machine POSTing the .wav
file is running Windows. When it POSTs to a Linux box are there some
issues?
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: AW: xml and xsl
If I understand you correctly No, there's no reasonable way of
restricting the application of an xsl file. Why would you do that
anyways? I
mean, if you want to restrict it to a certain part, you need to know which
I doubt that this would ever be possible to do in a pure HTTP environment,
because you won't be able to send all the files at once. Instead, why not
package the mp3's in a zip container, and transfer that one? Alternatively,
you could simply generate a download page listing the file locations.
Hello,
I am using auth framework successfully, but recently I am having trouble
with wildcard pattern matchers and auth-protect action.
My pipeline matcher is as follows:
map:match pattern=*.xml
map:act type=auth-protect
map:parameter name=handler value=LoginHandler/
On 12 Jan 2005, at 22:38, Benedikt Heinen wrote:
Instead, why not
package the mp3's in a zip container, and transfer that one?
Alternatively,
you could simply generate a download page listing the file locations.
However, the zip method seems to be a smarter idea.
Ok,
I did actually think about
Hi Bhaskar
Because the variable that you're trying to access within your action belongs
to the enclosing
matcher and not the action itself you need to reference it as {../1}.
HTH
Adam
-Original Message-
From: Bhaskar Rathod [mailto:[EMAIL PROTECTED]
Sent: Thursday, 13 January 2005 12:00
Hello,
I have a Cocoon application (cocoon-2.1.4) that is running under JBoss and
calls a small webservice. The cocoon classes are in WEB-INF of the main web
application (sali.war) directory.
A second web application (webservice.war), contains a jsp mapped as a
servlet and acting as the
As far as I know there ist a way to serialize to RTF using almost the
same modules used for dynamically creating PDFs ... I think I even
remember some people working on Excel and other Office document creation.
RTF should work nicely for you.
Chris
Mark Donnelly wrote:
Sorry, I should've
Title: Multivalue field - setting values
Hello All,
I'm trying to set the values of a multivalue listbox from flow and I 'm
having a few issues.
I've read a few entries in various blogs and Wiki pages but I just
can't seem to get the thing to fly.
Reading multiple values set in the
Title: Re: Multivalue field - setting values
And while we're at it:
I've set the list contents from an XSP which obtains the data from the
database, how do you get the unselected list items from within flow?
Tony Edwards wrote:
Hello All,
I'm trying to set the values of a multivalue
Title: Re: Multivalue field - setting values
Forget the first issue!!!
It was an error in my xsl!
I've rehacked forms-field-styling.xsl and its working like a charm!
I still need a resolution for the second issue!
How do you get the list contents from within flow?!?!?
Thanks everyone,
Yes it works now. I didnt declare it in my XSL previosly.
I have cocoon installed in a server which we are planning to migrate. Soeverything in the current server will go to a different server.(including cocoon2.1.3)
Do i need to build cocoon again in the newserver ?
Would like to know what dependencies and problems i couldface when transferring cocoon
On Mie, 12 de Enero de 2005, 23:54, Jones A dijo:
I have cocoon installed in a server which we are planning to migrate. So
everything in the current server will go to a different server. (including
cocoon2.1.3)
Do i need to build cocoon again in the new server ?
If you plan to stay on the
The frames option would be a nightmare only for the fact that a user could
purchase 15 tracks for which I would then need to have 15 frames!!??
As I pointed out myself, it would be ugly as hell, but it might just
work... (In terms of looks - would small iframes look better? Probably
still
57 matches
Mail list logo