Re: org.apache.cocoon.environment.Request / javax.servlet.http.HttpServletRequest

2006-09-21 Thread Bertrand Delacretaz
On 9/21/06, BRAUD Denis [EMAIL PROTECTED] wrote: ...La question que je me pose est pourquoi l'interface Cocoon Request n'hérite pas de javax.servlet.http.HttpServletRequest... Il est prévu de changer cela pour Cocoon 2.2, je ne suis pas sûr que cela soit déjà fait. Mais on ne va probablement

RE: Free for use: SaveFilesTransformer

2006-09-21 Thread Geert Josten
Really an intersting idea. But I'd not begin the transaction in setup(). What about startDocument()? And the rollback() at endDocument() as well (if necessary :). Though I guess I would like to manage the transactions independantly altogether. In actions fired with separate urls perhaps?

Cforms do not save after binding.

2006-09-21 Thread Kamal Bhatt
Hi I have a CForm that binds to a java object. If there are no validation errors (ie the continuation is not called) then the form saves correctly. However, if there was a validation error, you fix the error and you try and save again, the form does not bind correctly (form.save fails).

Re: Uploading files: further issues

2006-09-21 Thread Richard Light
In message [EMAIL PROTECTED], Joerg Heinicke [EMAIL PROTECTED] writes On 20.09.2006 19:13, Richard Light wrote: The second of these issues may be caused by my having a non-standard setup, though I don't remember altering the flow-interpreters element in cocoon.xconf. Can you better confirm

serializer recycle

2006-09-21 Thread Varga, Zsombor
Hi, I've written an own serializer, and i'd like to use its recycle() method. Do anyone know, that this method when will be called? Is it called everytime, when the serializer is called? Thanks, Zsombor - To unsubscribe,

Re: Cforms do not save after binding.

2006-09-21 Thread Kamal Bhatt
Kamal Bhatt wrote: Hi I have a CForm that binds to a java object. If there are no validation errors (ie the continuation is not called) then the form saves correctly. However, if there was a validation error, you fix the error and you try and save again, the form does not bind correctly

Re: fd:multivaluefield - direct the content of the two fields!!!

2006-09-21 Thread jantje
Thanks!!! :-) Jason Johnston-3 wrote: jantje wrote: Query the database from my flowscript? I have an object oriented database (db4o.com).. is it also possible to query this database in flowscript? do you know where to find information about this.. and how can I f.i. do this in

Re: RE: SaveFilesTransformer

2006-09-21 Thread rachid harradi
Hi Josten, thank you very much for help it work very nice :) i have another Question. the filepath is dynamic i get it from cocoon:/wohland or from Servelt Application. how can i acces the path during Sitemape like global variable? Rachid Harradi Original-Nachricht

Re: fd:multivaluefield - direct the content of the two fields!!!

2006-09-21 Thread jantje
OK, I can pass f.i. a String from a Java class to flowscript.. But I can not pass a String[] (thun an array).. My class is as follows: public class EmpActivities { public EmpActivities() { } public String[] activities() { String[] result = new String[2]; result[0]=C;

Re: Getting Cocoon Session from outside

2006-09-21 Thread Oleg Konovalov
Jason,It's all one "project", with a single web.xml file for the two servlets.So you are saying they have to be merged into one web application.Is there a way to keep them in 2 separate directories on the same level (e.g. /deploy/app1 /deploy/app2)so I can build them separately with ant, keep

Accessing Sessions

2006-09-21 Thread Bardo Nelgen
Hi all, how can I obtain a list of a) the current session-id of the current context (hopefully named that right...) b) all currently active sessions from Cocoon via 1. FlowScript 2. inside a generator 3. inside an action ??? Any help highly appreciated. Bardo Nelgen -- --- BNN

Re: Getting Cocoon Session from outside

2006-09-21 Thread Jason Johnston
Oleg Konovalov wrote: Jason, It's all one project, with a single web.xml file for the two servlets. So you are saying they have to be merged into one web application. Is there a way to keep them in 2 separate directories on the same level (e.g. /deploy/app1/deploy/app2) so I can build

RE: RE: SaveFilesTransformer

2006-09-21 Thread Geert Josten
Hi Rachid, I'm not sure I understand you fully, but to set filepath dynamically you have a few options I guess: 1. Use an input module to read the value and pass it to the XSL with a construct like this: map:parameter name=filepath value={request-param:outputdir} / (this reads a

Re: Cforms do not save after binding.

2006-09-21 Thread Jason Johnston
Kamal Bhatt wrote: Kamal Bhatt wrote: Hi I have a CForm that binds to a java object. If there are no validation errors (ie the continuation is not called) then the form saves correctly. However, if there was a validation error, you fix the error and you try and save again, the form does not

Re: Accessing Sessions

2006-09-21 Thread Jason Johnston
Bardo Nelgen wrote: Hi all, how can I obtain a list of a) the current session-id of the current context (hopefully named that right...) b) all currently active sessions from Cocoon via 1. FlowScript 2. inside a generator 3. inside an action I can answer for a) ... I'm not sure if b) is

