* [EMAIL PROTECTED]:
map:pipeline type=caching
map:parameter name=expires value=access plus 1 hours/
map:match pattern=Source/*/Etudiant/Pole/*/*.xml
map:generate src=http://{1}/ThES_{2}.nsf/viewXML_et/{3}/
map:serialize type=xml/
/map:match
/map:pipeline
Bonjour,
Bonjour,
Une petite correction :
map:components
map:pipes default=caching
map:pipe name=expires-caching-hourly
src=org.apache.cocoon.components.pipeline.ExpiresCachingProcessingPipeline
parameter name=cache-expires value=3600 /
/map:pipe
/map:pipes
/map:components
Bonjour,
je ne m'y prends sûrement pas très bien...mais je ne sais plus comment faire!
Voilà, après avoir uploadé un fichier XML, je voudrais supprimer la déclaration
de DOCTYPE, car la DTD fournie est fausse...
Pour cela, j'ai utilisé une classe java nommée DoctypeChanger
thomas desvenain wrote:
bonjour,
j'ai installé lenya sous windows, et une fois connecté, quoi que
j'entreprenne, je reçois un message d'erreur du type suivant :
file:\E:\cygwin\usr\local\apache-lenya-1.2.4\build\lenya\webapp\lenya\pubs\default\content\authoring\123456\index_en.xml
(Syntaxe du
Laurent Perez wrote:
C'est du design en direct et je ne l'ai pas testé, mais ça devrait faire
l'affaire !
Ok, j'ai un peu de mal à suivre :) .. tu voulais dire quelque chose
comme (dans du flow) :
function giveResolver(){
var res =
* [EMAIL PROTECTED]:
Mais je dois avouer que je suis perdu au niveau des utilisations
du chache de cocoon, et j'ai du mal avoir la différence entre
les systèmes de cache. :-(
En fait l'approche que tu utilisais ne faisait que positionner un
en-tête « Expires » dans la réponse HTTP, ce
Laurent Perez wrote:
Je proposais une approche un peu plus compliquée, mais qui fonctionne en
dehors du flowscript. Effectivement, si c'est seulement dans le cadre du
flowscript, cette approche est bonne aussi (et plus simple).
Disons que si je pouvais eviter de me servir du flow, ça
[EMAIL PROTECTED] wrote:
Merci de votre réponse.
J'avais bien ajouté packages org.apache.cocoon.util; en tête de mon fichier
DOCTYPEChangerStream.java, car celui-ci se situe dans l'arborescence suivante:
/produits/cocoon-2.1.3/src/java/org/apache/cocoon/util/
Je viens par contre de déclarer
Oui, oui, c'est bien ce que j'ai fait.
Je te remercie.
Bérengère
-Message d'origine-
De : Jean-Christophe Kermagoret [mailto:[EMAIL PROTECTED]
Envoyé : Tuesday, October 25, 2005 17:04
À : users-fr@cocoon.apache.org
Objet : Re: suppression déclaration DTD
Bonjour,
Tu as bien ajouté le
Bonjour,
Je travaille sur une application basé sur la distribution eXist et intégrant
Cocoon.
(eXist version CVS 18/10/2005, intégrant cocoon 2.1.7, Jetty).
L'application fonctionne correctement sous Windows (J2SE 1.4.2).
Cependant, en copiant directement la distribution sous Linux (J2SE 1.4.2
Hi Brian,
Have you copied the flowscript code literally? The variable uri is not defined. Replace it by a
string literal or pass a uri parameter to the function from the sitemap..
HTH,
Geert
Brian Burridge wrote:
I've added your code and I keep getting an error:
I have some processing invoked from flow that's not OK to just
abandon if the user abandons their session. In particular, this
processing logic reserves some resources in the database.
BAD BAD BAD!! Don't!!
A continuation should not even keep a component reference across a
suspend!
On 25.10.2005, at 09:13, Geert Josten wrote:
Hi Brian,
Have you copied the flowscript code literally? The variable uri is
not defined. Replace it by a string literal or pass a uri parameter
to the function from the sitemap..
HTH,
Geert
Brian Burridge wrote:
I've added your code
You cannot use this action to simply pass all request parameters to an external http request,
especially if you don't know the names of the parameters...
:-(
Torsten Curdt wrote:
On 25.10.2005, at 09:13, Geert Josten wrote:
Hi Brian,
Have you copied the flowscript code literally? The
On 25.10.2005, at 09:35, Geert Josten wrote:
You cannot use this action to simply pass all request parameters to
an external http request, especially if you don't know the names of
the parameters...
You can ...use {requestQuery}
cheers
--
Torsten
PGP.sig
Description: This is a
Good Morning to everyone here,
I'm really new to cocoon but I want to know how to use it 'cause it
seems to be very useful.. but I can't start to make my own test. Here
is the problem: I can find the cocoon.war to copy into the
tomcat/webapps folder...
I'm actually running a Linux box, Tomcat
Are you sure that this works with POSTed request parameters as well?
Cheers!
Torsten Curdt wrote:
On 25.10.2005, at 09:35, Geert Josten wrote:
You cannot use this action to simply pass all request parameters to
an external http request, especially if you don't know the names of
the
Have you tried 'build war'?
:-)
Omar Adobati wrote:
Good Morning to everyone here,
I'm really new to cocoon but I want to know how to use it 'cause it
seems to be very useful.. but I can't start to make my own test. Here
is the problem: I can find the cocoon.war to copy into the
Hi,
I know it is not possible to have multiple forms on one page using
cforms. Is there some kind of workaround? I would like to put a
search-field on every page of a website. The website contains also a lot
of other cforms. So I would like to put a form with a searchfield (does
not need to be a
Great, your solution works good...
I fell myself so stupid... it was so easy!
On 10/25/05, Geert Josten [EMAIL PROTECTED] wrote:
Have you tried 'build war'?
:-)
Omar Adobati wrote:
Good Morning to everyone here,
I'm really new to cocoon but I want to know how to use it 'cause it
I'm not that well into CForms, but I don't think it will be a (large) problem to add a non-cform
form to every page and have it point to a totally different url than the cform... Might result in
dangling continuations, but these will time-out eventually.
Could also add it to the cform itself,
Are you sure that this works with POSTed request parameters as well?
Did not see you were asking for POSTed parameters.
It uses request.getQueryString() so probably not
...but should be very easy to implement.
Feel free to submit a patch :)
cheers
--
Torsten
PGP.sig
Description: This is a
Did not see you were asking for POSTed parameters.
I wasn't the original posted. Look back at the first message in the thread. Somewhere yesterday I
believe..
;-)
Feel free to submit a patch :)
Hmmm, was afraid of that... Someone else? (no time)
Brian, meantime, the flowscript
Hello
I'm using Cocoon's (2.1.7 flavour) authentication framework in my webapps.
The webapps are heavily dynamic: Web requests are dispatched to the flow
controller which - depending on the user's permissions - retrieves the
required data from the database (using Hibernate), then sets the
werner wrote:
Hi,
I know it is not possible to have multiple forms on one page using
cforms. Is there some kind of workaround? I would like to put a
search-field on every page of a website. The website contains also a lot
of other cforms. So I would like to put a form with a searchfield (does
Did not see you were asking for POSTed parameters.
I wasn't the original posted. Look back at the first message in the
thread. Somewhere yesterday I believe..
Sorry, deleted the rest of the thread
Hmmm, was afraid of that... Someone else? (no time)
Hehe ...same here
Brian, meantime,
Brian Burridge wrote:
Problem is, I want to send all requests to this url, with any and all request params. I won't know
what they are in advance to hard code them in the sitemap.
Is there a way to get the xml from the RequestGenerator and send that as a
param?
map:generate
Yes I understood that. Here is the flow I am using:
function post2requestUri{
var queryString = ;
for (var i in cocoon.getParameterNames){
queryString
+= i + = + cocoon.request.getParameter(i) + ;
}
cocoon.sendPage(http://localhost:8080/girscom/TestCocoon.jsp?+queryString) ;
}
BrianOn
Am Dienstag, den 25.10.2005, 13:57 +0200 schrieb Sylvain Wallez:
werner wrote:
Hi,
I know it is not possible to have multiple forms on one page using
cforms. Is there some kind of workaround? I would like to put a
search-field on every page of a website. The website contains also a lot
Angelo Immediata wrote:
Hi.
My site is a service oriented portal; i have several application developed by
using cocoon and integrated under the cocoon-portal block.
Every application is a page (a named-item in the portal-user-anonymous.xml).
Moreover i have a double navigator.
I attach to
Hello,
When I tried to upgrade to xalan 2.7.0 I am getting a NoSuchMethodError for
org.apache.xerces.dom.NodeImpl.setUserData() when I try to access a forms
page in my cocoon webapp.
I have examined the jar and that method does seem to be there with the right
signature. I am also fairly sure
* Andrew Le Quesne:
When I tried to upgrade to xalan 2.7.0 I am getting a NoSuchMethodError for
org.apache.xerces.dom.NodeImpl.setUserData() when I try to access a forms
page in my cocoon webapp.
What version of Cocoon are you using? AFAICT the dependency on
Xerces has been removed from
En/na Sylvain Wallez ha escrit:
werner wrote:
Hi,
I know it is not possible to have multiple forms on one page using
cforms. Is there some kind of workaround? I would like to put a
search-field on every page of a website. The website contains also a lot
of other cforms. So I would like to
Hi,
Thanks for your reply.
I am running cocoon 2.1.6. At the cocoon get together there was a talk about
Xalan 2.7.0 being more efficient. What does AFAICT mean? I am not sure what
you are suggesting - that I should upgrade to the latest cocoon?
Cordialement,
Andrew
-Original Message-
...any other way of approaching that logic? What is it?
The application is a ticketing system. We have to reserve the
tickets in the database before we process the payment transaction
so that we don't oversell our tickets. So, reserving the tickets
is transactional (using
Mark Lundquist wrote:
The application is a ticketing system. We have to reserve the tickets
in the database before we process the payment transaction so that we
don't oversell our tickets. So, reserving the tickets is
transactional (using Spring+Hibernate+MySQL), while the payment
Hi All,
I would just like clarify the usage of repeaters.
I want to use the initial-size attribute of the repeater
definition. However I want to supply the value as form data and accessed
as an _expression_. So my question, is it possible to use JXPath or JEXL expressions
in the form
On 25.10.2005 17:05, Andrew Le Quesne wrote:
Hi,
Thanks for your reply.
I am running cocoon 2.1.6. At the cocoon get together there was a talk about
Xalan 2.7.0 being more efficient. What does AFAICT mean? I am not sure what
As Far As I Can Think.
you are suggesting - that I should upgrade
Is it possible to break up my sitemap.xmap and have some of the pipeline definitions in another sitemap file?
Brian
Hi, all.
Newbie question, and I'm probably doing something really stupid here, I
know. But I've read everything I could find, and I still can't seem to
make a request attribute available to other resources in the pipeline
following the completion of my action. AFAIK, the following should work
-
Brian Burridge wrote:
Is it possible to break up my sitemap.xmap and have some of the pipeline
definitions in another sitemap file?
Sure. Move what you want to the subsitemap and use
map:mout src=subsitemap.xmap pass-through=true/
The pass-through attribute tells the sitemap engine to
It worked! (but of course you knew it would) :)
Thanks!
BrianOn 10/25/05, Sylvain Wallez [EMAIL PROTECTED] wrote:
Brian Burridge wrote: Is it possible to break up my sitemap.xmap and have some of the pipeline definitions in another sitemap file?Sure. Move what you want to the subsitemap
I amusing XML
from external providers and as part of the business rules I must validate it. I
want the SAX parser in the FileGenerator to validate it againstits XSD.
Ideally, I'd like to be able tolocalise XML validation to this particular
pipeline and generator. For the most part I don't
Oliver Powell wrote:
I am using XML from external providers and as part of the business
rules I must validate it. I want the SAX parser in the FileGenerator
to validate it against its XSD. Ideally, I'd like to be able
to localise XML validation to this particular pipeline and generator.
44 matches
Mail list logo