Re: parameters passing sitemap - > flow - > jx

2006-06-13 Thread christian bindeballe
Hello Ard! Thanks for your reply, I will try to explain, but first > a) is the correct one. Just use in flowscript a simple print() statement and > you would see that this was a working one a question of a stupid person: you mean print(param);? or is it more difficult than that? e.g.: System.ou

RE: For-each in sitemap?

2006-06-13 Thread Ard Schrijvers
> Hello Jeroen, > > Thanks for your help. As I understand your suggestion, the > idea is to > generate a document with the (C)Include elements required, and then > include the dynamically created list of documents with an include > transformation. I assume I can replace the JX-template wit

Re: Encoding from flowscript to component

2006-06-13 Thread Sébastien Chauvin
I mean the problem occurs in my component but i don't think it is because of my component. I think that the bean is already "corrupted" when my component receives it because my component method does nothing except getting an attribute value from the bean. I already wrote multiple components that

Serving cforms resources statically?

2006-06-13 Thread Fernando.Matomira
Hello,     I have a problem, as out Tomcat is fronted by Apache and we have a lot of this badly designed JkUnmount rules which serve all the .js, .gif, etc. statically without calling the servlet container.   Is there any practical way to extract all this content to a filesystem locatio

RE: Encoding from flowscript to component

2006-06-13 Thread Ard Schrijvers
> I mean the problem occurs in my component but i don't think it is > because of my component. > I think that the bean is already "corrupted" when my > component receives > it because my component method does nothing except getting an > attribute > value from the bean. > I already wrote multi

Auth-Framework: cookie/P3P issues with IE 6

2006-06-13 Thread Michael Wirz
Hello Cocoon Users, we recently encountered problems when using IE6 and the auth framework. If IE is set to be very restrictive considering security, it does not accept the cookie set on login. There exist client side solutions in releasing the security settings in IE. A server side solution could

Re: For-each in sitemap?

2006-06-13 Thread Sjur Moshagen
Den 13. jun. 2006 kl. 11.14 skrev Ard Schrijvers: The include transformer can handle all your defined source- factories (in your cocoon:xconf), because it uses org.apache.cocoon.components.source.SourceUtil or org.apache.cocoon.environment.SourceResolver. So, use cocoon:// or repository://

Re: source-writing - then redirect?

2006-06-13 Thread christian bindeballe
I just discovered something to be careful with. The URI I call is not matched within the current sitemap but in a mounted sub-sitemap. but the call of cocoon.sendPage("URI in subsitemap", {}; leaves me in the directory of the sitemap that I am calling the uri from. since the URI that I call also is

RE: Flowscript and Sitemap Logic

2006-06-13 Thread Seth Foss
What are you trying to do Pasha? Often there is a way around what is "impossible." -Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED] Sent: Monday, June 12, 2006 11:51 PM To: users@cocoon.apache.org Subject: Re: Flowscript and Sitemap Logic Pasha Minallah escribió: > H

RE: Serving cforms resources statically?

2006-06-13 Thread Fernando.Matomira
Well, I got it working by putting the resources directories I need under a top-level directory ‘resources’, and renaming them to ‘forms’, ‘ajax’, etc. I then mapped the resources-uri to “/contextname/resources”.   Of course, every time there is a Cocoon release I will have to copy and r

FW: Regarding i18n transformation

2006-06-13 Thread Jagadeeswaran_Krishnan
    Hi   We are using Cocoon 2.1(Web publishing Framework) We have some problem in getting the i18n content in pages. If we hardcode the key value like for instance, home then the translated value is getting printed, But if we give the key from xsl variable, it’s not comi

RE: Regarding i18n transformation

2006-06-13 Thread Ard Schrijvers
Some more info might be useful, but it should of course just work. But I really think you have a type somewhere. Could you verify the following for me: 1) You have your xml file ("pre-xsl.xml") without the xsl transformation, and do the i18n transform ---> it works 2) You have your xml from t

Cocoon sibling servlets not logging

2006-06-13 Thread Fernando.Matomira
I have a context with Cocoon setup as a sibling of a couple of regular servlets. These servlets used to have their own log4j configuration file before the Cocoon stuff was added, but now the log4j configuration file pointed to in the web.xml is the one which was built for the Cocoon stuff

Re: Encoding from flowscript to component

2006-06-13 Thread Sébastien Chauvin
Well for the moment we don't have the time to test it with another Coccon version. Ard Schrijvers wrote: I mean the problem occurs in my component but i don't think it is because of my component. I think that the bean is already "corrupted" when my component receives it because my component

From WrapperResponse to HttpResponse

2006-06-13 Thread Angelo Immediata
Hi all. I'm using cocoon 2.1.7. I'm using the portal block. I have some links where the user must download some files. I want to set the output stream in the response; in order to do this i have used this code in my flow script: var respo = cocoon.response; respo.setContentType("application/down

Re: From WrapperResponse to HttpResponse

2006-06-13 Thread christian bindeballe
hi angelo, For getting files to users without having the framework "interfere" with them in any way, try a reader. As described here: http://cocoon.apache.org/2.1/userdocs/readers.html there are other readers than just source-readers, for passing images, for example.. HTH, christian ---

adding an SVG element to xhtml

2006-06-13 Thread 321los
Hi,when generating a pdf in which I want to include an SVG element, I can do it like that:                 http://www.w3.org/2000/svg" width="150px" height="177px" viewBox="0 0 150 177"                                                                     xml:space="preserve">              

Passing XML to webservice?

2006-06-13 Thread Antony Grinyer
Hi,   In the sitemap, how do you pass the XML produced from a transformer onto an external web service:       SEND TO WEBSERVICE HERE!   Many thanks in advance, Ant

Failure on sending email using Flow.

2006-06-13 Thread Edward Elhauge
Hi, I have a problem that is stumping me. I've created a class to send canned email messages; it uses the Sun mail.jar, Debian Linux, Cocoon 2.1.8, and the Jetty AppServer. I can use this class in a stand alone mode and get mail sent out (this is true whether I'm running as myself or as the cocoon

Re: Failure on sending email using Flow.

2006-06-13 Thread Jason Johnston
Edward Elhauge wrote: Hi, I have a problem that is stumping me. I've created a class to send canned email messages; it uses the Sun mail.jar, Debian Linux, Cocoon 2.1.8, and the Jetty AppServer. I can use this class in a stand alone mode and get mail sent out (this is true whether I'm running as

RE: adding an SVG element to xhtml

2006-06-13 Thread Björn Boxstart
Hello Marco, What you are trying to do is to create inline SVG in an HTML page like you would do in XSL-FO files. This is possible, but your solution would need a different approach per browser. However, I think that it would be a much easier solution to create one more page that just creates th

Re: adding an SVG element to xhtml

2006-06-13 Thread Derek Hohls
Marco I have been able to use SVG in XHTML (and displayed in Firefox, not IE) by leaving off the wrapper tags and simply using the normal tags. HTH Derek >>> [EMAIL PROTECTED] 2006/06/13 06:01 PM >>> Hi, when generating a pdf in which I want to include an SVG element, I can do it like t

RE: adding an SVG element to xhtml

2006-06-13 Thread Derek Hohls
Hmm. I have never been able to get the tag to work in Firefox. Please let us know how this is done. As a sidenote; working with SVG across multiple types of browsers is, unfortunately, quite problematic at present. Best to apply it in a situation where you know what the end users software i