Re: js aprè s row-delete action

2005-11-17 Thread Jean-Baptiste Quenot
* Marc Salvetti: Quelqu'un a une idée ? Oui, tu as raison il faut utiliser endProcessing(): fd:row-action id=delete command=delete fd:labelDelete this row/fd:label fd:on-action javascript event.sourceWidget.form.endProcessing(false)

Question about multiple pipelines

2005-11-17 Thread Lian Liming
Hi all, I am new to Cocoon and now at the period of learning basic Cocoon conceptions. I have learned some samples by studying their sitemaps. I am confused by the multiple pipelines. As far as I know, we need match or selector to match the client requests to start pipelines. Sometimes in the

Re: Question about multiple pipelines

2005-11-17 Thread Bertrand Delacretaz
Le 17 nov. 05, à 09:31, Lian Liming a écrit : ...The only reason I know so far is that different pipeline can define different error-handler. Is that all the reason for multiple pipelines?... That's one of the reasons, the other one being that you can configure each pipeline differently:

Amend XML File

2005-11-17 Thread Peter Sparkes
Hi, I wish to allow authorised users to amend files on the server using forms. I have working the authentication and the CForm displaying the old data. However I can't get the amended data that I extract from the CForms to amend the XML file on the server. I am using Cocoon 2.1.7 Help

Re: javaflow connection

2005-11-17 Thread Ralph Goers
Carlos Maté wrote: Finally I sow the exact class. And I got the connection: WrapperServiceSelector selector =(WrapperServiceSelector) getComponent(DataSourceComponent.ROLE + Selector); DataSourceComponent dataSource = (DataSourceComponent) selector.select( connection); Connection

Re: Amend XML File

2005-11-17 Thread Zbigniew Bomert OP
Peter Sparkes wrote: Hi, I wish to allow authorised users to amend files on the server using forms. I have working the authentication and the CForm displaying the old data. However I can't get the amended data that I extract from the CForms to amend the XML file on the server. Did you

Status-code from sitemap

2005-11-17 Thread Felix Röthenbacher
Hi Is it possible to send a status code only from the sitemap? For example to send 204 back after a put request? There is a method in org.apache.cocoon.environment.Redirector that does the job, but I don't know if there is a way to do it from the sitemap: void sendStatus(int sc)

Re: Form Description, Form Template Repeater

2005-11-17 Thread Omar Adobati
Thanks for the answers, I changed the code in: ft:repeater id=TelNumbers initial-size=2 tr td ft:widget-label widget-id=Type/ /td td ft:widget id=Type/ /td /tr tr td ft:widget-label widget-id=Value/ /td td

Re: Status-code from sitemap

2005-11-17 Thread Upayavira
Felix Röthenbacher wrote: Hi Is it possible to send a status code only from the sitemap? For example to send 204 back after a put request? There is a method in org.apache.cocoon.environment.Redirector that does the job, but I don't know if there is a way to do it from the sitemap:

Re: Form Description, Form Template Repeater

2005-11-17 Thread Mark Lundquist
On Nov 17, 2005, at 10:11 AM, Omar Adobati wrote: but I have an error that sounds quit like the one I have before: Repeater 'TelNumbers' has no child named 'TelNumbers' Have you tried commenting out the ft:widget-label elements, just to make sure it's just those that are the problem? I'm

Howto: set server locale?

2005-11-17 Thread Mark Lundquist
Hi, I need to be able to override the default locale for a Cocoon application (note, I'm not referring to client localization). How do I do this? Is it a server thing, or a servlet container thing? (I'm using Jetty...) Thanks, —ml—

Re: Amend XML File - solved

2005-11-17 Thread Peter Sparkes
Hi Zbigniew Bomert, Thank you, I should have looked at the samples a bit more closely - its now working Peter Sparkes Peter Sparkes wrote: Hi, I wish to allow authorised users to amend files on the server using forms. I have working the authentication and the CForm displaying the old

Re: Howto: set server locale?

2005-11-17 Thread Bertrand Delacretaz
Le 17 nov. 05, à 20:24, Mark Lundquist a écrit : ...Hi, I need to be able to override the default locale for a Cocoon application (note, I'm not referring to client localization). How do I do this? Is it a server thing, or a servlet container thing? (I'm using Jetty...) Depending on

Security and Authentication

2005-11-17 Thread Mike Dickson
I am using Tomcat authentication with Cocoon. They ask you to name your login fields, j_username and j_password. Then you POST to j_security_check. Everything is working and I get a JSESSIONID and am forwarded to my protected user home page. What data does Tomcat forward to Cocoon so I

Re: Status-code from sitemap

2005-11-17 Thread Nico Verwer
Upayavira wrote: Felix Rthenbacher wrote: Hi Is it possible to send a status code only from the sitemap? For example to send 204 back after a put request? I believe serializers can do that. Look in the provided sitemaps within the map:handle-errors code for examples.

Re: CForms, databinding and databases

2005-11-17 Thread Omar Adobati
Yes, I'm here again... From the last mail I had recived, I now use this code: 1) form definition: fd:repeater id=NumeriTelefono initial-size=2 fd:widgets fd:field id=IDTipo required=false fd:labelTipo/fd:label fd:datatype base=long/ /fd:field

Re: how to start pipeline processing from dom element

2005-11-17 Thread cocoon.erard
thank you for the fast replies. The version with the jx:template is working fine. If I try to start the pipleine with the xmodule, I receive somewhere a NullPointerException. Did I something wrong? flow: var model= formGenerator.createFormModel(cocoon.parameters.enquiry)

Re: CForms, databinding and databases

2005-11-17 Thread Mark Lundquist
On Nov 14, 2005, at 10:51 PM, Sylvain Wallez wrote: as usually, thanks in advice That should be thanks for any advice, or thanks in advance :-) How about, thanks in advance for any advice? That way all the bases are covered... :-) I knew a guy who would write advTHANKSance

Re: Howto: set server locale?

2005-11-17 Thread Mark Lundquist
On Nov 17, 2005, at 12:08 PM, Bertrand Delacretaz wrote: Depending on your VM, you can do this using the user.language and related system properties, from the JVM command line, for example: java -Duser.language=fr -Duser.country=CA ... see

RE: Security and Authentication

2005-11-17 Thread Andrew Stevens
From: Mike Dickson [EMAIL PROTECTED] Date: Thu, 17 Nov 2005 12:31:35 -0800 What data does Tomcat forward to Cocoon so I can tell which user has just logged in? I need to look up their data and have it ready for the user home page. (What variables are handed to Cocoon to work with? JSESSIONID?

RE: Security and Authentication

2005-11-17 Thread Mike Dickson
{request:remoteUser} worked! I thank you for your time. For the record: map:match pattern=user/home map:generate src=""> map:transform src=""> map:parameter name=use-request-parameters value=true/ map:parameter name=use-session-info value=true/ map:parameter name=remoteUser

RE: Security and Authentication

2005-11-17 Thread Mike Dickson
How about the session-id? {session:session-id}? From: Mike Dickson [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 17, 2005 4:35 PM To: 'users@cocoon.apache.org' Subject: RE: Security and Authentication {request:remoteUser} worked! I thank you for your time. For

ETA on 2.1.8?

2005-11-17 Thread Oliver Powell
Hi all, I was wondering if there is an update on when 2.1.8 is scheduled to be released? We are thinking about using the new validation block. Thanks, Ollie = CAUTION: This e-mail and any attachment(s) contains

Re: ETA on 2.1.8?

2005-11-17 Thread Antonio Gallardo
Oliver Powell wrote: Hi all, I was wondering if there is an update on when 2.1.8 is scheduled to be released? We are thinking about using the new validation block. It is very close. Stay tunned. ;-) Best Regards, Antonio Galardo.

Re: ETA on 2.1.8?

2005-11-17 Thread Ralph Goers
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=107657781027922w=2 Oliver Powell wrote: Hi all, I was wondering if there is an update on when 2.1.8 is scheduled to be released? We are thinking about using the new validation block. Thanks, Ollie

RE: Security and Authentication

2005-11-17 Thread Derek Hohls
Mike Why not add this to the WIki - that's what the site is there for - so "us users" can build up a shared base of learning... Cheers Derek [EMAIL PROTECTED] 2005/11/18 02:34 AM {request:remoteUser} worked! I thank you for your time. For the record: map:match pattern="user/home"

Re: ETA on 2.1.8?

2005-11-17 Thread Bertrand Delacretaz
Le 18 nov. 05, à 03:40, Oliver Powell a écrit : Hi all, I was wondering if there is an update on when 2.1.8 is scheduled to be released? The release process started yesterday, announcements should follow in the next few hours. -Bertrand smime.p7s Description: S/MIME cryptographic