Re: cform,flow with dynamically connect to database

2006-02-13 Thread Bertrand Delacretaz
Le 13 févr. 06, à 08:13, zulhisham abu nawar a écrit : ...so my first question here is, can i use esql approach with cform(of course include flow)... You certainly can, but it's not recommended, there are more modern ways of editing database data with CForms. Have a look at either

continuations

2006-02-13 Thread Jan Hoskens
Hi, I have a flow in which I create a form. When this form is displayed, I like to keep the continuation to stay alive for as long as the user is filling in that form (which can take more than one hour, depends on how many times the user is refilling his cup of tea or coffee, and how many

Re: continuations

2006-02-13 Thread Gunter D'Hondt
done that trick also for a few sites but major problem here might consists that the client browser must have javascript enabled (to force the reload of the frame) and it must support frames (which is ugly) or iframes (which is IE only) can't you just always keep the continuations alive; so

Re: continuations

2006-02-13 Thread Jan Hoskens
Gunter D'Hondt wrote: done that trick also for a few sites but major problem here might consists that the client browser must have javascript enabled (to force the reload of the frame) and it must support frames (which is ugly) or iframes (which is IE only) IFrames is a html 4.0 element

Re: continuations

2006-02-13 Thread Fabrizio Sitzia
Hello, I have a flow in which I create a form. When this form is displayed, I like to keep the continuation to stay alive for as long as the user is filling in that form (which can take more than one hour, depends on how many times the user is refilling his cup of tea or coffee, and how many

get values from multivaluefield

2006-02-13 Thread Gunter D'Hondt
I'm trying to get the string array from a multivaluefield widget; so something like getValues() which returns an Object[] instead of the getValue() which returns an Object. Is there a reason why the getValues() is not implemented while the setValues() and setValue() is? MultiValueField myfield

Re: continuations

2006-02-13 Thread Gunter D'Hondt
I don't want my sessions/continuations to have long time-out periods for security reasons. It's ok to have them log in again if their session is timed out after eg a half hour. But then again, when they are editing a form, this might take some time, and the responsibility of keeping this

Re: continuations

2006-02-13 Thread Jan Hoskens
Gunter D'Hondt wrote: I don't want my sessions/continuations to have long time-out periods for security reasons. It's ok to have them log in again if their session is timed out after eg a half hour. But then again, when they are editing a form, this

Using External Javascript in CForms

2006-02-13 Thread Stewart, Gary
Hi there, I've been trying to use an external Javascript in an on-value-changed in a form field def. I have something like: fd:on-value-changed fd:javascript event.source.value = formatDate(event.source.value); /fd:javascript /fd:on-value-changed and I include the function in one of

How to use cocoon servlet only for rendering documents?

2006-02-13 Thread Peter Neu
Hello, I have the use case that I want to combine Cocoon with another framework say Struts. I want to do all the web front end work with Struts and do the rendering of pdf, xml, excel etc with Cocoon. Thus I want pass parameters to the Cocoon servlet and then let cocoon query data from the

Validation block includes in schemas

2006-02-13 Thread Gerrit boers
Hi, I'm having trouble using the validation block (2.1.8) for complicated schema's with multiple includes. Searching for the cause I added a simple include to the sample (schema-ok): xs:include schemaLocation=schema-no.xsd/ This is the error I get: org.w3c.dom.ls.LSException: Exception

How do you make the sendmail action work?

2006-02-13 Thread Brian Maddy
Has anyone gotten the sendmail action to work (http://cocoon.apache.org/2.1/userdocs/optional/sendmail-action.html)? I added the mail.jar and activation.jar libraries in WEB-INF as described here: http://wiki.apache.org/cocoon/RecipeXSPSendMailExample?highlight=%28sendmail%29 and here:

Re: Using External Javascript in CForms

2006-02-13 Thread Robin Wyles
Gary, You can add a reference to the JS file containing your formatDate function in the sitemap... map:flow language=javascript map:script src=flow/date_utils.js/ /map:flow ... or you could include it in one of your existing flowscript files like this ...

XSP Problem

2006-02-13 Thread Derek Harmel
Forgive me as I fairly new to Cocoon and have virtually no experience with Java. Don't worry, I'm not going to ask you to write something for me. Anyway, I have a problem with an XSP that I just cannot figure out. In the code below, if I do not comment out the two 'if statements' and the 'else

Re: How do you make the sendmail action work?

2006-02-13 Thread Bertrand Delacretaz
Le 13 févr. 06, à 16:04, Brian Maddy a écrit : Has anyone gotten the sendmail action to work (http://cocoon.apache.org/2.1/userdocs/optional/sendmail-action.html)? I added the mail.jar and activation.jar libraries in WEB-INF as described here... It's WEB-INF/lib, right? I'm writing stuff

Re: XSP Problem

2006-02-13 Thread John L. Webber
Derek, Try if (handler.length() gt; 0) John Derek Harmel wrote: Forgive me as I fairly new to Cocoon and have virtually no experience with Java. Don't worry, I'm not going to ask you to write something for me. Anyway, I have a problem with an XSP that I just cannot figure out.

RE: a suprise problem

2006-02-13 Thread Schultz, Gary - COMM
I've never heard of a Jira incident. -Original Message- From: Ralph Goers [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 8:56 AM To: users@cocoon.apache.org Subject: Re: a suprise problem What problems did you see? Did you open a Jira incident? Schultz, Gary - COMM wrote:

Re: How do you make the sendmail action work?

2006-02-13 Thread Brian Maddy
Oops, yeah, it's in WEB-INF/lib. That was just a typo. From what I've seen there's a sendmail action (http://cocoon.apache.org/2.1/userdocs/optional/sendmail-action.html) and a sendmail logicsheet (http://cocoon.apache.org/2.1/userdocs/logicsheets/sendmail.html). Is the sendmail

Re: XSP Problem

2006-02-13 Thread Ralph Skulborstad
Derek Harmel wrote: Forgive me as I fairly new to Cocoon and have virtually no experience with Java. Don't worry, I'm not going to ask you to write something for me. Anyway, I have a problem with an XSP that I just cannot figure out. In the code below, if I do not comment out the two 'if

Re: XSP Problem

2006-02-13 Thread Derek Harmel
Ralph, I was using that method you described before and it was causing me problems somewhere, hence why I used the Java method. Anyway, I did change it as you suggested and still got the same exception. Could this have anything to do with me using JDK 1.5? -- Derek Harmel :: Web Programmer

Re: How do you make the sendmail action work?

2006-02-13 Thread Brian Maddy
Well, thanks for the suggestion, but it didn't end up working either. I added this: map:transformers default=xslt map:transformer name=sendmail src=org.apache.cocoon.mail.transformation.SendMailTransformer logger=sitemap.transformer.sendmail/ /map:transformers and:

Cocoon standalone and statistics question

2006-02-13 Thread bokluk
I am running apache as standalone daemon. 1.has this negative issues? 2.how can I get usage statistics (like hits, opened pages, etc.) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Images randomly disappear - cocoon-ehcache-1Cache: Could not read disk store element for key PK_R-resource

2006-02-13 Thread Julien, Heryk
Hi, Im having trouble with images in a Cocoon web site. Images randomly appear and disappear in my web browser when I refresh pages (browser cache has been removed). Furthermore, if I copy/paste the url of a missing image in a web browser, the image is adequately displayed. I keep

Re: a suprise problem

2006-02-13 Thread Ralph Goers
OK. If you look at the community pages under contributing it will talk about the bug tracking system. Unfortunately it still talks about bugzilla. We switched from bugzilla to Jira a few months ago. You can view and create incidents by following this link: