Bonjour,
travaillant actuellement sur un cocoon 2.1.9 dev (et pas de possibilité
de le changer) j'ai un problème avec un champ date et la récupération de
sa valeur en flowscript :
Voici la définition du champ avec un convertor :
fb:value id=startDate path=startDate
fd:convertor
Hi all,
I have to integrate an applet into my web application. The
webapplication code is implemented with cocoon 2.1.9. The applet has to
be signed. If I copy my package tree into my application directory I can
start my applet. For signing the applet I have to pack my classes into a
jar
Hi Bertrand,
Bertrand Delacretaz wrote:
On 11/14/06, Patrick Refondini [EMAIL PROTECTED] wrote:
...I obtain the following log when running the block using mvn
jetty6:run
Apache Cocoon 2.2.0-M2-SNAPSHOT is running in mode: prod...
IIUC this is is defined by the org.apache.cocoon.mode system
Hi Andrea,
i'm not sure why it gives you the bad magic number, but here is something that
explains what it is.
http://www.javacoffeebreak.com/faq/faq0083.html
It seems that your class file isn't recognized by the classloader. Maybe try to
create the jar again?
Kind regards,
Jeroen Reijn
Hi Jeroen,
many thanks for your reply.
I copied all libraries needed into the document root of my webserver and tried
to start the applet without cocoon. It run perfectly. I guess the problem could
be the sitemap. But how must the pipeline be defined? My pipeline snippet looks
like the
Hi,
as I was looking to integrate Dojo Editor2 into my Cocoon application, I
found this instructions helpful, but there is a way to achive the same
goal without having to modify Cocoon' own javascript resources:
1. In the form template, style the field widget as follows:
fi:styling
Andrea,
your welcome. You are requesting the jar file now for every class you call from
cocoon. Instead you need to call the class file from inside the jar. You can
try this reading the file with the zip protocol instead. It should look
something like:
map:match pattern=**.class
map:read
Hi,
just check the Cocoon CForms samples. At least one has XML binding and
there is at least one that reads/creates XML files using flowscript.
HTH.
Bye, Helma
-Original Message-
From: James Cummings [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 14, 2006 12:45
To:
Hi Andrea
map:match pattern=**.class
map:read mime-type=application/java-archive
src=login/login.jar/
/map:match
Serving a jar while matching a class doesn't make sense !
For me this sitemap snippet does the job very well :
map:match pattern=**/*.jar
map:read
Hiya,
Thanks for the suggestions. Can someone point me to a good example /
how-to on using xml bindings to write to an XML file? (preferrably to
update an existing XML file?)
-James
On 11/10/06, Jan Behrens [EMAIL PROTECTED] wrote:
Hi James,
couldn't you just use cforms along with xml
I'm running Cocoon
2.1.7. eXist was throwing warnings about Xerces and Xalan version so I put
these jars from eXist in the Tomcat endorsed directory:
xalan-2.7.0.jar
xercesImpl.jar
Everything works
untila form is opened when a Xerces exception occurs:
java.lang.NoSuchMethodError:
Just started learning, and the first sample seems 'overheaded' for a simple
task:
- include into HTML simple form with results of processing
- do not show continuation, show single URL (show 'request' and 'response'
together...)
Of course I can design it as pure XML and transform to HTML (using
I think this is called cross site scripting attack and should be
prevented...
output field is simply a read-only widget with a value, and browsers
should not interpret any pure HTML values of such objects...
Marcel Rouwenhorst wrote:
Is it possible to display formatted html in a cforms output
Lars Trieloff wrote:
as I was looking to integrate Dojo Editor2 into my Cocoon application, I
found this instructions helpful, but there is a way to achive the same
goal without having to modify Cocoon' own javascript resources:
Lars,
I don't think so, unless the modifications are
Hello Reinhard,
I saw this code selector mentioned on the cocoon 2.1 web page and it
seems like it was made for excatly that case. Not sure how to find the
author of that page though - he might know more...
Essentially, I'd like to have sth like an or, saying
map:when test=(test1 == true or
maybe also try here - http://wiki.apache.org/cocoon/Schema2CocoonForms it
helped me getting started.
HTH, Jan
James Cummings [EMAIL PROTECTED] schrieb am 14.11.2006
12:44:59:
Hiya,
Thanks for the suggestions. Can someone point me to a good example /
how-to on using xml bindings to write
16 matches
Mail list logo