Re: Implementing JFreeChart through cocoon???and batik(dynamically generatedgraph) through cocoon???

2006-02-14 Thread Bertrand Delacretaz
Le 15 févr. 06, à 06:05, [EMAIL PROTECTED] a écrit : ...I want to implement dynamically generated JFreeChart throug cocoon.can any body help me and send me one sample codes for that. .. Have a look at Fins: http://new.cocoondev.org/main/117/29.html -Bertrand smime.p7s Description: S/MIME cry

Implementing JFreeChart through cocoon???and batik(dynamically generatedgraph) through cocoon???

2006-02-14 Thread subhajit . gh
I want to implement dynamically generated JFreeChart throug cocoon.can any body help me and send me one sample codes for that. I also want to implements different kinds of dynamic charts through cocoon.Chart should be generated taking dynamically data from xml to generate html pages.Unable to do

Dynamically generating arabic texts with svg2png serializer

2006-02-14 Thread Fred Vos
Hello, Last september I started a course in Arabic language. Now I want to present Arabic texts on a website, using Cocoon. Normal Arabic text is supported in both Mozilla and Konqueror under Linux without a problem. Using entity encoded unicode strings like بحر , browsers will present Arabic char

RE: [CFORMS] required fields error translation

2006-02-14 Thread Bruyn Bill
Title: Message Bingo!  Switching the order of the transforms seems to have done the trick.  For clarification, the matcher in question now reads:                                                           Thank you!   -Original Mes

RE: [CFORMS] required fields error translation

2006-02-14 Thread Jason Johnston
Are all of the forms-related messages untranslated (e.g. datatype validation), or is it just the general.field-required message that is failing? If it's the former then it points to a configuration problem, if the latter then it sounds like something more insidious. > Thanks, Jason. Yeah, I hav

Re: [CFORMS] required fields error translation

2006-02-14 Thread Simone Gianni
Hi Jason, not sure about that, i haven't tested it for a while, but i usually put the i18n transformer before the actualy cform xsl. This is because cforms xsl does Could you give it a try and tell us if it works correctly moving the i18n transformer after the ? Simone Gianni Jason Johnsto

RE: [CFORMS] required fields error translation

2006-02-14 Thread Bruyn Bill
Thanks, Jason. Yeah, I have that defined just as you've written it there. > -Original Message- > From: Jason Johnston [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 14, 2006 11:15 AM > To: users@cocoon.apache.org > Subject: Re: [CFORMS] required fields error translation > > > > Fo

Re: cocoon&hibernate tutorial

2006-02-14 Thread Laurent Perez
> PersistenceFactory.java:8: package net.sf.hibernate does not exist > public net.sf.hibernate.Session createSession(); net.sf.* is for hibernate2, if you use hibernate3 it's org.hibernate.* laurent -- http://in-pocket.blogspot.com";>http://in-pocket.blogspot.com - Mobile world, technol

Re: [CFORMS] required fields error translation

2006-02-14 Thread Jason Johnston
> For the life of me, I can't figure out how to translate the i18n error > messages for required fields... I did find this thread that reports a > bug that should be fixed by now (I'm on Cocoon 2.1.8): > http://java2.5341.com/msg/97625.html > > Can anyone confirm that this was indeed fixed? > > If

[CFORMS] required fields error translation

2006-02-14 Thread Bruyn Bill
For the life of me, I can't figure out how to translate the i18n error messages for required fields... I did find this thread that reports a bug that should be fixed by now (I'm on Cocoon 2.1.8): http://java2.5341.com/msg/97625.html Can anyone confirm that this was indeed fixed? If so, then I su

Re: HOWTO: JSP ignore xpath expressions

2006-02-14 Thread Dustin N. Jenkins
It seems that it's just the continuation that causes the problem. I submit my forms using ${cocoon.request.getServletPath()}/#{$continuation/id}.kont and the JSP was trying to evaluate the continuation/id since the '$' was inside the curly brace, a JSP 2.0 specification thing for evaluating xp

Re: CForms: textarea widget?

2006-02-14 Thread Paul Focke
[EMAIL PROTECTED] wrote: > How does one set the size of the textarea and the wrapping mode? You can set all kinds of attributes for a html element using fi:styling In your case for example: you can also go ahead and add other attributes > > Thanks > > -Original Message- > From

Re:

2006-02-14 Thread Ben Anderson
On 2/14/06, Ben Anderson <[EMAIL PROTECTED]> wrote: > Hi, > I'm need to iterate over a map and have access to both the keys and > values. I was hoping for something like like: > > > > > This doesn't work. What I've found is that the variable p actually > has the value in it.

Re:

2006-02-14 Thread Paul Focke
Ben Anderson wrote: > Hi, > I'm need to iterate over a map and have access to both the keys and > values. I was hoping for something like like: > > > > > This doesn't work. What I've found is that the variable p actually > has the value in it. > > So, instead of java.util.M

users@cocoon.apache.org

2006-02-14 Thread Ben Anderson
Hi, I'm need to iterate over a map and have access to both the keys and values. I was hoping for something like like: This doesn't work. What I've found is that the variable p actually has the value in it. So, instead of java.util.Map.entrySet().iterator() being called to d

HOWTO: JSP ignore xpath expressions

