Re: cocoon and svg rasteriser

2003-12-30 Thread Joerg Heinicke
On 15.12.2003 18:12, Tsui, Alban wrote: Hi I am using cocoon 2.0.3. I have a transform to a xml file which contains a xlink to an cocoon pipeline for static images but it does not get rendered into jpeg. http://www.w3.org/1999/xlink"; name="xlink:href">cocoon:///svgdiagram/ So I have a pipelin

Re: absolute path in doesn't work

2003-12-30 Thread Joerg Heinicke
I'm sure it works - at least on Windows I have it working with absolute paths. Are you sure the map:mount is accessed, i.e. the matcher matches (sitemap.log with log level DEBUG)? And why says the error message file:/usr/java/jakarta-tomcat/webapps/cocoon/myexamples/sitemap.xmap instead of some

Re: Problem using chaperon

2003-12-30 Thread Joerg Heinicke
Is it this one: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106704407228169&w=2 or something different? Joerg On 15.12.2003 11:02, David Hello wrote: Hi, I actually use chaperon with cocoon and it worked with 2.1.1 cocoon version. I changed to 2.1.3 version and i have some problem, with

Re: Attempt to output character of integral value 160...

2003-12-30 Thread Joerg Heinicke
On 14.12.2003 16:21, Sarah Haff wrote: Hello All, I am getting the "java.lang.RuntimeException: org.xml.sax.SAXException: Attempt to output character of integral value 160 that is not represented in specified output encoding of ." exception. It's again http://nagoya.apache.org/bugzilla/show_bug.c

Re: Woody: xml binding problem

2003-12-30 Thread Antonio Gallardo
[EMAIL PROTECTED] dijo: > Hi, > > I'm trying to rebuild the form2_bind_xml example for my own situation, but > on running I get an error: > > org.mozilla.javascript.EvaluatorException: > "resource://org/apache/cocoon/woody/flow/javascript/woody2.js", line 192: > Invalid JavaScript value of type org

Woody: xml binding problem

2003-12-30 Thread H . vanderLinden
Hi, I'm trying to rebuild the form2_bind_xml example for my own situation, but on running I get an error: org.mozilla.javascript.EvaluatorException: "resource://org/apache/cocoon/woody/flow/javascript/woody2.js", line 192: Invalid JavaScript value of type org.mozilla.javascript.UniqueTag Can any

RE: how to throw (not propagate) an error?

