Re: Installing

2007-02-27 Thread Bertrand Delacretaz
On 2/27/07, Schmitz, Jeffrey A <[EMAIL PROTECTED]> wrote: ...it doesn't like the space in my JAVA_HOME environment variable path(C:\Program Files\Java\jdk1.5.0_07). How can I get around this?... Scrap the space, install java elsewhere...many java and cross-platform programs will act funnily wh

RE: Installing

2007-02-27 Thread Marc Driftmeyer
when you're at the C:\>java -version does this return back the version or is their a console error? Suggestion: Update to jdk1.5.0_11 http://java.sun.com/j2se/1.5.0/install-windows.html To avoid space issues I'd create a separate Java folder under C:\>Java and reference your path variables from

RE: Installing

2007-02-27 Thread Schmitz, Jeffrey A
OK, I got past that problem, but now it doesn't like the space in my JAVA_HOME environment variable path(C:\Program Files\Java\jdk1.5.0_07). How can I get around this? Thanks, Jeff -Original Message- From: Schmitz, Jeffrey A Sent: Tuesday, February 27, 2007 4:28 PM To: users@cocoon.apac

Installing

2007-02-27 Thread Schmitz, Jeffrey A
OK, I tried following the "Don't worry - this is really easy if you follow the instructions in the INSTALL.txt file" (see below) process to build the latest version of Cocoon on Windows XP. However, when I get to step three below, I don't know where to execute the "build" command from. I tried

Re: Authentication Framework and database

2007-02-27 Thread J.D. Williams
Thought it might be some whitespace from careless XSL writing, but I got rid of the superfluous whitespace (I think) and still no luck. I could use another set of eyes on this to help me see what I am missing. The login page is the one from the authentication framework sample in 2.1.9 The only c

Re: Ajax form reloading problem

2007-02-27 Thread Andrew Madu
Hi Grzegorz, Why do you have tag on the beginning of this file? Do you generate it? If so, maybe this is what confuses the browser? I have removed this tag but it makes no difference to the functionality of the page. If xhtml and/or the body tag has the specified onload event, mentioned in

Re: Multiple regular expresion validation

2007-02-27 Thread Grzegorz Kossakowski
Manuel Mata napisał(a): But i cant use the xi:include. It should be a nice feature to define widgets individually and use in forms referencing them. You can do this and even much more than simple inclusion, see: http://cocoon.apache.org/2.1/userdocs/formlibraries.html -- Grzegorz Kossakowski

Re: Multiple regular expresion validation

2007-02-27 Thread Manuel Mata
Yeah it works. I should read some about RE ... But i cant use the xi:include. It should be a nice feature to define widgets individually and use in forms referencing them. See ya. --- Gajo Csaba <[EMAIL PROTECTED]> escribió: > Manual, can't you just change your first regular > expression to s

RE: Creating pipeline with aggregate?

2007-02-27 Thread Schmitz, Jeffrey A
THANK YOU, One of those cases where I could have looked at it all day and not seen it. Jeff -Original Message- From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 11:10 AM To: users@cocoon.apache.org Subject: Re: Creating pipeline with aggregate? Schm

Re: Creating pipeline with aggregate?

2007-02-27 Thread Grzegorz Kossakowski
Schmitz, Jeffrey A napisał(a): Hello, I'm trying to create a pipeline with an aggregate, and I must be doing something wrong in the syntax that I just can't see. Below are my sitemap definitions, and when the second map:part isn't specified in the map:aggregate element, everything works fin

Re: Multiple regular expresion validation

2007-02-27 Thread Gajo Csaba
Manual, can't you just change your first regular expression to something like this? ([0-9](9))|([0-9](3) [0-9](3) [0-9](3))|([0-9](3) [0-9](2) [0-9](2)) Csaba On Tue, 27 Feb 2007 17:52:06 +0100, Manuel Mata <[EMAIL PROTECTED]> wrote: Hi all. I have this widget definition and a surely wi

Re: Ajax form reloading problem

2007-02-27 Thread Grzegorz Kossakowski
Andrew Madu napisał(a): Hi Grzegorz, as requested I have included snippets from my sitemap plus various other related files. html_rendered_page_snippet (login_view_source.html): I have attached this document to the email. This document contains the complete source as viewed in the browser.

Creating pipeline with aggregate?

2007-02-27 Thread Schmitz, Jeffrey A
Hello, I'm trying to create a pipeline with an aggregate, and I must be doing something wrong in the syntax that I just can't see. Below are my sitemap definitions, and when the second map:part isn't specified in the map:aggregate element, everything works fine, but simply adding the second p

Multiple regular expresion validation

2007-02-27 Thread Manuel Mata
Hi all. I have this widget definition and a surely with easy solution problem, but i dont know how. : What i need is to accept phone numbers like: X XXX XXX XXX XXX XX XX XX but the form only validates the first one. How can i do that accept anyone of the three ?.

Re: access eXist Db from Cocoon with XQueryTransformer