2006-02-14 Thread Dustin N. Jenkins
I'm using Cocoon 2.1.7. My JSPs are trying to evaluate my xpath expressions, but I need them to ignore it and just spit it out with the XML output in the end. Is there a simple way of doing this? Many thanks, Dustin -- Dustin N. Jenkins Application Developer AlarmPoint Inc. - Guaranteed Even

RE: CForms: textarea widget?

2006-02-14 Thread Fernando.Matomira
How does one set the size of the textarea and the wrapping mode? Thanks -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 2:26 PM To: users@cocoon.apache.org Subject: Re: CForms: textarea widget? or PS I have downloaded the enti

Re: CForms Javascript Validation

2006-02-14 Thread Kris Schneider
On 2/14/06, Stewart, Gary <[EMAIL PROTECTED]> wrote: > Hello, > > I'm using Cocoon 2.1.8 and attempting to develop a few CForms. I've been > working on validating the forms and for some widgets I'm attempting to use > Javascript but it doesn't seem to be working. I looked at the sample files > a

Re: CForms Javascript Validation

2006-02-14 Thread Robin Wyles
Like this... Foo: return yourValidationMethod(widget); The JS you use for validation must return true/false depending on the validation success. There are samples of custom validation with JS in th

Re: cforms pb with fd:on-value-changed

2006-02-14 Thread Myriam Delperier
Simone Gianni wrote: | | Hi Myriam, | | yes, the fd;on-value-changed is the right way to do it. | | | | The typical case is the state/region/province/town selections, where | | selecting a state must populate the regions dropdown with the right | | regions and so on. This is done with an fd:on-val

Re: cforms pb with fd:on-value-changed

2006-02-14 Thread Simone Gianni
Hi Myriam, yes, the fd;on-value-changed is the right way to do it. The typical case is the state/region/province/town selections, where selecting a state must populate the regions dropdown with the right regions and so on. This is done with an fd:on-value-changed listener that populates the ot

Re: cforms pb with fd:on-value-changed

2006-02-14 Thread Myriam Delperier
Simone Gianni wrote: | | Hi Myriam, | | the fd:on-value-changed is a SERVER SIDE event handler. So it's | | triggered when the form is submitted by the browser. You can force | | the browser to submit the form whenever a given widget value is | | changed | | using the in the form | | template (

CForms Javascript Validation

2006-02-14 Thread Stewart, Gary
Hello, I'm using Cocoon 2.1.8 and attempting to develop a few CForms. I've been working on validating the forms and for some widgets I'm attempting to use Javascript but it doesn't seem to be working. I looked at the sample files and could only find Javascript validation for the whole form. Is

Re: cforms pb with fd:on-value-changed

2006-02-14 Thread Simone Gianni
Hi Myriam, the fd:on-value-changed is a SERVER SIDE event handler. So it's triggered when the form is submitted by the browser. You can force the browser to submit the form whenever a given widget value is changed using the in the form template (it should do this automatically if there is a l

Re: cforms pb with fd:on-value-changed

2006-02-14 Thread Myriam Delperier
| | even if i change the value of my list, nothing is printed and the | | value of the other list isn't changed. | | I think the javascript isn't read. | | in fact the print is done once the form is submited, is it normal? - T

Re: i18n inside attribute

2006-02-14 Thread Simone Gianni
Hi Gunter, no, the namespace should not be an issue in this case. It would have been if you had a wd:something attribute. Maybe woody is parsing the wd:item before the i18n transformer does, and woody removes the i18n:attr and/or transforms the wd:item to something else. Try to see what arri

cforms pb with fd:on-value-changed

2006-02-14 Thread Myriam Delperier
hello, I'm working this cforms. My forms are OK except for one thing :fd:on-value-changed : key="dossier.type"/> java.lang.System.err.println("Was here!"); java.lang.System.out.println("Was here!"); print("was here"); var datatype = event.source; var

Validation block schema include problem

2006-02-14 Thread Gerrit Boers
Hello again, To rule out problems with the complexity of HL7 schemas I resolved the includes manually (copy and paste). The resulting xsd is 20457 lines !! The ValidationReportTransfomer has no problem handling this! It seems that the problem is definitly the xs:include. Is there something

Re: cocoon&hibernate tutorial

2006-02-14 Thread Thomas Lutz
sorry for the noise, rereading your post, I think i replied too short. you have to include the avalon jars in your build path. this is hast to be done in your ide and in your build file. so search for configure build path in your ide, adapt my build.xml to your ant script, or use the classpath

Re: cocoon&hibernate tutorial

2006-02-14 Thread Thomas Lutz
this is a part of my build file which should fit your needs, too. (it's a bit too much, as i use javaflow, just comment the not needed jars) destdir="${build.server.war.ant.dir}" debug="on"> location="${lib.dir}/cocoon/avalon-framework-api-4.3.jar"/

cocoon&hibernate tutorial

2006-02-14 Thread zulhisham abu nawar
hi.. now i'm in process to get hibernate and cocoon run together...i found some documentation at wiki. I try to follow cocoon and hibernate tutorial. I've problem when i try to compile PersistenceFactory.java and HibernateFactory.java the errors: javac PersistenceFactory.java PersistenceFactory.ja

i18n inside attribute

2006-02-14 Thread Gunter D'Hondt
I'm trying to add an i18n text inside the attribute of a woody tag; it works fine for the label tag using the standard i18n:text but it doesn't work when using i18n:attr. Is this becourse the tag (wd:item) is inside a namespace (wd)? Regards, Gunter D'Hondt form definition snippet: http://ap