2003-12-30 Thread Lars Huttar
Never mind, I think I got it... it was actually very easy once I realized that throwing an exception from Java code in an XSP page might not be hard. (Guess I have some Javaphobia. I don't want to get bogged down too much in the underlying details of Cocoon.) Anyway, I merely put the following in

how to throw (not propagate) an error?

2003-12-30 Thread Lars Huttar
Hi all, I'm working on an application that uses user authentication/authorization. Rather than using the Authentication Framework, I'm handling auth/auth myself in the sitemap. When a request is processed, the pipeline that matches the request calls the authorization pipeline. The authorization pi

Re: XSP - escaping

2003-12-30 Thread Jan Wielgus
>This may be just related to extra whitespace in your source:write >"fragment" since it looks like you're writing a whole document and not a >"fragment". Try to get rid of the whitespace between >and . > >If not, it would help if you provide more of the stack trace. Hi again, I've tried your

Logging in flow

2003-12-30 Thread Litrik De Roy
All, Does anybody have any idea how to separate "application logging" (application related messages that I log using cocoon.log.debug()) and "flow management logging" (messages about the management of continuations automatically generated by the flow layer/framework)? PS: I've seen some older

Re: XSP - escaping

2003-12-30 Thread Geoff Howard
Jan Wielgus wrote: Hello, I have the following problem: I am using a textarea to submit some content which then is written to an xml file with source writing transformer. The problem is, I want the "<" and ">" characters not to be replaced with "<" and ">" I am working with XSP and the I pass th

Fw: RE: concatenate two pipelines (was on dev list: Re: Running Schematron validation from flow)

2003-12-30 Thread Sebastian Klamar
Peter didn't see my cross post with the Follow-Up, so I'm forwarding his answer from dev list: - Forwarded message from "Hunsberger, Peter" <[EMAIL PROTECTED]> - > From: "Hunsberger, Peter" <[EMAIL PROTECTED]> > Subject: RE: concatenate two pipelines (was on dev list: Re: Running Schematro

XSP - escaping

2003-12-30 Thread Jan Wielgus
Hello, I have the following problem: I am using a textarea to submit some content which then is written to an xml file with source writing transformer. The problem is, I want the "<" and ">" characters not to be replaced with "<" and ">" I am working with XSP and the I pass the content from the

Re: problem with logs

2003-12-30 Thread Flavio Palumbo
I choose the second way and it works perfectly. thanks a lot Flavio >-- Original Message -- >Reply-To: [EMAIL PROTECTED] >Date: Tue, 30 Dec 2003 10:18:18 +0100 >From: Stephan Coboos <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: problem with logs > > >[1. solution] You have to do 2 ste

RE: How to get XML into session?

2003-12-30 Thread H . vanderLinden
Hi, Sorry for not reporting back, but I finally managed to do something similar with the session transformer. I'll save this for future reference, because my solution might not be the best one. Thanks and bye, Helma > -Original Message- > From: Sebastian Klamar > [mailto:[EMAIL PROTECTE

RE: Problem getting woody to properly build a selection widget

2003-12-30 Thread H . vanderLinden
Ha, that was it! Thanks I must have looked at both form-template.xml and my form-definition about a dozen times without noticing. :-( Bye, Helma > -Original Message- > From: Antonio Gallardo [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 30 December 2003 13:25 > To: [EMAIL PROTECTED] >

concatenate two pipelines (was on dev list: Re: Running Schematron validation from flow)

2003-12-30 Thread Sebastian Klamar
* Hunsberger, Peter [2003-12-29 21:45 +0100] wrote: > Ok, figured this out: don't use copy, use processPipelineTo and use the > xmodule as the target... So far so good, except I'm not seeing the > result in the request attribute after I've written it. > > I might note that if this works we've s

Re: How to get XML into session?

2003-12-30 Thread Sebastian Klamar
* [EMAIL PROTECTED] [2003-12-29 17:06 +0100] wrote: > >label="debug1"> > > > > > > > I want to put the resulting XML into a session attribute. I'm currently using the WriteDOMSessionTransformer for this purpose. All you need is a valid session (the tr

RE: Problem getting woody to properly build a selection widget

2003-12-30 Thread Antonio Gallardo
[EMAIL PROTECTED] dijo: wd:selection-list need to be outside the > > Geslacht > change to: > > > Man >

RE: Problem getting woody to properly build a selection widget

2003-12-30 Thread H . vanderLinden
Hi, > > I then added the sitemap pipelines and .js script from the > original form1 > > example, modified the source location to use the original > files and it still > > works. > > > > hoeray! > (I take it you forgot the negation in that last sentence :-)) Oops, I didn't make myself clear e

RE: How to compile an action?

2003-12-30 Thread Matthew Langham
>> I've added to the classpath the WEB-INF\lib dir that contains the jar files, but i really don't know how to add jar files fo classpath. Yes, i could add them manually, but i would like to know if it's possible to add to the classpath all jar files in the dir automatically. << You need to add ea

[CForms] work after load data?

2003-12-30 Thread Antonio Gallardo
Hi: How I can change a value after load values into a form using the binding framework? Similar as the car-selection example I need to filter values displayed on a second combobox based on the loaded selection value of the first combo. In edit mode the form has to load data, then I need to filter

RE : Performing actions

2003-12-30 Thread Olivier RICHAUD
Ralph, I think your approach could meet my requirements, in the sense it seems to easily separate business and presentation. Where could I learn more on your approach? I have a small knowledge of Cocoon and have only developped XSP pages and sitemaps. Thanks. Olivier. -Message d'origine---

RE: How to compile an action?

2003-12-30 Thread Davide
ok thanks a lot. I found that explanation. But my problem is another, because i'm a real beginner... I've added to the classpath the WEB-INF\lib dir that contains the jar files, but i really don't know how to add jar files fo classpath. Yes, i could add them manually, but i would like to know if

Re: Problem getting woody to properly build a selection widget

2003-12-30 Thread Marc Portier
[EMAIL PROTECTED] wrote: Hi, I'm trying to implement a simple form (no validation yet) which has one selection list widget (gender: values Female, Male, Unknown). I want to have this displayed as radiobuttons, but it fails to do so. I've copy/paste/modify the form1 example but the selection lis

RE: How to compile an action?

2003-12-30 Thread Matthew Langham
Hi Davide,   page 244 of the book details the steps to build your component. You will need to add the jar files from the Cocoon lib directory to your classpath. Or use an IDE that does that for you (like Eclipse).   Best regards   Matthew Langham -Original Message-From: Davide

How to compile an action?

2003-12-30 Thread Davide
Hi,  im'reading the Langham, Ziegler book and i'm trying to compile the first action: package cxa.acting; import org.apache.avalon.framework.activity.Initializable; import org.apache.avalon.framework.thread.ThreadSafe; import org.apache.avalon.framework.logger.AbstractLoggable; import org.apache.

i18n-bundles in cocoon.xconf????

2003-12-30 Thread Stephan Coboos
Hello, what about the i18n-bundles Element in cocoon.xconf? messages context://samples/i18n/translations true Why is this setted here? Overwrites this setting the setting in my sitemap? How to configure here more than one message catalogs with different basenames? This entry is c

Problem getting woody to properly build a selection widget

2003-12-30 Thread H . vanderLinden
Hi, I'm trying to implement a simple form (no validation yet) which has one selection list widget (gender: values Female, Male, Unknown). I want to have this displayed as radiobuttons, but it fails to do so. I've copy/paste/modify the form1 example but the selection list is not copied into the re

Re: problem with logs

2003-12-30 Thread Stephan Coboos
[1. solution] You have to do 2 steps: 1.) Give your action a name in the sitemap using the logger="" attribute. For example "myAction". 2.) Register this logger-name in logkit.conf by creating this two entries: ... ... ... and ... ${context-root}/WEB-INF/logs

Problems using I18n Transformer

2003-12-30 Thread Stephan Coboos
Hello, I want to use the I18n Transformer and therefore I had it registered in the sitemap like: true In the pipeline I had placed the following fragment: And in the same folder, the sitemap is situated,

problem with logs

2003-12-30 Thread flavio . palumbo
Hi all, i wrote a little action in which i send messages using getLogger().debug(..) or getLogger().error(..) or getLogger().warn(..) ; the question is where can i find the messages sent ? I need to switch some parameters to activate loggers ? May i redirect messages to my own log file ? many tha

Re: JX node not showing

2003-12-30 Thread Upayavira
Christopher Oliver wrote: You're missing a closing "}" in the forEach: How embarassing. I'd tried it in three different situations, and must have copied the code each time with the error :-( Next problem was I was looking for title, when I'd renamed it titlex. How can I have spent two weeks s