Dear Community
I'm working with Cocoon 2.1.9 and I'm looking for a way to conditionally
load a specific SessionContext. That means that the SessionContext data
should only be loaded if necessary. Is there any possibility to do that?
For your support many thanks in advance ... Raffaele
Dear Cocoon Community
First of all I have to say that I am a Cocoon lover.
We are working with this framework since 2005 and we have developed many
different types of applications that include:
- integration of a legacy system with WebServices
- complex e-commerce solutions
- graphical rendering
Hi Tobia
I use the following construct to do that:
After all relevant form fields I add a form field (in my case
id=form-validation) that is not displayed in the form but invokes a
javascript validation function. The javascript functions gets two
parameters: the widget and an ignoreList. The
An: users@cocoon.apache.org
Betreff: [?? Probable Spam] Re: AW: More control over Cform Date Conversion
Thanks,
A good trick.
Almost does what I want. Problem below.
Well spoken Merico Raffaele raffaele.mer...@less.ch wrote:
Hi Edward
To access the entered value in a CForm I use
Hi Edward
To access the entered value in a CForm I use the following construct based
on a personal server side javascript function.
fd:field id=form_bis required=false
fd:datatype base=date
...
/fd:datatype
fd:validation
fd:javascript
Dear Community
We have a several Cocoon applications consisting of:
- Cocoon 2.1.9
- Hibernate
- MySql
- Tomcat
and running on dedicated Linux servers.
In order to get a perfect failover situation we would like to setup a
cluster.
Tomcat is
Dear Community
Are there any news about the Cocoon GetTogether 2008?
Thanks in advance
Raffaele
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Peter
I am using sendmail as cocoon action in the following way and it works fine.
My experience is that it is important to have valid parameter values.
map:match type=wildcard pattern=sendmail/*
map:act type=sendmail
map:parameter name=smtp-host
Hi Gabriel
I do not know if it's possible to integrate a java class directly.
But, we also work with hibernate and we usually solve this kind of problem
in the following way:
fd:field id=anrede required=true
fd:datatype base=string/
fd:selection-list
Dear Community
I have a CForm and I would like to send the user input to a given email
address. From my point of view there are three possibilities to do it:
- Coocon Action
- Cocoon Logicsheet
- by using Java within the Server-side Flow-Script
Which is the best way to do it in Cocoon 2.1.9?
Dear Community, caro Luca,
Thanks for your short topic list. I agree with you, less is more ... and,
let us found the very important things to speak at the GT2007.
From my point of view, Cocoon 2.2 and how to get there from 2.1.x would be a
very important input at the current state of the
Dear Community
I am still missing some details (date, location, agenda) regarding the
Cocoon GetTogether 2007 in Rome. Did I missed them? Can anybody provide me
with any further status information?
Many thanks in advance.
Best regards,
Raffaele
Location:
B) Rome
C) London
Time:
A) or B)
-Ursprüngliche Nachricht-
Von: Arje Cahn [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 11. April 2007 15:08
An: [EMAIL PROTECTED]; users@cocoon.apache.org
Betreff: [GT2007] [VOTE] Conference location + time
Hi all,
Please cast your
Dear Community
I'm looking for a way how to get the binding path-attribute information of a
widget (fb:value path=/) starting from an object of the class
org.apache.cocoon.forms.formmodel.Field.
For your support many thanks in advance ... Raffaele
Hi Marc, in flowscript ... thx Raffaele
-Ursprüngliche Nachricht-
Von: Mark Lundquist [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 15. Dezember 2006 16:43
An: users@cocoon.apache.org
Betreff: Re: get fb:value path=/
On Dec 15, 2006, at 12:07 AM, Merico Raffaele wrote:
I'm
Dear Community
I'm woriking with cocoon 2.1.9.
When I was googling around for a solution regarding the usage of
namespace-prefix in the form binding I found an email of Suzan Foster on the
web saying to set the namespace-prefixes in the cocoon.xconf to true (Google
for Cocoon forms binding and
Hi Mark
Many thanks for your support.
I want to come back and explain to you my need.
I have a cocoon form that will be bind to XML values coming from a web
service.
To bind the right data in the XML stream I need an ID passed by the request.
So I can do something like the following ...
Dear Community
I have a cform that binds with an XML document. In the fb file I would like
to define an XPATH that contains values of given request parameters. Is
there any possibility to access the request object with JXPath. I so, how
does the syntax would look like.
Many thanks in advance ...
Dear Community
In the API java doc of cocoon 2.1.9 there is a class
org.apache.cocoon.acting.SetterAction.
I tried to use it in various ways but I never got the usage that I need. And
that is:
a) I would like to read a part of the URL (i.e. skin name, not as request
parameter),
b) store this
FYI ... prima vista fins seems to work with cocoon 2.1.9
Raffaele
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the namespace declaration for soap in your
binding definition.
Merico Raffaele schreef:
Hi Jeroen
Thanks for your suggestion. But the element gemeldeterLohn is not part
of
the soap-namespace. It stands as follows in the XML:
gemeldeterLohn/gemeldeterLohn
Thx ... Raffaele
Dear Community
I'm planning to migrate from cocoon 2.1.8 to 2.1.9.
The application running with 2.1.8 makes a lot use of fins.
Before I do it I would like to ask the following questions:
1) Does fins 0.1.2 works with cocoon 2.1.9?
2) Are there any alternatives to fins?
Many thanks in advance
Dear Community
I'm working with cocoon 2.1.8 and I'm fighting with the namespace
declaration in the fb:context that looks as follows:
fb:context path=/data/soap:Envelope//versicherter
xmlns:soap=http://www.w3.org/2003/05/soap-envelope;
fb:value id=lohn path=gemeldeterLohn/
/fb:context
,
Jeroen Reijn
-Original Message-
From: Merico Raffaele [mailto:[EMAIL PROTECTED]
Posted At: Thursday, October 19, 2006 1:25 PM
Posted To: Cocoon User List
Conversation: binding XML (namespace problem)
Subject: binding XML (namespace problem)
Dear Community
I'm working
Dear Community
I have a system running with Cocoon 2.1.7.
In the sitemap under
webapps/V2D/appl I do a
map:redirect-to uri=/auth/logout/.
Now it seems that this redirect is expanded with the IP address of the
server (i.e. http://999.999.999.999/auth/logout). But since this Cocoon
-Ursprüngliche Nachricht-
Von: Luca Morandini [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 6. Oktober 2006 08:35
An: users@cocoon.apache.org
Betreff: Re: redirect-to problem
Merico Raffaele wrote:
Dear Community
I have a system running with Cocoon 2.1.7.
In the sitemap under
This does not really solve the problem, since the server name that I get
with {request:serverName} is the same IP address that Cocoon uses to prefix
the redirect URI. And this IP address is protected by a central
WebEntrySystem.
Raffaele
but I really need a client-side redirect to the relative
Thanks Ard, http-equiv=refresh does what I need ... Raffaele
but I really need a client-side redirect to the relative
URI /auth/logout.
Does it help if I would use a Flow script to do the redirect!
quick and dirty solurion that always works: send an html page to the
client which only
Dear Community
I'm using cocoon 2.1.8 and I'm looking for an example how to use the
SetterAction. I would like to the set a value either in the session or in
the current request.
For your support many thanks in advance
Raffaele
Ciao Nacho
Use the following code, it should work cocoon with 2.1.x:
In flowscript:
var xmlizableResult = new org.apache.cocoon.xml.StringXMLizable(xmlString);
cocoon.sendPage(uri, {xmlizable: xmlizableResult});
In JX:
jx:template xmlns:jx=http://apache.org/cocoon/templates/jx/1.0;
jx:out
Hi Johnson
Just copy/install the cocoon/build/webapp into the tomcat/webapps directory
with a different name. For example:
- tomcat/webapps/cocoon-appl-1
- tomcat/webapps/cocoon-appl-2
Instead of the name cocoon-appl-n you can choose what ever you need.
Hope this helps
Raffaele
I want to
Regards
johnson
- Original Message -
From: Merico Raffaele [EMAIL PROTECTED]
To: users@cocoon.apache.org
Sent: Wednesday, January 18, 2006 2:43 PM
Subject: AW: how to run two cocoons in a tomcat
Hi Johnson
Just copy/install the cocoon/build/webapp into the tomcat/webapps
Ciao Patrick
The form.showForm() function is located in the Form.js file in the
lib/cocoon-forms-block.jar.
Cheers ... Raffaele
-Ursprüngliche Nachricht-
Von: Patrick Refondini [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 21. Dezember 2005 08:09
An: users@cocoon.apache.org
Ciao Bertrand, dear community
...A html serialized page contains the following link:
pa href=genXmlRequest?para=öLINK/a/p
I think the ö must be written URLencoded, as it's in an URL:
a href=genXmlRequest?para=%F6
Yes that would work (if I literally write %F6 in the URI).
But, I can
Ciao Antonio, dear Cocoon-Devs
Make sure you are using the right xml-apis.jar.
I am using that one distributed with cocoon-2.1.8:
WEB-INF/lib/xml-apis-1.3.02.jar
Please note the solution (so I hope):
To find out which xml-apis lib is installed I did a find in the ./webapps:
$ find . -name
Dear community
A html serialized page contains the following link:
pa href=genXmlRequest?para=öLINK/a/p
The pipeline of genXmlRequest looks like follows:
map:match type=wildcard pattern=genXmlRequest
map:generate type=request/
map:serialize type=xml/
/map:match
But the result in
Dear community
I have installed cocoon-2.1.8 under tomcat-5.5.9 and I got the following
error:
java.lang.IllegalArgumentException: Unknown type of result: class
javax.xml.transform.dom.DOMResult
Cocoon stacktrace[hide]
Error calling flowscript function showForm
Hi Anshuk
Since an XSL file is also an XML file it possible to do it with Cocoon. But
it's more the job of a XSLT processor than of Cocoon. Cocoon is on top of
it. Cocoon is the control centre to control an n-step XML transformation
from the sourceing (generation) to the final result
validation; you can find
plenty examples on the net but if you want I can easily drop one here
Gunter
Merico Raffaele [EMAIL PROTECTED]
07/12/2005 10:13
Please respond to
users@cocoon.apache.org
To
users@cocoon.apache.org
cc
Subject
cform date validation
Dear community
I
Dear community
I have a strange effect with cform date fields. Values like 32.12.2005 or
29.2.2005 are automatically corrected to 1.1.2006 or 1.3.2005 without any
validation error. What can I do to let the cform validation service declare
such dates as incorrect?
For your support many thanks in
Dear community
I use a CForm to get the input for an external service invoked as
WebServiceProxy-Pipeline after the form validation. The simple flow script
looks like follows:
var form = new Form(cocoon.request.get(fdPath));
form.showForm(showForm);
Ciao Leszek
Instead of the solution below with the 'stringToSAX' JavaScript function
I
have solved the xmlize problem with the following statement in the
JavaScript.
var xmlizableWspResult = new
org.apache.cocoon.xml.StringXMLizable(xmlString);
The jx template now just contains a
Hi Cocooners
Does anybody knows the right syntax to the following JavaScript function
call within a JXTemplate.
jx:set var=ignored
${cocoon.session.getAttribute(stringToSAX)( value, cocoon.consumer,
ignoreRoot )}
/jx:set
Thx ... Raffaele
Raffaele Merico
LESS Informatik AG
Böhnirainstrasse 14
is not a function'
Merico Raffaele wrote:
Dear community
Im using cocoon 2.1.7 and I have implemented the xmlize functionality
according to
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=108680748429717w=2.
But
now I get the following error 'NOT_FOUND is not a function'.
Any help
Dear community
Im using cocoon 2.1.7 and I have implemented the xmlize functionality
according to
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=108680748429717w=2. But
now I get the following error 'NOT_FOUND is not a function'.
Any help would be very appreciated ... many thanks in advance
Hi cocooners
Thanks a lot for your interest for my problem.
To make it hopefully finally clear what I want to do can be seen in the
following pileline. Have a look at the {XPATH-expre} that refers a XML
content generated by the wsporxy.
map:match type=wildcard pattern=genXmlV2Wsp**
Hi Derek
This does not work
because the second pipeline produces the following error message: Must set a generator before adding transformer.
Thank Raffaele
Von: Derek
Hohls [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 8. November
2005 09:45
An: users@cocoon.apache.org
Hi cocooners
Does anybody knows if there is a possibility to use xml values that was
generated before as input in the sitemap as ie:
map:parameter name=paraName value={XPATH-expression}/
Best regards ... Raffaele
-
To
: Montag, 7. November 2005 13:10
An: users@cocoon.apache.org
Betreff: Re: using XML from the generation in the sitemap
Merico Raffaele wrote:
Hi cocooners
Does anybody knows if there is a possibility to use xml values that was
generated before as input in the sitemap as ie
Hi Gerry
It could be done in the following way:
In the map:act type=auth-login where you do your login check you have
authorisation-OK processing step. This one could be a map:redirect-to
uri=check-user-account-status/. In the check-user-account-status
pipeline you can
a) act depending on the
. Firefox remembers a cookie (Set-Cookie:) independent
of the response.
Hope this helps.
Many thanks for your support ... Raffaele
Merico Raffaele wrote:
Ciao Bertrand
Thanks a lot for the inspection of the source code and your suggestion
how
to fix the problem. How do we proceed now - does
Ciao Bertrand
Thanks a lot for the inspection of the source code and your suggestion how
to fix the problem. How do we proceed now - does anybody of the developers
will improve the WebServiceProxyGenerator according to your analysis.
Thanks a lot for your support ... Raffaele
...Does anybody
Thx ... Raffaele
-Ursprüngliche Nachricht-
Von: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 31. Oktober 2005 11:43
An: users@cocoon.apache.org
Betreff: Re: AW: Web Service Proxy Generator
Le 31 oct. 05, à 11:24, Upayavira a écrit :
Merico Raffaele wrote
Dear community
Does anybody knows if there is any possibility to make the Web Service Proxy
Generator remember a session with an invoked system?
The Set-Cookie: directive of the invoked Web-Service-Server is ignored by
Web Service Proxy Generator. Is there any HTTP header information that the
Dear community
I hope somebody can explain me if the following situation is a feature or
bug.
The URL http://.../appl/auth/Index/TODO/ve2000 is auth-protected and matches
the pattern=auth** in the appl/sitemap.xmap.
The redirect-to uri=cocoon:/showLoginForm.cflow/ is than translated to
... Raffaele
Cheers,
Geert
Merico Raffaele wrote:
Dear community
I am looking for a way to initialize some session context information
when
the session is created. Which is the best way to initialize things at
the
session creation status? Is there a central point that can be extended
Dear community
Depending on the existence of a RequestParameter I would like to choose the
appropriate map:aggregate path. But I could not found any
RequestParameterExistsSelector. There is only RequestParameterExistsAction
that does not allow me to code a select-when-otherwise construct.
Any
[mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 13. Oktober 2005 12:39
An: users@cocoon.apache.org
Betreff: Re: RequestParameterExistsSelector
Merico Raffaele wrote:
Dear community
Depending on the existence of a RequestParameter I would like to choose
the
appropriate map:aggregate
Dear Community
Is there any possibility to define a src-locale value for the i18n at a
higher-level than on /i18n:? Many thx in advance ...
Raffaele
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Dear Community
I have found a sample under
http://localhost:8080/ve2000ic/samples/sources/xml-upload that contains a
form/action that matches the following pipeline where upload:// is used.
map:match pattern=xml-upload-post
map:generate src=upload://formFieldOne/
map:transform
Merico Raffaele wrote:
Dear Community
I have found a sample under
http://localhost:8080/ve2000ic/samples/sources/xml-upload that contains
a
form/action that matches the following pipeline where upload:// is used.
map:match pattern=xml-upload-post
map:generate src=upload
Merico,
I have attached a stylesheet that I use for doing this.
Works for me with xalan, hopefully also with saxon.
HTH, Johannes
Merico Raffaele wrote:
Dear Community
I'm looking for a way to translate the newlines in a text
into HTML-BR
when serializing to HTML.
Can anybody give me
Hi Bertrand
As you maybe remember, this level of SOC is a main topic of my job.
Although I do not understand all details of the attribute-based
transformation, I actually see the following limitations (L) and
disadvantages (D):
L) The HTML-template to XSLT transformation is limited to one level
Dear Community
I'm looking for a way to translate the newlines in a text into HTML-BR
when serializing to HTML.
Can anybody give me a tip. I'm using cocoon.2.1.6 and saxonb.8.1.1.
Many thanks in advance ... Raffaele
-
To
Hi Andrew
I have seen a mail on this list telling you to use cocoon:raw. Rereading the
following document
http://cocoon.apache.org/2.1/developing/webapps/authentication.html, I think
that this measure could solve your problem. In this document there is a note
regarding cocoon:raw that says:
---
Hi Andrew
If you have your sitemap configured as follows:
--- sitemap snip ---
/map:components
map:actions
map:action logger=sitemap.action.locale name=locale
src=org.apache.cocoon.acting.LocaleAction
store-in-sessiontrue/store-in-session
create-sessiontrue/create-session
Title: Paremeter in Sitemape ( request.getRemoteUser() )
Hi
Dirk
Try: map:parameter name="remoteUser" value="{request:remoteUser}"/
and
declare it as: xsl:param name="remoteUser"/
hope
this helps ... Raffaele
-Ursprngliche Nachricht-Von: [EMAIL PROTECTED]
[mailto:[EMAIL
Hallo Andres
Yesterday I have installed cocoon 2.1.6 and saxonb.8.1.1 under
tomcat-5.0.28.
I need a few tries, but at the end it worked. My recommandation is to follow
the config instructions on http://wiki.apache.org/cocoon/Saxon and to do not
forget to remove the META-INF/service directory in
Hi Phil
Have you tried url(/imgcss/foo.gif)?
Please note that this only works if the imgcss-dir is located directly under
the doc-root. If it's not, as i remember it was located under the xsl-dir,
adjust above absolute path. I.e. if foo.gif resp. its imgcss-dir can be
addressed as follows
Hi Andreas
I you wish to set a new value to a xsl:variable/ saxon may have the
extensions you are looking for.
Saxon offers something like xsl:variable name=posX
saxon:assignable=yes/.
Such a variable can than be reset with saxon:assign name=posX
select=$posX + 1/. I am using saxonb-8.1.1.
HTH
Hi Phil
That has probably to do with the location of the imgcss directory.
It seems that the imgcss dir. is located under the xml dir.
The css url() instruction tries to resolve the imgcss/foo.gif from the
position of the css dir.
And this can not be done, because the imgcss dir. is located
Dear Community
As I understand the JXTemplate-Transfomer it works on the base of
JXTemplate generated by the previous map:generate/.
My question is now: is there any possibility to define the JXTemplate as the
src= of the map:transform/ and having within this JXTemplate access to
the XML data
Dear Cocooners
I am learning Cocoon by translating the doc-input in grafics. Concerning on
how to read from a DB I have initiated the attached PowerPoint grafic. Could
the cocoon experts please review its content and may be complete the missing
'Action/Avalon Component' part (sorry I am not a
-
From: Merico Raffaele [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 12:56 PM
To: '[EMAIL PROTECTED]'
Subject: JXTemplate Transformer
Dear Community
As I understand the JXTemplate-Transfomer it works on the base of
JXTemplate generated by the previous map:generate
Dear Bart
Many thx for the confermation of my misgivings. What a shame! If the
XML-SAXs could be referenced by a JXTemplate-Transformer-Script
invoked by
map:transform type=jx src=myJXTemplate.xml/ it would
be possilbe
to
elimnate one XSLT transformation (a Style-free XSL
Hi Cocooner
Following the doc. I try to access some FOM data.
But I never get any information.
My function looks as follows:
function flowFirst ()
{
var bla =[ + cocoon.request.getAttribute(bla) + ];
var contentType = [ + cocoon.request.getContentType() + ];
Dear community, dear Carsten Ziegler
By reading your doc. on the Authentication Framework I have created a
one-page-graphical-overview covering 60-80% of this theme (see MS Power
Point Attachment). To Carsten and to the community: if you think that this
overview is usable:
- either correct it by
here comes the attachment ...
Raffaele Merico
LESS Informatik AG
Böhnirainstrasse 14
CH-8800 Thalwil
devel-cocoon-auth-fw-overview.ppt
Description: MS-Powerpoint presentation
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Dear Bertrand
First of all, sorry for the long interrput. When I got your email I was in
vacation until today.
2) thanks a lot for your tips
3) Yes, we are willing to share our know how on style-free XSLT style
sheets. I just want to remember, that our contribution has a main focus on
XSLT and
Dear community
I have a story, a solution and a question ... I would be very happy to hear
from any experiences ... thx
The story:
I got the job to reengineer an XML application that used XSL and HTML
respectively FO in the same file. Because of this the application could not
be changed by a
Heinicke [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 26. Juli 2004 13:35
An: [EMAIL PROTECTED]
Betreff: Re: map:generate - servlet - empty session problem
On 21.07.2004 12:53, Merico Raffaele wrote:
Hi
I'm using Cocoon 2.1.5.1 under Tomcat 4.0.4.
I have a servlet tixj.VE2000i does a login
Hi
I'm working with tomcat 5.0.27 and cocoon 2.1.5.1.
I'm using a servlet that generates XML data.
When I call this servlet direct with the browser
(http://wsmer:8080/ve2000ic/v2?action=callSGenericveAction=redirectoutput=
.xml) it produce the expected XML data.
When I call this servlet within a
Hi
I'm using Cocoon 2.1.5.1 under Tomcat 4.0.4.
I have a servlet tixj.VE2000i does a login and starts a session.
When I try to invoke the servlet again to generate some XML data using the
following sitemap it always has an empty session.
map:match pattern=**VersicherterSuchen.html
map:generate
Hi
I'm using Cocoon 2.1.5.1 under Tomcat 4.0.4.
I have a servlet tixj.VE2000i does a login and starts a session.
When I try to invoke the servlet again to generate some XML data using the
following sitemap it always has an empty session.
map:match pattern=**VersicherterSuchen.html
map:generate
84 matches
Mail list logo