Hello, maybe you can use jx:set for your pb. I have this kind of sintax
in my code and it's fine :
jx:set var=balance value=#{$total-invoice - $total-deposit -
$total-deposit2}/
Marc
Johannes Becker a écrit :
Yep, now I have tried it and it worked!!
And if somebody had an answer on the
Hello,
you can also use the omitns transformer at the end of your pipeline :
add this to the components/transformer section of the sitemap
map:transformer logger=sitemap.transformer.omitns
name=omitns pool-grow=2 pool-max=16 pool-min=2
hormis la page d'exemple et les
javadocs.
Aurais tu un petit exemple qui traine qq part ;) ?
Merci
*
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/cron/CocoonPipelineCronJob.html*
Marc
Sylvain Wallez a crit :
Marc Salvetti wrote:
Bonjour,
j'ai a grer un systme d'option
I think the directory you are looking for is inside the block forms, so
it's in sample/forms/v2
Marc
Victoria Vitaver a crit :
Jubin Thomas Kuriakose wrote:
Thanks Mark for your support,
I did search for the v2 subdirectories in the samples direstory in
webapp (if thats what you
Hello,
I need some files to be checked once a day and eventually updated
depending on certain conditions (if a date inside the document is before
the date of the day, some attributes need to be changed inside the doc)
Does anyone know the right cocoon component to use for that ?
Thanks,
Thanks,
that's definitly what i need, but i badly miss a basic example on how to
launch a pipeline everyday
anyone around have one ?
Best regards,
Marc
Geert Josten a crit :
Hi,
Take a look at the cron block, that might be what you are looking for...
Cheers,
Geert
Marc Salvetti wrote
Hello,
i have a strange behavior in ie with one of my forms :
i have two submit buttons of which one save the form and do a redirect
to the same form.
When i use this submit, most of the times the form is rediplayed finely
sometimes, the page doesn't load fully (it says 9 elements left in the
Yesterday i had similar problems, i solved it with this test :
if(row.getChild(select).getValue().booleanValue()){
Maybe this helps :)
Marc
Mark Lundquist a crit :
On Jun 14, 2005, at 12:17 PM, Mark Lundquist wrote:
Update...
I instrumented the flowscript code some more,
Did you look the paginator transformer, maybe it suits better your need ?
Marc
fadi qutaishat a crit :
HI All,
I posted this quesion a week ago but I did not get any
response, here it is again, it would be appreciated if
anyone has an idea:
I have got a long HTML page generated from a
Merci beaucoup pour les reponses, je vais essayer ca.
Marc
Sylvain Wallez a écrit :
Marc Salvetti wrote:
Bonjour,
je cherche à configurer une appli cocoon sur un serveur resin
accessible sans avoir a taper de prefixe derriere le nom de domaine.
Est-ce que quelqu'un sait si il existe une
Impeccable, ca marche très bien, merci encore
Marc
Marc Salvetti a écrit :
Merci beaucoup pour les reponses, je vais essayer ca.
Marc
Sylvain Wallez a écrit :
Marc Salvetti wrote:
Bonjour,
je cherche à configurer une appli cocoon sur un serveur resin
accessible sans avoir a taper de
Hello,
i'm trying to configure my website to run on resin, and i can't manage
to get rid of the prefix after the domain name.
I want to access my cocoon server at www.domain.com/, not
www.domain.com/prefix/
Does anyone know how to configure resin to send everything to the cocoon
servlet ?
Hello,
I would like to access the selectionList attribute of a CForms field
from flowscript. When i look in the javadocs, i can't understand how to
get it.
There is a class AbstractDatatypeWidgetDefinition which have the
getSelectionList, method, but neither the widget or the datatype inherit
Maybe [EMAIL PROTECTED]
Cheers,
Marc
Sebastien Arbogast a écrit :
Hi,
I'm trying to add some locale chooser widget to my user interface
using an auto-submit select element instead of the simple links showed
in I18N samples.
The problem I came to is the value of the URL to point towards to
change
Hello,
i had pretty much the same problem, a large number of small files to
aggregate, and i finally found the xpathdirectorygenerator, which is
pretty straightforward to use, doesn't have the caching issues of
document() function, and is faster than the technique of xinclude and
cinclude on a
I think this mail was referring to pb with jre 1.5
I'm using tomcat 5.0 jdk 1.4.2_03 and cocoon 2.1.7 and it's seems to be
fine...
Marc
oceatoon a écrit :
Hi every one,
I was installing Cocoon on Tomcat5, everything was going quite fine, untill
I tumbled on a ContextPath pb that got me looking
Thanks Andre,
it worked
Marc
Andre Juffer a écrit :
Marc Salvetti wrote:
Hello,
i was looking at the deprecation.log and btw i think it's a great
feature.
i only have a small pb to update my code, i have the following message :
CForms: usage of the variable 'continuation
Hello,
i was looking at the deprecation.log and btw i think it's a great feature.
i only have a small pb to update my code, i have the following message :
CForms: usage of the variable 'continuation' is deprecated.Please
use 'cocoon/continuation' instead. The usage of just 'continuation' will
Following this, they added a java option to this page
http://www.webhostingspace.net/hostingplans.php
So far, the price is including cocoon !
Marc
Steve Schwarz a écrit :
I just checked this site and can't find any mention of Cocoon or Java
hosting.
Searching for either just returns you to their
Bonjour,
Je rencontre un problème après avoir migré sur la 2.1.7 avec le module
request-param.
J'ai ce premier pipe :
map:match pattern=**frame_**.html
map:generate src=cocoon:/body-{2}.xml/
map:transform type=omitns/
map:serialize type=html/
Yes, sorry i wasn't clear about this,
the domain hasn't been transfered yet, the real site is hosted on
http://www.cf-mekong-4test.net/
Regards,
Marc
Antonio Gallardo a écrit :
On Lun, 11 de Abril de 2005, 1:07, [EMAIL PROTECTED] dijo:
Antonio Gallardo wrote:
Hi Marc, can you point how we
only solution had been to move from resin to tomcat, so i
think there is still a bug between the caching system of resin and the
caching system of cocoon.
Best regards,
Marc
My problem
Marc Salvetti a écrit :
I tried it already, doesn't solve my pb :-(
actually, i'm even wondering if the pb
Hello,
I just switch environment to cocoon 2.1.7 and tomcat 5, and i have
trouble compiling an xsp page.
the only thing i can find about it is this is the core.log :
INFO(2005-04-10) 12:22.45:372 [core.program-generator]
(/voyages/frame_voyages/voyage_alacarte_1_1.continue)
Hello,
I have another small issue after moving to 2.1.7 with the request-param
module.
i first have this matcher :
map:match pattern=**frame_**.html
map:generate src=cocoon:/body-{2}.xml/
map:transform type=omitns/
map:serialize type=html/
Hello,
i use this host for a while and i helped him to set up cocoon as he has
been my host for a while, the support is very good, he's quite cheap and
i needed a to set up a cocoon website.
They don't differenciate a cocoon hosting plan from a basic plan+java
support, since i'm probably their
Que ca a l'air tres interessant et probablement tres utile.
Dommage que mes connaissances en plugin eclipse soient completement
nulles, j'aurait bien participé :)
Marc
Sylvain Wallez a écrit :
Jean-Christophe Kermagoret wrote:
Bonjour,
Les news eclipse.technology.lepido ne semblent pas encore
Hello,
my isp have the error
./build.sh
Exception in thread main java.lang.NoClassDefFoundError:
org/apache/tools/ant/launch/Launcher
when trying to build cocoon 2.1.7 on linux Redhat enterprise 3.0
he has ant 1.6.2 installed,
does anyone know about this error ?
Thanks,
Marc
euh, si j'ai bien compris, pour le probleme d'origine du message (erreur
304) j'ai plus qu'a changer d'hebergeur alors ?
personne n'a de solutions ? :-(
Frédéric Glorieux a écrit :
Désolé, je n'ai pas vraiment compris le pb : c'est la taille du fichier
cache,
Oui, c'est ça qui m'inquiète. Cela
header (pe l'origine du conflit)
Marc
Sylvain Wallez a écrit :
Marc Salvetti wrote:
Bonjour,
j'ai un probleme avec l'affichage des images sur mon site depuis un
moment.
Apres quelques recherches, j'ai fini par comprendre que les images ne
sont pas envoyées car le serveur (resin) croit que le client
Apparement il s'agit de 2 problemes differents, dans mon cas les images
ne se melangent pas, elles ne sont pas envoyées, une erreur 304 est
envoyée a la place
Marc
Sylvain Wallez a écrit :
Montier Patrick wrote:
Bonjour
J'ai le même souci avec tomcat, les images se mélangent. A chaque
nouvelle
Hello list,
I think i'm getting closer to the problem, but i still don't really
understand how to solve that.
apparently, the server send a 304 error for the images, because theses
images are requested with a conditional GET ... what's a conditional GET ???
what do i have to do to solve that
thanks for your answer,
finally, i think the problem was due to an overload of the server while
agregating 300 small xml files with the document() function.
I replaced this pipeline with the xpathdirectory generator, and it seems
to work fine now :-)
Marc
g[R]eK a écrit :
I tried it already,
*.gif"
map:read mime-type="images/gif" src=""/
/map:match
map:match pattern="**/images/*.gif"
map:read mime-type="images/gif" src=""/
/map:match
/map:pipeline
-Daniel
On Tue, 22 Mar 2005 10:27:41 +0700, Marc Salvetti [EMAIL PROTEC
Hello,
i'm having a weird problem with the loading of images.
i use theses 3 matchers in the sitemap for loading gif and jpg :
map:match pattern=**images/*.gif
map:read src=images/{2}.gif mime-type=image/gif/
/map:match
map:match pattern=**images/*.jpg
map:read
for me.
-Daniel
On Mon, 21 Mar 2005 15:22:01 +0700, Marc Salvetti [EMAIL PROTECTED] wrote:
Hello,
i'm having a weird problem with the loading of images.
i use theses 3 matchers in the sitemap for loading gif and jpg :
map:match pattern=**images/*.gif
map:read src=images/{2}.gif mime
Hello,
i'm meeting a problem with the authentication framework :
if a user press the back button after beeing logged in and redirected
from the login page, he is able to try to log in again, and gets the
error user already authenticated
I tried to use the pragma no-cache instructions to prevent
(handler)) {
success();
} else if (auth_login(handler, null, cocoon.parameters)) {
success();
} else {
failure();
}
}
So if the user is already authenticated they will be redirected to the
protected resource without being
re-authenticated.
HTH
Adam
-Original Message-
From: Marc
maybe this could help (attached fix-imagelinks.xsl) ;-)
cheers,
Marc
Omer Kamal a crit :
I am creating PDF with Cocoon 2.1.6 .I am having a problem with fo:
external-graphics tag.
I cant see the image in my document.
Some body advised me to use absolute path but I am not sure how it
works in
maybe something like
map:match pattern=*.pdf
map:generate src=xdocs/{1}.xml/
map:transform src=stylesheets/document2fo.xsl/
map:transform src=stylesheets/fix-imagelinks.xsl
map:parameter name=ctxroot value={realpath:/}/
map:parameter name=context value={request:sitemapURI}/
map:parameter name=dir
Hello
from what i see in the error message, it says default web.xml i think
that maybe it means tomcat doesn't find the cocoon/web-inf/web.xml maybe
because of lower case with the web-inf folder ?
cheers
Marc
Slein, Judith A a écrit :
Antonio,
Thanks for your suggestion. It is true that the
personnaly, i checked for performance reasons (include of about 300
small xml files) 3 differents include method :
-cinclude
-xinclude
-function document inside xsl
my choice was finally the document function (under 1s against 2-4s for
the transformers)
hope this helps :)
btw, once in a while,
If you have access to the required data for the required fields, i think
the easy way is to hide/disable theses fields in the template,
if you don't, well, sharing the definition file seems to be paradoxal :-)
Regards,
Marc
Dustin Jenkins a écrit :
I have a form definition file that I want
Hi,
i recently posted a mail about pb with the binding framework doing
nothing.
By looking at your code, i found out that i needed the fb:identity to
be in the the binding :
fb:identity
fb:value id="id" path="@id"
/fb:value
/fb:identity
if it's missing, the binding
Hello,
when trying to upgrade to cocoon 1.6, i get a new bug in all of my forms
that have a similar config to this one (the document URI is
parameterized) :
-sitemap.xmap
map:match pattern=*cruise*
map:call function=handleForm
Jan Hoskens a écrit :
Christoph Hermann wrote:
Marc Salvetti schrieb:
Hello,
map:match pattern=*cruise*
map:call function=handleForm
map:parameter name=documentURI
value=xdocs/planning/cruise{2}.xml/
When browsing, the cache system
? java ou tomcat ? est-ce que ca a une
importance ?
Y a t'il un wiki ou une page de doc qq part sur la config d'eclipse pour
cocoon ?
Merci encore à tous pour votre aide
Marc
Frédéric Glorieux a écrit :
Marc Salvetti wrote:
Merci pour la commande magique :-)
Par contre, j'utilise cocoon sur tomcat
Bonjour,
voici un pb que j'ai posté hier sur la liste anglophone. Comme je n'ai
pas eu de réponse et que je suis toujours coincé, j'essaye sur la liste
francophone, j'espère avoir plus de succès ;-)
J'utilise la fonction form2xml de l'exemple binding dans la
distribution. Le problème est
Hello,
I have a problem with the binding framework :
i'm using the function form2xml from the sample, and with one of my
forms, the data is not saved back to the xml file.
The binding works fine for loading the data to the form, the xml file is
saved correctly, but the modifications made to the
Hello,
I have a function in flowscript that do something like this :
var document = loadDocument(documentURI);
form.load(document);
form.showForm(displayPipeline);
form.save(document);
var invoicesDocURI = xdocs/invoices/invoices_4.xml;
var invoicesDoc =
After hours of random debugging, i figured that without the underscore
in the filename (ie : xdocs/invoices/invoices_4.xml to
xdocs/invoices/invoices4.xml ) the problem suddenly disapeared !!!
Maybe a bug in CForms ?
Hope this will help
Cheers,
Marc
Marc Salvetti a écrit :
Hello,
I have
hello,
i was just wondering if there is some technique to use xpath from
flowscript to retrieve a part of a dom ?
something like
doc = someObject.xpath(path/to/somewhere, mainDoc);
it would be quite handy instead of using the dom api :)
thx
Marc
Hello Marc, thx again for the answer,
Mark Lundquist a crit :
Aw, phooey! I had a brain-o there, I totally meant styling, but in
my example I wrote common (right after I got through telling you
that common was the wrong one! :-). Sorry, my bad.
No worries, this is already very confusing
I tried your last suggestion, but that doesn't seem to help,
so here is what the custom-styling stylesheet looks like so far :
?xml version=1.0?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
Mark Lundquist a crit :
Thanks for the detail. See below:
On Jan 19, 2005, at 10:20 PM, Marc Salvetti wrote:
I tried your last suggestion, but that doesn't seem to help,
so here is what the custom-styling stylesheet looks like so far :
?xml version=1.0?
xsl:stylesheet version=1.0
Hello,
i've been asked to put a background color on the required fields in
cforms, i don't really understand where i need to add the attribute.
I've been trying to edit forms-field-styling.xsl but
- I don't like the idea of updating a file coming from the distribution
- I don't find the right
a bit confused now...
Marc
Mark Lundquist a crit :
On Jan 18, 2005, at 10:12 AM, Joerg Heinicke wrote:
On 18.01.2005 13:29, Marc Salvetti wrote:
[...snip]
The template for required is a different one:
!--+
| Common stuff like fi:validation-message, @required.
+--
xsl:template match
hello,
i'm trying to write a template to convert a html table to pdf
the problem is that the table-fo structure need the table columns to be
declared beforehand.
so i want to find the line of the table with the maximum number of cells
(because of eventual colspan columns) and transform it in
://exslt.org/common;
Do you know the difference with the namespace you gave
(xmlns:exslt=http://exslt.org/common;) ?
regards,
Marc
Mark Lundquist a écrit :
On Jan 17, 2005, at 4:37 AM, Marc Salvetti wrote:
hello,
i'm trying to write a template to convert a html table to pdf
the problem is that the table
Hello,
I have a problem to delete hand created nodes in a woody form,
here is the sequence of actions that create the problem :
- load the doc in the flowscript
- add some nodes in the dom tree
- bind the document to the form
- show the form until validation (delete some of the pre-created nodes
I guess it was an issue in woody, i just moved to cforms and it works
fine now !
Marc Salvetti a écrit :
Hello,
I have a problem to delete hand created nodes in a woody form,
here is the sequence of actions that create the problem :
- load the doc in the flowscript
- add some nodes in the dom
I'm not too sure, but i think you need a repeater, you can just trop the
add and remove buttons in the template and just add a node in the dom
tree from the flow, before the form is binded.
document.getElementsByTagName(params).item(0).appendChild(document.createElement(param);
hope
Hello,
does someone know if it's possible in flowscript to read the label of an
option in a selection list ?
regards,
Marc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
What you can do is use a simple xsp :
!--sitemap.xmap--
map:match pattern=dateToday
map:generate type=serverpages src=logicsheets/dateToday.xsp/
map:serialize type=xml/
/map:match
!--dateToday.xsp--
?xml version=1.0?
xsp:page xmlns:xsp=http://apache.org/xsp;
xsp:logic
Hello everyone,
i have a problem with the i18n transformer, when adding i18n tags from a
xsl stylesheet :
My pipeline look like this :
map:generate src=xdocs/index.xml/
map:transform src=stylesheets/site2xhtml_test.xsl
map:parameter name=page value={URI}/
Sorry for the dumb message, i found the error : the namespace of the
i18n transformer was wrong !
Marc Salvetti a écrit :
Hello everyone,
i have a problem with the i18n transformer, when adding i18n tags from
a xsl stylesheet :
My pipeline look like this :
map:generate src=xdocs
Hello,
i'm having troubles with the i18n transformer. It's working fine in
every pipeline in the website but one, and i can't figure what's wrong
with this pipeline.
For some reason, the i18n tags are not even read by the transformer. If
i look at the xml flow, before and after transformation,
I just checked on the server, the 2 files are in the
/usr/local/resin/lib folder
Anyway, if i remember, i think the error you get when theses files are
missing is a ClassNotFound exception.
Marc
Ugo Cei a écrit :
Il giorno 21/dic/04, alle 08:26, Marc Salvetti ha scritto:
I understand
Hello,
Does someone knows how to avoid the error created by the use of simple
quote in a validation message ?
for example : alert('don't do this'); will result in a javascript error
at the browser level.
i tried to replace the quote with the acute; html code, but apparently
it prevent the
After further checking, i found out that cocoon must be compiled with
mail.jar and activation.jar in the local/lib folder of the distribution.
Copying them to the server is not enough.
Marc Salvetti a écrit :
I just checked on the server, the 2 files are in the
/usr/local/resin/lib folder
{
if(filesource != null) resolver.release(filesource);
cocoon.releaseComponent(resolver);
}
}
Kind Regards,
Jan
Marc Salvetti wrote:
Hello,
i'm trying to access some of the xml files in my webapp directly from
the flowscript for creation/deletion
i can't find a way to adress the correct
Hello,
I have problems saving a form back to a document with the saveDocument()
function of the form2xml example.
var document = loadDocument(cruise.xml);
// bind the document data to the form
form.load(document);
// show the form to the user until it is validated successfully
Hello,
sorry to post again this one, but i have this error for one month, and
couldn't find the solution yet.
i 've set up a mail form using the sendmail.xsp logicsheet
It 's working fine on my local computer with tomcat, but once uploaded
online
on resin i get the following error :
Hello,
i'm trying to access some of the xml files in my webapp directly from
the flowscript for creation/deletion
i can't find a way to adress the correct directory of the servlet
i tried request:contextPath but it gives only a partial path, i also
tried servletPath but it gives the uri of the
101 - 173 of 173 matches
Mail list logo