I think it means that you CAN pass information there (like maybe a
public key or something), but information from the person who is trying
to get authenticated is passed like shown in the examples 'userid' and
'password':
However I am having trouble using
Hello Joerg,
Thanks for your responsiveness.
> > 2) The same recommendation would be a good one for the sitemap:
> > don't try to upgrade your old one; instead start with the new
> > one. Why? There are many changes necessary to upgrading,
> > beyond those listed in this document. I had to debug "
Josep Riudavets Aguilo wrote:
Hi all ...
I'm delevoping some code in Cocoon 2.1 in order to upload files.
I have added these lines into my XSL page:
Next, I have added this code into the sitemap.xmap:
Now ... I have to write next function:
var role = Packag
Tony Collen wrote:
gerritjan wrote:
Hello,
Using the document() function for aggregation in Cocoon may break
Separation of Concerns (SoC). That is, the designers of Cocoon view
inclusion and transformation as different functions, best handled by
separate Cocoon components. Treating them separ
* Tony Collen <[EMAIL PROTECTED]> [2003-10-14 20:53]:
> gerritjan wrote:
>
> >Hello,
> >Using the document() function for aggregation in Cocoon may break
> >Separation of Concerns (SoC). That is, the designers of Cocoon view
> >inclusion and transformation as different functions, best handled b
Hello Lars,
to be "smart aleck" I quote the first sentence of this document: "
Please take your time to read this document *completely* before trying
to upgrade from a Cocoon 2.0.x installation to 2.1 (or above). ;-P
But of course the documentation (and as especially if it is only one
page) sh
I don't know where the sql:strength comes from, but the general hint
remains: add an additional sqlTransformerOutput2simple-page stylesheet
as a intermediate step. So you can reuse the default simple-page
stylesheets as they are. Imagine different output formats, the
intermediate step simplifie
My website supports several thousand urls. Each url has the same sitemap
but has a different look and feel. I believe all the forms handling can be
done with the FormValidatorAction however I want to generate the descriptor
so that it is unique to each url. However, each website will be inheritin
Lars Huttar wrote:
[snip]
I hope these changes can save others some time and effort
as they upgrade.
Lars,
Thanks for the suggestions-- I'll take a look at them when I have some
time.
In the future, please do not hesitate to file a bug in bugzilla against
the documentation, or even submit a p
gerritjan wrote:
Hello,
Using the document() function for aggregation in Cocoon may break
Separation of Concerns (SoC). That is, the designers of Cocoon view
inclusion and transformation as different functions, best handled by
separate Cocoon components. Treating them separately allows you to
Hello,
Using the document() function for aggregation in Cocoon may break Separation of Concerns (SoC). That is, the designers of Cocoon view inclusion and transformation as different functions, best handled by separate Cocoon components. Treating them separately allows you to achieve performance g
On the doc page
http://cocoon.apache.org/2.1/installing/updating.html#Pipelines+configuration+in+the+sitemap
The "Pipelines configuration..." paragraph says,
'To update your installation, you have to remove the "event-pipeline" and
"stream-pipeline" section
from your cocoon.xconf and add the map:p
I have a bunch of xsl transforms that use tags to write tracing
output.
I noticed that the latest version of Cocoon seems to not only write the text
of the message, but dumps the full java stack trace to the log file also.
Any way to suppress the stack trace?
Thanks!
Andrzej Jan Taramina
Cha
Interesting. I created a test logicsheet with these same templates and
namespace, had no problems (using C2.0.4). Have you looked in your logs to
see if there are any errors in transformation? Could you provide a full
sample of a non-working XSP page and your logicsheet?
-Christopher
|-
The snippet at
http://cocoon.apache.org/2.1/snippet/snippet-xslt-options.html
talks about "Specifying Different XSLT Processor Options",
but I can't find an explanation of what the parameter
"use-store" should be used for.
The Cocoon API
(http://cocoon.apache.org/2.0/apidocs/org/apache/cocoon/comp
The original logicsheet did in fact do something:
some database esql calls here
But when I ran into problems I changed it to:
Changing it to:
has no impact. Still doesn't work.
Pogie
Christopher Painter-Wakefield <[EMAIL PROTECTED]> wrote:
>
>
>
>
>Yes, I agree. Th
Yes, I agree. The docs provide a template very similar in the "Standard
Templates". Probably the docs should be updated to reflect the existence
of logicsheets-util.xsl.
-Christopher
|-+-->
| | Christian Haul |
|
On 14.Oct.2003 -- 12:18 PM, Christopher Painter-Wakefield wrote:
> A logicsheet that really does nothing at all would contain at least one
> template, e.g.:
>
>
>
better
I recommend using the logicsheets-util.xsl in every logicsheet which
includes this template together w
Hello,
I am using Cocoon 2.1 on GNU/Linux RedHat 9. I want to use some of the
EXSLT functions offered by XALAN 2.5.1, but I get the following error when
trying to use set:distinct:
Description:org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate(): java.lang.RuntimeE
Thanks, Carsten.
Is there an example of accessing the user data somewhere? Is the
information about the user obtained from the handler resource?
Some other things I am unclear on:
The doc says the authentication resource can be a Java class. How is that
done?
The last sentence in section 3.3
Remember that your logicsheet is just an XSLT stylesheet that transforms an
XSP program into another XSP program. You need at least one template, to
copy the xsp elements from your source XSP program. Do you have any
templates? If not, then your logicsheet isn't really doing "nothing at
all"
http://cocoon.apache.org/2.1/installing/updating.html#Updating+Cocoon
The first paragraph says (note the version numbers)
"Please take your time to read this document completely before trying to upgrade from
a Cocoon
2.0.x installation to 2.1 (or above)."
So these are instructions for upgrading f
Cocoon finds the logicsheet but if I include the namespace in the xsp Cocoon creates
an empty .java file and, not surprisingly, doesn't compile a class file.
My cocoon.xconf has:
http://ts.org"/>
My xsp has:
http://apache.org/xsp"; xmlns:ts="http://ts.org";
xmlns:esql="http://apache.o
Thanks a lot Lars ... it works perfectly !!!
And sorry ... I'm not suscribed to XSL list, but now, I'm going to
do it ...
--> Missatge original de Lars Huttar per a [EMAIL PROTECTED]
enviat el 13/10/2003 19:27:58
Hi,
I think this is more a question for the XSL-list, but anyway...
You want so
Hi all ...
I'm delevoping some code in Cocoon 2.1 in order to upload files.
I have added these lines into my XSL page:
Next, I have added this code into the sitemap.xmap:
Now ... I have to write next function:
var role = Packages.org.mystuff.UploadManager.
It sounds as if Cocoon can't find your logicsheet. Where does it live?
>From your href parameter, I assume it is in the root directory of your
context. Try using a relative file path instead of a context: URL, e.g.,
Unless things have changed, a file path is better anyway, as it will allow
Hi,
I have a pipeline which generates a xsp page from a XML. My problem is that
the generated xsp page is not cached by the cocoon caching mechanism. But I
cant find the problem, because the time of the cocoonresource is constant
and this ressource is still cached. But the serverpages generator is
Mark H dijo:
> I'm trying to get Woody working with JDO in an action but I'm not sure
> of the code to setup the binding, I've looked at the code in woody2.js
> and made an attempt to do it in Java but I get a ClassCastException at
> line * below. Anybody got code for this?
Yep. Take a look at the
Carsten Ziegeler wrote:
If you want to make a redirect, you can't use the a pipeline for it
because a redirect is not allowed after the pipeline (generator)
has started.
Are you sure? This works:
(well, it's not random, but the redirect works). :-)
Jon
---
Upayavira wrote:
Andreas Hartmann wrote:
[...]
Yes, but I think it should be possible to select the max number
dynamically, depending on the number of images that are located
in the directory.
Fair enough. Surely it shouldn't be hard to extend the random input
module to be able to handle {ran
On Tue, 2003-10-14 at 14:42, Mark H wrote:
> I'm trying to get Woody working with JDO in an action but I'm not sure of
> the code to setup the binding, I've looked at the code in woody2.js and made
> an attempt to do it in Java but I get a ClassCastException at line * below.
> Anybody got code for
Andreas Hartmann wrote:
Upayavira wrote:
Andreas Hartmann wrote:
The min and max random number values would be configured in
cocoon.xconf.
That's the problem then, how do you keep track of a variable number
of images?
OK, this is a problem.
No it's not. You just define the input module
From: news [mailto:[EMAIL PROTECTED]
> Upayavira wrote:
> > Andreas Hartmann wrote:
> >
> >>
> The min and max random number values would be configured in
> cocoon.xconf.
> >>>
> >>>
> >>>
> >>> That's the problem then, how do you keep track of a
> variable number
> >>> of images?
>
Upayavira wrote:
Andreas Hartmann wrote:
The min and max random number values would be configured in
cocoon.xconf.
That's the problem then, how do you keep track of a variable number
of images?
OK, this is a problem.
No it's not. You just define the input module as many times as you need
with
Andreas Hartmann wrote:
The min and max random number values would be configured in
cocoon.xconf.
That's the problem then, how do you keep track of a variable number
of images?
OK, this is a problem.
No it's not. You just define the input module as many times as you need
with different name
I'm trying to get Woody working with JDO in an action but I'm not sure of
the code to setup the binding, I've looked at the code in woody2.js and made
an attempt to do it in Java but I get a ClassCastException at line * below.
Anybody got code for this?
Thanks,
Mark
Binding binding=getBinding(aBi
Just to inform I found out that my problem reported on the message below
was due to the paths.
I've defined Cocoon distribution dir (where I unpacked it) as the project
path in Eclipse and "/build/webapp" as the web application root. However,
in order to work, the project path should be set direct
Bertrand Delacretaz wrote:
[...]
Damn - how does one keep track of all what we have in here, I missed
that one ;-)
:)
I saw it accidentally when I browsed the input modules.
I think you don't even need the redirect, this should work with map:read
as well, shouldn't it?
Yes, of course ...
Le Mardi, 14 oct 2003, à 13:59 Europe/Zurich, Andreas Hartmann a écrit :
...Sorry for my short answer, I imagine something like
Damn - how does one keep track of all what we have in here, I missed
that one ;-)
I think you don't even need the redirect, this should work with
map:read as well
Hey,
how do I change session to expire after a long while, let's say 5days?
Or infinite?
Thanks,
Joose
--
Joose Vettenranta <[EMAIL PROTECTED]> GSM: 044 561 0270
* Always remember that you are unique.
Just like everyone else.*
---
Andreas Hartmann wrote:
Bertrand Delacretaz wrote:
Le Mardi, 14 oct 2003, à 13:34 Europe/Zurich, Jon Evans a écrit :
...I can use a directory generator to give me a list of images, but I
don't know how to transform that list in order to select one of them
at random.
[...]
What about the Rando
Bertrand Delacretaz wrote:
Le Mardi, 14 oct 2003, à 13:34 Europe/Zurich, Jon Evans a écrit :
...I can use a directory generator to give me a list of images, but I
don't know how to transform that list in order to select one of them
at random.
The easiest thing that comes to mind is an XSLT tr
Bertrand Delacretaz wrote:
>
> Le Mardi, 14 oct 2003, à 13:34 Europe/Zurich, Jon Evans a écrit :
>
> > ...I can use a directory generator to give me a list of images, but I
> > don't know how to transform that list in order to select one of them
> > at random.
>
> The easiest thing that comes to mi
hi there,
thanx for ur response,
i have made following entries in the pipeline (file sitemap.xmap):
-
-
and following is the entry in xml file:
-
http://apache.org/cocoon/SQL/2.0";>
Le Mardi, 14 oct 2003, à 13:34 Europe/Zurich, Jon Evans a écrit :
...I can use a directory generator to give me a list of images, but I
don't know how to transform that list in order to select one of them
at random.
The easiest thing that comes to mind is an XSLT transform, using java
extension
Hi,
I have a directory images/random which contains (at the moment) 10 images.
What I want to do is have the browser request
http://example.com/random-image, and have cocoon do a redirect to
http://example.com/images/random/image3.jpg (for example).
I thought a redirect would probably be bette
From: Ugo Cei
> Reinhard Poetz wrote:
> > cocoon.sendPageAndWait("test.jxt" {} );
>
> I think there's a comma missing here: ---^
Thanks for spotting this!
Of course the arguments need to be separated with a comma.
Reinhard
-
Hi Johannes,
take a look at the following bit of code. I use the FilePartArray rather than the
FilePart. FilePartArray is a byte array holding the file contents in memory rather
than a reference to a file already stored on disc, i.e. the file is not saved
automatically and the data will be lost
Reinhard Poetz wrote:
cocoon.sendPageAndWait("test.jxt" {} );
I think there's a comma missing here: ---^
Ugo
--
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]
--
On 14.Oct.2003 -- 10:15 AM, Geert Van Damme wrote:
>
> Hi all,
>
> The docs say a prepared statement is created whenever a tag
> appears in the query. If I use this tag in a nested query (not a subquery in sql but
> a nested query in XSP), will the same prepared statement be used for every ite
Hi all,
The docs say a prepared statement is created whenever a tag appears
in the query. If I use this tag in a nested query (not a subquery in sql but a nested
query in XSP), will the same prepared statement be used for every iteration or will
the esql:parameter tag create a new prepared st
No I don't actually I haven't tried much, because Cocoon is still running.
However the problem is known among the community and therefore I guess that
the necessary changes will be done soon.
Regards,
Stephanie
See also
> Hi Stephanie,
>
> Do you know exactly what to update in WEB-INF/deli co
Hello all,
I am a relative newbie to Cocoon, so please for a bit of understanding;) I'm
encountering problems with adding logicsheets to my project. If I use the option with
-tag in cocoon.xconf:
http://cxa/logicsheet"/>
then when I want to view the xsp-page I get an error:
"org.apache.co
it think you have to close your db connection.
hth,
Frank
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Stephanie,
Do you know exactly what to update in WEB-INF/deli configuration?
Thanks
Regards
Sylvain
-Message d'origine-
De: Stephanie Zohner [mailto:[EMAIL PROTECTED]
Date: lundi, 13. octobre 2003 16:21
À: [EMAIL PROTECTED]
Objet: Re: Error when starting Tomcat 4.1.24 with Cocoon 2.1.
55 matches
Mail list logo