Re: Accessing Sessions

2006-09-21 Thread Bardo Nelgen
Thanks ! Bardo -- --- BNN Performances http://www.wewillwebyou.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Getting Cocoon Session from outside

2006-09-21 Thread Oleg Konovalov
you could keep the display templates etc. in separate directories but at the very least they have to share the WEB-INF.That means I can not even place the whole Spring project inside of Cocoon one as a separate directorybecause WEB-INF has to be right behing the root directory, correct ?If I

Jx iterate through several arrays

2006-09-21 Thread hmadureira
Hello all! In a Jx Generator if I have a queryString like: ?name=name1value=value1name=name2value=value2 How do I get a xml document like: elem name=name1 value=value1/ elem name=name2 value=value2/ Thanks in advance, Hugo Madureira

form captcha validation : remove continuation

2006-09-21 Thread Philippe LAPLANCHE
Hi I'm using a captcha validation in a search form. I would like that once a captcha has been validated, it can't be used anymore, even if the user hits the browser back button, or if some kind of robot would try to do many queries. It would be even better if the captcha image changed when the

Re: Free for use: SaveFilesTransformer

2006-09-21 Thread Olivier
Joerg Heinicke wrote: Really an intersting idea. But I'd not begin the transaction in setup(). What about startDocument()? right :-) Jörg On 20.09.2006 18:53, Olivier wrote: map:resource name=write map:transform src=blog/{blogfile} type=orcades-file-writer map:parameter

Re: Free for use: SaveFilesTransformer

2006-09-21 Thread Olivier
Geert Josten wrote: Really an intersting idea. But I'd not begin the transaction in setup(). What about startDocument()? And the rollback() at endDocument() as well (if necessary :). Though I guess I would like to manage the transactions independantly altogether. In actions fired with

Re: Uploading files: further issues

2006-09-21 Thread Joerg Heinicke
On 21.09.2006 09:33, Richard Light wrote: Further to this, I have established by looking at the source of ComonentContext.java that the problem is the version of Cocoon which I am using: 2.1.1. This doesn't have support for the getComponent() command. Oh yes, that's really old. You should

Re: Accessing Sessions

2006-09-21 Thread Bardo Nelgen
Any further ideas on the other aspects, anyone ??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

upload:// pseudo protocol

2006-09-21 Thread Steven D. Majewski
Is the upload:// pseudo-protocol documented anywhere ? ( I saw it in one of the samples, but could not find anything in the docs. ) And if it isn't documented: where in the source code should I look for info on how it's implemented ? I'm still quite perplexed by all of the various ways of

[GT2006] The program! What's up in 2 weeks time?

2006-09-21 Thread Arje Cahn
*** * * * Cocoon GetTogether 2006 * * * * October 2nd to 4th * * * * Amsterdam, The Netherlands * *

SQL Server 2005?

2006-09-21 Thread Lars Huttar
Hello, Does anyone have Cocoon connecting successfully to SQL Server 2005? We've been using Cocoon for quite some time (currently 2.1.7) with SQL Server 2000. Now I've been trying to switch to 2005 and Cocoon keeps giving an error ERROR (2006-09-21) 16:03.33:230

Re: upload:// pseudo protocol

2006-09-21 Thread Steven D. Majewski
On Sep 21, 2006, at 4:20 PM, Steven D. Majewski wrote: Is the upload:// pseudo-protocol documented anywhere ? ( I saw it in one of the samples, but could not find anything in the docs. ) And if it isn't documented: where in the source code should I look for info on how it's implemented ?

Re: SQL Server 2005?

2006-09-21 Thread Laurent Perez
I tried replacing the three ms jars (mssqlserver.jar, msutil.jar, and msbase.jar) with sqljdbc.jar, the new sql server 2005 jdbc driver from ms download site. (This in Cocoon's WEB-INF\lib folder.) Don't know if you are free to switch your db driver if your code depends on specific

Re: Cforms do not save after binding.

2006-09-21 Thread Kamal Bhatt
Jason Johnston wrote: Kamal Bhatt wrote: Kamal Bhatt wrote: Hi I have a CForm that binds to a java object. If there are no validation errors (ie the continuation is not called) then the form saves correctly. However, if there was a validation error, you fix the error and you try and save

Re: SQL Server 2005?

2006-09-21 Thread Lars Huttar
On 9/21/2006 6:15 PM, Laurent Perez wrote: I tried replacing the three ms jars (mssqlserver.jar, msutil.jar, and msbase.jar) with sqljdbc.jar, the new sql server 2005 jdbc driver from ms download site. (This in Cocoon's WEB-INF\lib folder.) Don't know if you are free to switch your db driver

RE: Jx iterate through several arrays

2006-09-21 Thread Robby Pelssers, AGP
That would be something like: jx:forEach var=par items=${cocoon.request.parameterNames} elem name=${par} value=${cocoon.request.getParameter(par)}/ /jx:forEach Cheers, Robby -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Verzonden: