Bonjour,
Hé ! Hé ! C'est probable en effet. ;-)
Malheureusement, ç'était un peu moins gadget : je cherche à
enregistrer des données de session, et de les intégrer dans des
fichiers identifiés par la date, pour éviter les monolithes.
monolithes ? Euh... qu'est-ce que ça désigne ?
Je veux
David Verdin wrote:
Bonjour,
Hé ! Hé ! C'est probable en effet. ;-)
Malheureusement, ç'était un peu moins gadget : je cherche à
enregistrer des données de session, et de les intégrer dans des
fichiers identifiés par la date, pour éviter les monolithes.
monolithes ? Euh... qu'est-ce que ça
Merci beaucoup pour cette explication très justifiée du flowscript, pour
lequel je suis encore très réticent, du moins dans sa version
javascript. L'aspect qui me dérange toujours est d'aller fouiller des
API java pour deviner comment dire en javascript ce qui est à l'origine
en JAVA.
snip/
Argh, le fameux SourceWritingTransformer...
Ben c'est pas si mal pour stocker quelques informations qui n'ont pas
forcément besoin d'être organisées en base de données.
Pour le moment en tout cas.
Qu'est-ce qu'il a de mal, ce pauvre transformer ?
Il est dans la catégorie
Sylvain Wallez wrote:
C'est un des avantages de Cocoon: on peut faire plein de trucs sans
connaître Java, mais c'est aussi un des inconvénients, parce qu'on
arrive parfois à des constructions qui certes fonctionnent, mais sont
réellement difficile à comprendre quand on reprend un projet.
Hello,
I'm doing my first steps with cocoon. This is what I'm trying to do:
-query data form a database
-convert result set to xml
-display data in a form field
I have difficulties binding the retrieved xml to the form. The retrieval
works ok. Please see the sample.xml below original message.
Hello,
I'm relatively new to using Cocoon.
I feel the information provided about LDAP Transformer on Cocoon Website
is not sufficient. I want to carry out LDAP
authentication inside Cocoon. How can
I use LDAP Transformer for this purpose ? Could you please suggest any
better way of achieving
Hello, think you mean something like:
map:generate src=ldapinfo.xml/
map:transform type=ldap/
where your ldapinfo.xml looks something like:
ldap:execute-query xmlns:ldap=http://apache.org/cocoon/LDAP/1.0;
ldap:version3/ldap:version
ldap:serverurlldap:///ldap:serverurl !-- your ldap server
Hi,
We have the following use case and I would like to know, if there is a
recommended solution for this:
We are developing a generic form framework based on cform which should
roughly use the following workflow:
1. Display input forms until successfully validated (can be single-page as
well as
Hi,
Is it possible (or impossible) to set the cookie domain at the time (or
after) the cookie creation? I use Portal block, thus Auth-framework, and
i'd like to set the domain to .mydomain.com instead of
www.mydomain.com for subdomain issues (to be able to keep the session
with subdomains
Hello,
think you'r heading for major headache the way you are trying to use
Cforms/binding! What your are describing is pretty well possible, but it will
become unnecessary hard to store your date (how are you planning this? After
the form is submitted, find out the different fields, and
Hi,
I don't know much about ojb. But are you suggesting a usage like this:
http://www.guschtel.de/HP5/linux/ojbjdo_dmton.php
If yes, I don't see where the benefit of cocoon lies anymore. My aim is to
simply the whole process from data retrieval to display. I don't have much
data to return to
Hi,
I don't know much about ojb. But are you suggesting a usage like this:
http://www.guschtel.de/HP5/linux/ojbjdo_dmton.php
indeed, except that the example is a little hard/large for a first time use.
Look for BrickCMS (heard there was even an easier example but forgot its name,
it
I am quite new to flowscript, so this is a basic quesiton...
However, I have not been able to get any of the examples I found on
Google to work.
I have the following flowscript:
function cleanWordHtml() {
var base = Packages.java.lang.String(cocoon.parameters[base]);
var page =
Since you want an overview of the filled form, why not do something like:
1) call a pipeline from flow with params holding the widgetids:widgetvalues
2) generates a cocoon:/pipeline with the jx generator (see the cocoon:/pipeline
below)
3) You now have an xml block having the translated labels
Think you should take a look at the streamgenerator, that should do the job
AS
I am quite new to flowscript, so this is a basic quesiton...
However, I have not been able to get any of the examples I found on
Google to work.
I have the following flowscript:
function cleanWordHtml() {
It reads a Cocoon pipeline, which converts a Word HTML file to XML.
Then it sends this as a string in a parameter, to a pipeline that
processes it further.
Why not read WordML? :)
What I *would like* to do, is to send XML in the parameter, instead of a string.
Is this possible? Does anyone
You can put fd:validation in you form. For example, start you fd:form with
fd:form id=data
xmlns:fd=http://apache.org/cocoon/forms/1.0#definition;
xmlns:i18n=http://apache.org/cocoon/i18n/2.1;
fd:validation
fd:javascript
return messageValidator(widget);
[My apologies for crossposting, but I don't know which community is best
placed to answer this one.]
I am going to be using Cocoon to serve a large and varied collection of
XML documents and I'd like to use eXist as the search system. Cocoon is
running happily within Tomcat on port 80 as the
This should do it:
http://cocoon.zones.apache.org/daisy/books/cocoon_forms_book--20051027-15:54:02/publications/pdf/output/book.pdf
Hello,
Does anyone know where I can find the documentation for
form.getWidget()? I'm looking at the following lines in the ajax car
selector sample.
Thanks for the replies.
The problem is that I then have use the xml in a pipeline that starts
with an xquery generator (this is the pipeline I call from the
flowscript):
map:generate src=xq/discuss.xq type=xquery
map:parameter name=cleanedxml value={flow-attribute:cleanxml}/
Therefore,
Peter, I think you might want to integrate eXist with your existing
Cocoon installation:
http://wiki.exist-db.org/comments/CocoonInstall
Regards
Hans
On 1/5/06, Peter Flynn [EMAIL PROTECTED] wrote:
[My apologies for crossposting, but I don't know which community is best
placed to answer this
I think it should work, when you putt the directory in the Wepapps folder of
Tomcat. You can then access the Admin-Page over http://localhost:8080/exist
It shouldn't matter if you put Cocoon as ROOT-Folder or in a separate Folder
under Webapps.
-Ursprüngliche Nachricht-
Von: Peter Flynn
On Thu, 2006-01-05 at 11:48, Jonas Lundberg wrote:
Peter, I think you might want to integrate eXist with your existing
Cocoon installation:
http://wiki.exist-db.org/comments/CocoonInstall
Thanks, I'd somehow missed that page. I'll give it a try.
///Peter
Thanks for the replies.
The problem is that I then have use the xml in a pipeline that starts
with an xquery generator (this is the pipeline I call from the
flowscript):
map:generate src=xq/discuss.xq type=xquery
map:parameter name=cleanedxml value={flow-attribute:cleanxml}/
How is
The xquery stores the XML file in eXist.
Thus, if I try to insert the xml file using an Xinclude in discuss.xq,
and then use an xinclude transformer after generation,
then it will be put there *after* the query is executed. Which is not
useful in this case, since the XML is needed during
No, this is not what I meant. You can replace:
src=xq/discuss.xq
by:
src=cocoon:/insert-whtm-in-query/discuss.xq/path-to-whtm
And create an new pipeline that includes the cleaned whtm into your xquery
instruction.
:-)
Jonas Lundberg wrote:
The xquery stores the XML file
Peter Flynn wrote:
On Thu, 2006-01-05 at 11:48, Jonas Lundberg wrote:
Peter, I think you might want to integrate eXist with your existing
Cocoon installation:
http://wiki.exist-db.org/comments/CocoonInstall
Thanks, I'd somehow missed that page. I'll give it a try.
Hi,
maybe I'm
That would work, if I could do it...
But xqueries are not written in XML, so how can I then include the XML
in a good place in my xquery?
:-(
Hans
On 1/5/06, Geert Josten [EMAIL PROTECTED] wrote:
No, this is not what I meant. You can replace:
src=xq/discuss.xq
by:
Has anyone interfaced with Hibernate in a pipeline? Did you write a
transformer, call JavaFlow or something else?
I'm thinking of using the Hibernate XML export feature to load objects
into my pipeline (inside a transformer). I'd certainly appreciate
hearing about any existing work in this
You may also have a look at http://wiki.apache.org/cocoon/EXistInCocoon
Just a few jars to add and some web.xml changes, an old cocoon release
is mentioned there but it worked for me.
From what i remember, the cocoon app in eXist is just a light application.
Phil
Jonas Lundberg wrote:
Yes, de-serializing with util:eval works in some cases. However, it
does not work for documents that contain or in the text contents,
because that will then be de-serialized as well. This will cause an
error.
For instance, the XHTML:
p lt;!-- Add here other XML:DB compliant databases' drivers
Err, perhaps switch to the XML syntax of the XQuery language? That should be available and I would
be surprised if it is not supported.
I believe there are converters that can translate one to the other..
Regards,
Geert
Jonas Lundberg wrote:
That would work, if I could do it...
But xqueries
That might work, but it is not a good solution for me, although it
might work in other cases. My xqueries are very complex.
But this can't end here, can it? Is there really no way of returning
XML in a parameter from a flowscript in Cocoon?
Regards,
Hans
On 1/5/06, Geert Josten [EMAIL
On Thu, 2006-01-05 at 12:00, Christian Barth wrote:
I think it should work, when you putt the directory in the Wepapps folder of
Tomcat. You can then access the Admin-Page over http://localhost:8080/exist
It shouldn't matter if you put Cocoon as ROOT-Folder or in a separate Folder
under
Jonas Lundberg wrote:
The xquery stores the XML file in eXist. (...)
You can store xml in eXist from flowscript, without using xquery, as
described in:
http://wiki.apache.org/cocoon/CformsExistAndFlow
Zbigniew Bomert
-
To
So, what you are saying now is that you cannot pass an xml document as
a parameter in Cocoon, at all?
If one can pass xml documents as parameters, then...
How would I parse the output stream, and pass along the DOM object?
Regards
Hans
On 1/5/06, Geert Josten [EMAIL PROTECTED] wrote:
You can
Does the xquery do any processing on the xml, or does it just use
eXist's update extensions to store it as-is? If you need to do the
latter you can use an XMLDBSource to write the file directly into eXist
from your flowscript.
Jonas Lundberg wrote:
The xquery stores the XML file in eXist.
Thanks,
yes that would be a good way to store the document. (I currently do
that using XSP)
However, I should add that the xQuery is the core of a content
management system, so it also does version management, among other
things, (while storing the file). Therefore, storing a temporary file,
does
On Thu, 2006-01-05 at 12:31, Huib Verweij wrote:
Peter Flynn wrote:
On Thu, 2006-01-05 at 11:48, Jonas Lundberg wrote:
Peter, I think you might want to integrate eXist with your existing
Cocoon installation:
http://wiki.exist-db.org/comments/CocoonInstall
Thanks, I'd
So, what you are saying now is that you cannot pass an xml document as
a parameter in Cocoon, at all?
What do you mean with xml document and what with parameter?
The parameters you pass from FlowScript can contain any object type, but I'm pretty sure that
map:parameter does not allow that.
David Kavanagh wrote:
Has anyone interfaced with Hibernate in a pipeline? Did you write a
transformer, call JavaFlow or something else?
I'm thinking of using the Hibernate XML export feature to load objects
into my pipeline (inside a transformer). I'd certainly appreciate
hearing about any
Greetings, all!
One of the things that makes Cocoon development difficult for me is
that, when exceptions are thrown, I see the file name and line number
of the java source code where the exception occurred, but NOT the file
name and line number of the sitemap that called the component. For
Thanks to the responses, that's what I needed!
Dustin N. Jenkins wrote:
Does anyone have experience writing Custom Form Validators? We need a
way of accessing our Spring Service Layer from one of our Cocoon
Custom Validators, but the Validator doesn't seem to have access to
the HTTP
Greetings, all!
One of the things that makes Cocoon development difficult for me is
that, when exceptions are thrown, I see the file name and line number
of the java source code where the exception occurred, but NOT the file
name and line number of the sitemap that called the component. For
On 1/5/06, Jason Johnston [EMAIL PROTECTED] wrote:
Greetings, all!
One of the things that makes Cocoon development difficult for me is
that, when exceptions are thrown, I see the file name and line number
of the java source code where the exception occurred, but NOT the file
name and
Can I chain another transform to my SourceWritingTransformer sitemap
pipeline?
I imagine it would look like this. But the resulting png is not effected by
another.xsl.
---
map:pipeline
map:match pattern=write/**
map:generate type=request/
map:transform src=request2doc.xsl/
Lincoln wrote:
Can I chain another transform to my SourceWritingTransformer sitemap
pipeline?
Yes, you can add as many transformers as you like in any order. This is
the whole idea behind pipelines! :-)
I imagine it would look like this. But the resulting png is not effected by
Here's Another.xsl
---
?xml version=1.0 encoding=UTF-8?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xsl:template match=/
xsl:apply-templates/
/xsl:template
xsl:template match=//[EMAIL PROTECTED]'myRect']
xsl:copy
xsl:apply-templates
hi...
i'm newbie in cocoon and lenya. i have already up lenya server (lenya
1.2.4 n cocoom 2.1.7) on top tomcat server. My question are :
1. Can i up my cocoon server at the same time lenya up too?
2. Can i create new application based on cocoon then the application
can integrate with lenya cms??
Am Freitag, 6. Januar 2006 07:45 schrieb zulhisham abu nawar:
Hello,
i'm newbie in cocoon and lenya. i have already up lenya server (lenya
1.2.4 n cocoom 2.1.7) on top tomcat server. My question are :
1. Can i up my cocoon server at the same time lenya up too?
yes. Lenya is cocoon-based, so
Just incase anyone was keen to know the solution to this thread.
It was just a namespace issue. I had to change the namespace on SVG tag on
the original rect.svg from the default xmlns namespace to xmlns:svg.
Thanks to Jason Johnston for the help.
Linc
-Original Message-
From:
52 matches
Mail list logo