2007-02-27 Thread thomason
on 2/27/07 9:59 AM, Sébastien Geindre at [EMAIL PROTECTED] wrote: > i need to execute a xquery on the eXist cocoon embedded database, in a > cocoon pipe. e.g., from one of my apps (all on one line, gasp): http://{global:db-server}/rest/{global:offering-collection}/{1}.xml?_ho wmany=-1&_query=decla

RE: Store Janitor configuration

2007-02-27 Thread Ard Schrijvers
Hello Diogo, First of all, here are some things described about the StoreJanitor: http://cocoon.apache.org/2.1/userdocs/concepts/storejanitor.html I normally prefer to set freememory low, like to 2 Mb. I think, your setting could easily lead to your described behavior. It has two implications l

access eXist Db from Cocoon with XQueryTransformer

2007-02-27 Thread Sébastien Geindre
Hi all and sorry for cross-posting... i need to execute a xquery on the eXist cocoon embedded database, in a cocoon pipe. httpPost => getRequest post which is full XML => parse XML data to get future xquery request parameters => execute xquery

Re: Authentication Framework and database

2007-02-27 Thread J.D. Williams
Nice catch on the ":" instead of "-" Unfortunately, it did not work. Tried your other suggestions, as well, and others, too. Any clue on where I might look or how I might determine where the problem is? Here is the authentication matcher.

Re: Simple Session Question

2007-02-27 Thread Grzegorz Kossakowski
Sands Fish napisał(a): Hello all, I apologize for the remedial nature of this question, but I can't seem to dig up the answer. I am using Cocoon to interface with an XML service (do a POST to the server and it returns an XML response). All I want to do is take a value from that XML response a

Re: Authentication Framework and database

2007-02-27 Thread Tobia
J.D. Williams scrisse: > http://apache.org/cocoon/SQL/2.0";> > > select name from user where name = > '' > > That looks wrong. Try name="request-param:username", with a dash in request-param and without the ${ } construct. If that doesn't work, you will have to pass the param

RE: Lower Cocoon's memory usage?

2007-02-27 Thread Ard Schrijvers
You mean like in jetty or tomcat? In cocoon, there is also some part you can configure memory settings, in in cocoon.xconf. Lowering memory useage can also be done by lowering you store settings for caching Ard > > > Is there a way to lower Cocoon's memory consumtion? It > currently uses

Simple Session Question

2007-02-27 Thread Sands Fish
Hello all, I apologize for the remedial nature of this question, but I can't seem to dig up the answer. I am using Cocoon to interface with an XML service (do a POST to the server and it returns an XML response). All I want to do is take a value from that XML response and set it as an HTTP

Re: Ajax form reloading problem

2007-02-27 Thread Grzegorz Kossakowski
Andrew Madu napisał(a): Hi Grzegorz, Could not reproduce. I have onload="alert('loaded')" in body tag and all forms work well in Ajax mode. Ah! It may help if I provide a link to my site for which you can see the main login form page in action: www.beyarecords.com

Re: Authentication Framework and database

2007-02-27 Thread Andre Juffer
J.D. Williams wrote: I have been using the DatabaseAuthenticatorAction, but now need to switch to the Authentication Framework, using a database as the authentication resource. In my authentication resource, the following works: http://apache.org/cocoon/SQL/2.0";> select name from user where

Authentication Framework and database

2007-02-27 Thread J.D. Williams
I have been using the DatabaseAuthenticatorAction, but now need to switch to the Authentication Framework, using a database as the authentication resource. In my authentication resource, the following works: http://apache.org/cocoon/SQL/2.0";> select name from user where name = 'example' but

Re: Ajax form reloading problem

2007-02-27 Thread Andrew Madu
Hi Grzegorz, Could not reproduce. I have onload="alert('loaded')" in body tag and all forms work well in Ajax mode. Ah! It may help if I provide a link to my site for which you can see the main login form page in action: www.beyarecords.com You will notice, if viewing the source page, that

Re: Ajax form reloading problem

2007-02-27 Thread Reinhard Poetz
Andrew Madu wrote: Hi Grzegorz, Please stop sending worthless e-mails if you want any further help. See this sentences[1] for good advice: "Please also have some consideration for the other users on the list - this is a busy list and we do not appreciate getting the exact same

Re: Ajax form reloading problem

2007-02-27 Thread Andrew Madu
Hi Grzegorz, Please stop sending worthless e-mails if you want any further help. See this sentences[1] for good advice: "Please also have some consideration for the other users on the list - this is a busy list and we do not appreciate getting the exact same message posted impatiently several t

Re: Ajax form reloading problem

2007-02-27 Thread Grzegorz Kossakowski
Andrew Madu napisał(a): Hi, supplemental to my last 2 posts!, I have noticed that if I have noticed that if I have an onload="" in the body tag of an ajaxified page, when you submit the page with incorrectly filled out form elements the whole page will reload. So to recap: 1. If serialize t

Re: Ajax form reloading problem

2007-02-27 Thread Grzegorz Kossakowski
Andrew Madu napisał(a): Hi, anyone?! Please stop sending worthless e-mails if you want any further help. See this sentences[1] for good advice: "Please also have some consideration for the other users on the list - this is a busy list and we do not appreciate getting the exact same message pos