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: http://issues.apache.org/jira/browse

Re: DatabaseSelectAction

2006-02-13 Thread Pasha Minallah
On Sunday 12 February 2006 23:48, Derek Hohls wrote: > > You description here is a little limited, but, I assume > you have sucessfully authenticated a user and have an > ID for them. Yes, that is correct. The user is authenticated using the DatabaseAuthenticatorAction and two variables (sid and

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

2006-02-13 Thread Ard Schrijvers
I don't know where your error comes from...but want to advice you not to use ehcache for images...Do you serve pages directly from cocoon or with mod_cache or squid between? Let them do the image caching. Furthermore, set an expires in your image/css/js readers in cocoon which give them an ex

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

2006-02-13 Thread Julien, Heryk
Hi, I’m 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 h

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 PROTECTED

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: src="org.apache.cocoon.mail.transformation.SendMailTransformer" logger="sitemap.transformer.sendmail"/> and: and then used the transformer from http://codeconsult.

Re: XSP Problem

2006-02-13 Thread Derek Harmel
Update! I guess this problem was due to my lack of knowledge on Java programming. So I guess I learned something today: Casting null to String in Java still results in a null. A real forehead-smacker. Thanks for the help anyway guys. Here is the working code: http://apache.org/xsp"; xml

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: 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 state

Re: How do you make the sendmail action work?

2006-02-13 Thread Bertrand Delacretaz
Le 13 févr. 06, à 16:54, Brian Maddy a écrit : ...Is the sendmail transformer one of those or is it something I haven't found yet?... It's yet another component - there's an example on my weblog at http://codeconsult.ch/bertrand/archives/000571.html. They're all using the same base code IIU

Re: CForms button clicks verses enter in IE

2006-02-13 Thread Archie Cowan
On 2/9/06, Antonio Fiol Bonnín <[EMAIL PROTECTED]> wrote: On the server, where you check whether the "next page" submit widgethas been used (javaflow, flowscript,...), if "no widget" has beenused, you can assume it's "next page", possibly unless you are on the last page, where it means "Finish".I w

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 transformer

Re: XSP Problem

2006-02-13 Thread Derek Harmel
John, Unfortunately, no luck. I think I did try that at one point. -- Derek Harmel :: Web Programmer :: KCI Technologies On 2/13/06, John L. Webber <[EMAIL PROTECTED]> wrote: > Derek, > > Try > if (handler.length() > 0) > > John > > Derek Harmel wrote: > > Forgive me as I fairly new

RE: Using External Javascript in CForms

2006-02-13 Thread Stewart, Gary
> -Original Message- > From: Robin Wyles [mailto:[EMAIL PROTECTED] > > You can add a reference to the JS file containing your formatDate > function in the sitemap... > > > > > > ... or you could include it in one of your existing flowscript files > like this ... Really s

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: XSP Problem

2006-02-13 Thread John L. Webber
Derek, Try if (handler.length() > 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: 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 u

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 s

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... ... or you could include it in one of your existing flowscript files like this ... cocoon.load("flow/date_utils.js"); The advantage I see to declaring it in the sitemap is that

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: http://

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): This is the error I get: org.w3c.dom.ls.LSException: Exception resolving resource null Here's part of th

Re: get values from multivaluefield

2006-02-13 Thread Gunter D'Hondt
sorry my bad; solved with: Object[] myvalues= (Object[]) myfield.getValue(); ... myvalues[i].toString() ... Gunter D'Hondt <[EMAIL PROTECTED]> 13/02/2006 11:31 Please respond to users@cocoon.apache.org To users@cocoon.apache.org cc Subject get values from multivaluefield I'm tryi

Cocoon2.1.8 fails to startup (could not load class ContextInputModule)

2006-02-13 Thread Pelssers, Robby, VF-NL
Hi All, I get following exception when trying to run cocoon (cocoon servlet) on http://localhost:. Other people facing the same problem? How to proceed? Cheers, Robby Pelssers -- Initialization Prob

Re: continuations

2006-02-13 Thread Jan Hoskens
Thanks for pointing that out, Paul! I was already wondering how to get the InterpreterId to look up the continuation, but it's all clear now looking at that action. Kind Regards, Jan Paul Focke wrote: Hi, I have a flow in which I create a form. When this form is displayed, I like

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 databa

Re: continuations

2006-02-13 Thread Paul Focke
> 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 ho

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: event.source.value = formatDate(event.source.value); and I include the function in one of the stylesheets. I get a org.mozilla.javascript.EcmaError: "format

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 mi

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 fo

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 Jan Hoskens
Fabrizio Sitzia wrote: 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

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 ma

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 and

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 sett

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 col

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 bricks-cm