Re: Applet Servlet communication

2007-01-26 Thread Carlos Maté
Hi. I can return a string from cocoon but I have problems with special characters. If I send á or ñ I receive ? I`ve tried to specify ISO-8859-1 in the text serializer but It doesn't run. Thanks. Carlos Maté wrote: Hi, My applet expects a string as an answer. In the sitemap I want to call a

A slash after a parameter in a tag causes the tag to be dropped.

2007-01-26 Thread Antonio Magni
I make use of parameters generated from a sitemap from the .xsl file. The parameter {$root} gets subistitued without any problems in my tag. But if I add a slash after the parameter (as in ) the xsl drops the entire tag, and in my resulting .html page, I lose my link. Please note that when I

Re: using on a jx page

2007-01-26 Thread Jeroen Reijn
Sven, you can change the logkit.xconf and add the set the logger for your transformer to debug. Let's say for instance that you would have the transformer defined in your sitemap like this: src="org.apache.cocoon.transformation.SQLTransformer" logger="sitemap.transformer.sql"/>

Re: [2.2 trunk] Problem with CForms Bean Binding Example

2007-01-26 Thread Grzegorz Kossakowski
Wotan von Klass napisał(a): > Hello, > I have a problem with the Bean Binding example. When I click the > submit button, the form is loaded again. But I should get in the > "form2bean-success-pipeline" and see data extracted from the bean. > Any thoughts? > Are the 2.2 CForms allready stable? > Due

Re: A slash after a parameter in a tag causes the tag to be dropped.

2007-01-26 Thread Jeroen Reijn
Hi Antonio, I'm not sure what's going on, but this seems to be a problem with your link. What does it look like when you print it out on the page instead of inside the href attribute of your webpage. Your parameter looks fine, so I guess the problem lies somewhere else. Regards, Jeroen Reij

CForms components for 2.1.9

2007-01-26 Thread Gary Larsen
I'm keep getting more confused upgrading cforms to 2.1.9. I know a lot of work went into ajax and I want to use that soon but I can't figure out all the components. First the onChange event is not working as forms_submitForm() is now oldforms_submitForm() in forms-lib.js. I found a forms_submitF

Re: CForms components for 2.1.9

2007-01-26 Thread Grzegorz Kossakowski
Gary Larsen napisał(a): > I'm keep getting more confused upgrading cforms to 2.1.9. I know a lot of > work went into ajax and I want to use that soon but I can't figure out all > the components. > > First the onChange event is not working as forms_submitForm() is now > oldforms_submitForm() in for

RE: CForms components for 2.1.9

2007-01-26 Thread Gary Larsen
Hi Grzegorz, > Jeremy Quinn (who has done great amount of dojofing Forms recently) > explained where Dojo resources are stored: > http://article.gmane.org/gmane.text.xml.cocoon.devel/69692 Thanks for the pointer. It seems that the ajax-block jar in 2.1.9 does not contain dojo.js. I can't upgrad

upload and character encoding with cforms

2007-01-26 Thread Sébastien Geindre
Hi cocooners ! I'va a little pb with upload widget and encoding. Explanations: i use upload widget in a form to upload ( ;-) , it sounds good!) an file which is an XML file XML file example : in my flowscript, i try to handle the xml stream and give it to a cocoon pipe. i use the fol

Re: CForms components for 2.1.9

2007-01-26 Thread Grzegorz Kossakowski
Gary Larsen napisał(a): > Hi Grzegorz, > > >> Jeremy Quinn (who has done great amount of dojofing Forms recently) >> explained where Dojo resources are stored: >> http://article.gmane.org/gmane.text.xml.cocoon.devel/69692 >> > > Thanks for the pointer. It seems that the ajax-block jar in 2

Re: A slash after a parameter in a tag causes the tag to be dropped.

2007-01-26 Thread Thomas Markus
Hi, if you use lenya (looks like) then try use html serializer instead of xhtml in your publication-sitemap thomas Antonio Magni schrieb: I make use of parameters generated from a sitemap value="{page-envelope:context-prefix}/{2}/{3}"/> from the .xsl file. The parameter {$root} gets subis

RE: CForms components for 2.1.9

2007-01-26 Thread Gary Larsen
I guess what's confusing me now are the script files. In the .9 dist, stylesheets reference files that don't exist (dojo.js) or files that are in another block (cocoon.js). There is a common.js but I can't find any references to it anywhere but is does contain a forms_submitForm() but doesn't s

Re: output

2007-01-26 Thread Steven D. Majewski
I still haven't been able to find this. I do testing/debugging on Mac OSX laptop: I put a distinctive string in my and grepped all thru the cocoon logs, the system and console logs and anywhere else I could find. Does anyone know were to look on OSX ? -- Steve. On Jan 24, 2007, at 2:21 A

flow param to xslt transform

2007-01-26 Thread Steven D. Majewski
I take it that since XSLT transformer is not listed as being 'flowscript-aware', that to pass a param from flowscript to XSLT, I need to either: [1] use use-request-parameters: > and append the params to the URI as request params in my sendPage call. [2] Set the par

Re: flow param to xslt transform

2007-01-26 Thread Jeroen Reijn
Hi Steven, Steven D. Majewski wrote: I take it that since XSLT transformer is not listed as being 'flowscript-aware', that to pass a param from flowscript to XSLT, I need to either: [1] use use-request-parameters: /> and append the params to the URI as request params in m

Re: flow param to xslt transform

2007-01-26 Thread Mark Lundquist
On Jan 26, 2007, at 9:44 AM, Steven D. Majewski wrote: [1] use use-request-parameters: /> and append the params to the URI as request params in my sendPage call. That sucks and is evil, don't do it :-/ [2] Set the parameters in the sitemap using {flow-attr:param}

Re: output

2007-01-26 Thread Mark Lundquist
On Jan 26, 2007, at 9:26 AM, Steven D. Majewski wrote: I do testing/debugging on Mac OSX laptop: Me too :-) I put a distinctive string in my and grepped all thru the cocoon logs, the system and console logs and anywhere else I could find. Does anyone know were to look on OSX ? It's jus

Re: output

2007-01-26 Thread Steven D. Majewski
On Jan 26, 2007, at 12:52 PM, Mark Lundquist wrote: On Jan 26, 2007, at 9:26 AM, Steven D. Majewski wrote: I do testing/debugging on Mac OSX laptop: Me too :-) I put a distinctive string in my and grepped all thru the cocoon logs, the system and console logs and anywhere else I could

Redirect bug WITHIN sub-sitemap WHEN using uri-prefix

2007-01-26 Thread Robert Hoffmann
Hi cocoon users, I found the following problem with redirects within sub-sitemaps WHEN using the uri-prefix in map:mount... Did anyone ran into this too? I provided a detailed but simple test case below: Test case: 0) Sitemaps: Root sitemap >> ... uri-prefix="test" /> ...

parameters for wsproxy, or generators in general

2007-01-26 Thread Lars Huttar
Hello, The doc page for Web Services Proxy, http://cocoon.apache.org/2.1/userdocs/wsproxy-generator.html, says "If the remote site requires authentication, then the developer of the local web site has to pass the user credentials as parameters to the WebServiceProxyGenerator." I've searche