Re: [GT2005] ANNOUNCE: Cocoon GetTogether registration NOW open
I cannot seem to get the interactive map to work at http://www.cocoongt.org/Venue.html. Is it just me or is there a problem? Ralph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ProxyPass(Reverse)
Yves Vindevogel wrote: Do you know where I set it in Tomcat 5 ?? I'm afraid I don't. I use Jetty. Maybe start a new thread with an appropriate title, might catch someone else's eye. Upayavira On 05 Sep 2005, at 23:16, Christoph Hermann wrote: Am Montag, 5. September 2005 23:09 schrieb Yves Vindevogel: Hello, It is not for Cookies but for sessions. Do sessions use cookies in Cocoon ? The sessionid (id to identify the session) is propagated via cookies if enabled. Thats why i gave you the hint. Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Met vriendelijke groeten, Bien à vous, Kind regards, *Yves Vindevogel* *Implements* Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91 Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 Web: http://www.implements.be / First they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Ghandi./ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cocoon Portal: changing profile layout
This seems pretty straightforward. Just include the parameter in the pipeline used to load the layout and then use it however you want. Ralph Angelo Immediata wrote: Hi all. I'm using cocoon 2.1.7. I have several cities; these cities offer some services. I don't want a too large portal_anonymous.xml file (now it's at about 5 rows and it'll become greater and greater). I need to change the portal layout according to an user choice. This choice is a parameter and the layout should be loaded by seeing this parameter. Is this possible? Thanks 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ProxyPass(Reverse)
Do you know where I set it in Tomcat 5 ?? On 05 Sep 2005, at 23:16, Christoph Hermann wrote: Am Montag, 5. September 2005 23:09 schrieb Yves Vindevogel: Hello, It is not for Cookies but for sessions. Do sessions use cookies in Cocoon ? The sessionid (id to identify the session) is propagated via cookies if enabled. Thats why i gave you the hint. Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Met vriendelijke groeten, Bien à vous, Kind regards, Yves Vindevogel Implements Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91 Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 Web: http://www.implements.be First they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Ghandi. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ProxyPass(Reverse)
If you would have included this explanation, I would have caught the hint ;-)) I did not know why everybody was talking about cookies when I needed sessions tnx On 05 Sep 2005, at 23:16, Christoph Hermann wrote: Am Montag, 5. September 2005 23:09 schrieb Yves Vindevogel: Hello, It is not for Cookies but for sessions. Do sessions use cookies in Cocoon ? The sessionid (id to identify the session) is propagated via cookies if enabled. Thats why i gave you the hint. Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Met vriendelijke groeten, Bien à vous, Kind regards, Yves Vindevogel Implements Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91 Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 Web: http://www.implements.be First they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Ghandi. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ProxyPass(Reverse)
Am Montag, 5. September 2005 23:09 schrieb Yves Vindevogel: Hello, > It is not for Cookies but for sessions. Do sessions use cookies in > Cocoon ? The sessionid (id to identify the session) is propagated via cookies if enabled. Thats why i gave you the hint. Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ProxyPass(Reverse)
Yves Vindevogel wrote: It is not for Cookies but for sessions. Do sessions use cookies in Cocoon ? I think you'll find your session uses a session cookie to keep track of itself. The session is stored on the server, but when the session is set up, a cookie is sent back to the browser containing an ID for that session. Then, subsequent requests send the ID back to the server, enabling the server to connect the request with the relevant session. Session IDs can either be sent as cookies or in the URL (e.g. http://my.com/page;jsessionid=343kj32l4jkj324l3) By default they've always gone as cookies for me. Regards, Upayavira On 05 Sep 2005, at 21:58, Upayavira wrote: Yves Vindevogel wrote: Someone in this thread mentioned the answer. You need to set the cookie path to "/" within your servlet container. Otherwise, for a Cocoon mounted on /cocoon the cookie path will be /cocoon, and the cookie will be ignored when it is proxied from a URL without the /cocoon. Set the cookie path to / and your problem will go away. Upayavira nobody ? On 05 Sep 2005, at 00:32, Yves Vindevogel wrote: No, it's not for the cookies. It's really for the session. You can see the working version on 1) http://212.221.24.70:8080/cocoon/reports.ecseed.com/test1.xsp (working straight in cocoon) 2) http://212.221.24.70/cocoon/reports.ecseed.com/test1.xsp (proxy forwarding / reverse from /cocoon/reports.ecseed.com to http://127.0.0.1:8080/cocoon/reports.ecseed.com) Not working 1) http://reports.ecseed.com/test1.xsp (proxy forwarding from / to http://127.0.0.1:8080/cocoon/reports.ecseed.com/ Here's the 2 test pages 1) http://apache.org/xsp"; xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="true"> gerac I just set the parameter to Click here to view a second page 2) http://apache.org/xsp"; xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="true"> The value now is On 05 Sep 2005, at 00:17, Christoph Hermann wrote: Am Sonntag, 4. September 2005 23:45 schrieb Yves Vindevogel: Hello, I just tested and ProxyPass(Reverse) with exactly the same arguments keeps the session information If I do ProxyPass(Reverse) /cocoon/subdir/ http://127.0.0.1:8080/cocoon/subdir/ my session information is kept. Now I only need to find a way to link / to /cocoon/subdir/ because when I use that, I lose it again. I assume this has to do with the cookies "path"-string. Maybe adjust this for the domain or something (just an idea). HTH Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Met vriendelijke groeten, Bien à vous, Kind regards, *Yves Vindevogel* *Implements* Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91 Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 Web: http://www.implements.be / First they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Ghandi./ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Met vriendelijke groeten, Bien à vous, Kind regards, *Yves Vindevogel* *Implements* Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91 Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 Web: http://www.implements.be / First they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Ghandi./ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Met vriendelijke groeten, Bien à vous, Kind regards, *Yves Vindevogel* *Implements* Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91 Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 Web: http://www.implements.be / First they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Ghandi./ --
Re: ProxyPass(Reverse)
It is not for Cookies but for sessions. Do sessions use cookies in Cocoon ? On 05 Sep 2005, at 21:58, Upayavira wrote: Yves Vindevogel wrote: Someone in this thread mentioned the answer. You need to set the cookie path to "/" within your servlet container. Otherwise, for a Cocoon mounted on /cocoon the cookie path will be /cocoon, and the cookie will be ignored when it is proxied from a URL without the /cocoon. Set the cookie path to / and your problem will go away. Upayavira nobody ? On 05 Sep 2005, at 00:32, Yves Vindevogel wrote: No, it's not for the cookies. It's really for the session. You can see the working version on 1) http://212.221.24.70:8080/cocoon/reports.ecseed.com/test1.xsp (working straight in cocoon) 2) http://212.221.24.70/cocoon/reports.ecseed.com/test1.xsp (proxy forwarding / reverse from /cocoon/reports.ecseed.com to http://127.0.0.1:8080/cocoon/reports.ecseed.com) Not working 1) http://reports.ecseed.com/test1.xsp (proxy forwarding from / to http://127.0.0.1:8080/cocoon/reports.ecseed.com/ Here's the 2 test pages 1) xmlns:xsp="http://apache.org/xsp" xmlns:xsp-session="http://apache.org/xsp/session/2.0" create-session="true"> name="dbase">gerac I just set the parameter to name="dbase"/> Click here to view a second page 2) xmlns:xsp="http://apache.org/xsp" xmlns:xsp-session="http://apache.org/xsp/session/2.0" create-session="true"> The value now is On 05 Sep 2005, at 00:17, Christoph Hermann wrote: Am Sonntag, 4. September 2005 23:45 schrieb Yves Vindevogel: Hello, I just tested and ProxyPass(Reverse) with exactly the same arguments keeps the session information If I do ProxyPass(Reverse) /cocoon/subdir/ http://127.0.0.1:8080/cocoon/subdir/ my session information is kept. Now I only need to find a way to link / to /cocoon/subdir/ because when I use that, I lose it again. I assume this has to do with the cookies "path"-string. Maybe adjust this for the domain or something (just an idea). HTH Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Met vriendelijke groeten, Bien à vous, Kind regards, *Yves Vindevogel* *Implements* Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91 Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 Web: http://www.implements.be / First they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Ghandi./ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Met vriendelijke groeten, Bien à vous, Kind regards, *Yves Vindevogel* *Implements* Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91 Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 Web: http://www.implements.be / First they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Ghandi./ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Met vriendelijke groeten, Bien à vous, Kind regards, Yves Vindevogel Implements Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91 Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 Web: http://www.implements.be First they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Ghandi. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Fwd: [Chaperon-users] wiki grammer]
Hi Oliver, Not dead, but there aren't lots of people asking questions, so we might doze off from time to time... ;-) Contrary to all the other answers, I'll focus on the actual question, because I believe it is still unanswered, while the answer to it is, to my humble opinion, actually quite simple. The Wiki grammar that is shipped with Chaperon is written such that it allows a top-level title, followed by sub-level titles and between those subsub-level titles (intermingled with paragraphs and such). However, no grammar rule is added to support subsub-level titles directly underneath a top-level title, which means you are actually skipping a section level. So you could say that Chaperon is quite strict, but actually it is the grammar that is not accepting the wiki file you supply. Change the wiki grammar to make it work. I expect that somewhere in some logfile there is a message that will state that a subsubtitle token is not expected at that point. Though, the error message itself might be a little less clear about it.. :-P Cheers, Geert Oliver Schalch wrote: Seems like really dead on the Chaperon List... Original Message Subject: [Chaperon-users] wiki grammer Date: Thu, 25 Aug 2005 11:33:14 +0200 From: Oliver Schalch <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi all, We are building a publication for Lenya, where we can use and make Wiki Documents. Therefor we use some parts from Chaperon/Cocoon, now the wiki Syntax have some strange behavior, and I want to ask if anyone noticed similar behavior or know where I should go look more into... If I write a normal wiki document like: !!! Bigtitle !! A bit smaller ! Smal... ... ... that works fine but when I insert the ! tag between !!! and !! tags then nothing will be shown. It looks like that it have problems just with the ! someTitle, because if you want start the document with !, also nothing will be displayed. Looks like issues in the grammer (wiki.grm or generation of wiki.xgrm), or what do you think? Greetings Oli -- Drs. G.P.H. Josten Daidalos BV Source of Innovation Hoekeindsehof 1-4 2665 JZ Bleiswijk tel: +31 (0) 10 850 1200 fax: +31 (0) 10 850 1199 http://www.daidalos.nl De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ProxyPass(Reverse)
Yves Vindevogel wrote: Someone in this thread mentioned the answer. You need to set the cookie path to "/" within your servlet container. Otherwise, for a Cocoon mounted on /cocoon the cookie path will be /cocoon, and the cookie will be ignored when it is proxied from a URL without the /cocoon. Set the cookie path to / and your problem will go away. Upayavira nobody ? On 05 Sep 2005, at 00:32, Yves Vindevogel wrote: No, it's not for the cookies. It's really for the session. You can see the working version on 1) http://212.221.24.70:8080/cocoon/reports.ecseed.com/test1.xsp (working straight in cocoon) 2) http://212.221.24.70/cocoon/reports.ecseed.com/test1.xsp (proxy forwarding / reverse from /cocoon/reports.ecseed.com to http://127.0.0.1:8080/cocoon/reports.ecseed.com) Not working 1) http://reports.ecseed.com/test1.xsp (proxy forwarding from / to http://127.0.0.1:8080/cocoon/reports.ecseed.com/ Here's the 2 test pages 1) http://apache.org/xsp"; xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="true"> gerac I just set the parameter to Click here to view a second page 2) http://apache.org/xsp"; xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="true"> The value now is On 05 Sep 2005, at 00:17, Christoph Hermann wrote: Am Sonntag, 4. September 2005 23:45 schrieb Yves Vindevogel: Hello, I just tested and ProxyPass(Reverse) with exactly the same arguments keeps the session information If I do ProxyPass(Reverse) /cocoon/subdir/ http://127.0.0.1:8080/cocoon/subdir/ my session information is kept. Now I only need to find a way to link / to /cocoon/subdir/ because when I use that, I lose it again. I assume this has to do with the cookies "path"-string. Maybe adjust this for the domain or something (just an idea). HTH Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Met vriendelijke groeten, Bien à vous, Kind regards, *Yves Vindevogel* *Implements* Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91 Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 Web: http://www.implements.be / First they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Ghandi./ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Met vriendelijke groeten, Bien à vous, Kind regards, *Yves Vindevogel* *Implements* Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91 Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 Web: http://www.implements.be / First they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Ghandi./ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CForm: get the description label from selection list
On Monday 05 September 2005 11:10 am, Angelo Immediata wrote: > > I have this problem... i have a combobox; its values are obtained by > invocking a web service. Now i need to show in an another page the > description label of the element choosen by the user... how can i obtain > it? > > [snip] > > Now if the user chooses the value "SAN GALLO" i'll have the code > "000244"... well in the next page i'ld like to show the value "SAN GALLO" > and not the code.. how can i recover this string without invocking the web > service?Is it possible? Thanks to all. How exactly is the selection-list being built from the web service? It should be possible to do what you want, but the approach will depend on how you're getting the selection-list in the first place. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: LDAP over SSL
Guys, I just noticed this thread, don't know the full context. I'd like to add: when using a certificate from a full-blown international certificate authority, check whether you enter a whole chain of certificates all the way up to the authority's root certificate. I do not all the details, but I recently asked our sysadmin to install such a certificate on one of our servers. It was not as easy as we'd expected. Unless the certificate authority is known in your browser or JRE, trusting a certificate may not be enough. You'll also have to confirm that you trust the folks who issued the certificate. In our case, there are 3-4 additional levels between an individual certificate and the root certificate of the authority ... Just my 2 cents, Sandor On 5 Sep 2005, at 16:49, Alberto Brosich wrote: On Mon, 2005-09-05 at 16:26 +0200, Christoph Hermann wrote: Alberto Brosich schrieb: Hello, So, is it possible (i.e. with ldaps://-url)? Or would i have to patch the LDAPTransformer? ldaps:// works with port 636 but you must import certificate of the ldap server you want to connect to (with "keytool" java utility). Thanks for the hint! Can you also tell me in which file (keystore) i have to put the certs in order to work with cocoon? (started via jetty?) My solution is: keytool -import -file -keystore $JAVA_HOME/jre/lib/security/cacerts but I don't know if it's the only solution or the best (of course works with every java application). If I remember correctly you need a password to write to cacerts file. Default password is "changeit". You find all info about keytool here: http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/keytool.html Sandor Spruit [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon Portal: changing profile layout
Hi all. I'm using cocoon 2.1.7. I have several cities; these cities offer some services. I don't want a too large portal_anonymous.xml file (now it's at about 5 rows and it'll become greater and greater). I need to change the portal layout according to an user choice. This choice is a parameter and the layout should be loaded by seeing this parameter. Is this possible? Thanks 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
CForm: get the description label from selection list
Hi all. I have this problem... i have a combobox; its values are obtained by invocking a web service. Now i need to show in an another page the description label of the element choosen by the user... how can i obtain it? For example i have: Seleziona il comune SANTO ANDRE' SAN GALLO SAN MIGUEL DOS CAMPOS SAN MIGUEL SANTIAGO Now if the user chooses the value "SAN GALLO" i'll have the code "000244"... well in the next page i'ld like to show the value "SAN GALLO" and not the code.. how can i recover this string without invocking the web service?Is it possible? Thanks to all. Angelo 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ProxyPass(Reverse)
nobody ? On 05 Sep 2005, at 00:32, Yves Vindevogel wrote: No, it's not for the cookies. It's really for the session. You can see the working version on 1) http://212.221.24.70:8080/cocoon/reports.ecseed.com/test1.xsp (working straight in cocoon) 2) http://212.221.24.70/cocoon/reports.ecseed.com/test1.xsp (proxy forwarding / reverse from /cocoon/reports.ecseed.com to http://127.0.0.1:8080/cocoon/reports.ecseed.com) Not working 1) http://reports.ecseed.com/test1.xsp (proxy forwarding from / to http://127.0.0.1:8080/cocoon/reports.ecseed.com/ Here's the 2 test pages 1) xmlns:xsp="http://apache.org/xsp" xmlns:xsp-session="http://apache.org/xsp/session/2.0" create-session="true"> gerac I just set the parameter to Click here to view a second page 2) xmlns:xsp="http://apache.org/xsp" xmlns:xsp-session="http://apache.org/xsp/session/2.0" create-session="true"> The value now is On 05 Sep 2005, at 00:17, Christoph Hermann wrote: Am Sonntag, 4. September 2005 23:45 schrieb Yves Vindevogel: Hello, I just tested and ProxyPass(Reverse) with exactly the same arguments keeps the session information If I do ProxyPass(Reverse) /cocoon/subdir/ http://127.0.0.1:8080/cocoon/subdir/my session information is kept. Now I only need to find a way to link / to /cocoon/subdir/ because when I use that, I lose it again. I assume this has to do with the cookies "path"-string. Maybe adjust this for the domain or something (just an idea). HTH Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Met vriendelijke groeten, Bien à vous, Kind regards, Yves Vindevogel Implements Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91 Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 Web: http://www.implements.be First they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Ghandi.- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Met vriendelijke groeten, Bien à vous, Kind regards, Yves Vindevogel Implements Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91 Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 Web: http://www.implements.be First they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Ghandi. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: LDAP over SSL
On Mon, 2005-09-05 at 16:26 +0200, Christoph Hermann wrote: > Alberto Brosich schrieb: > > Hello, > > >>So, is it possible (i.e. with ldaps://-url)? Or would i have to patch > >>the LDAPTransformer? > > > ldaps:// works with port 636 but you must import certificate of the ldap > > server you want to connect to (with "keytool" java utility). > > Thanks for the hint! Can you also tell me in which file (keystore) i > have to put the certs in order to work with cocoon? (started via jetty?) My solution is: keytool -import -file -keystore $JAVA_HOME/jre/lib/security/cacerts but I don't know if it's the only solution or the best (of course works with every java application). If I remember correctly you need a password to write to cacerts file. Default password is "changeit". You find all info about keytool here: http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/keytool.html Alberto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: LDAP over SSL
Alberto Brosich schrieb: Hello, >>So, is it possible (i.e. with ldaps://-url)? Or would i have to patch >>the LDAPTransformer? > ldaps:// works with port 636 but you must import certificate of the ldap > server you want to connect to (with "keytool" java utility). Thanks for the hint! Can you also tell me in which file (keystore) i have to put the certs in order to work with cocoon? (started via jetty?) Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CForm field selection-list: "displayed" vs. "selected" values
Jason, thank you very much for your quick reply. It solved the problem. I will try out the other possibility too (using the flow-attr: module). I felt my first message was too long and not to-the-point, so I sent another request. Your response to my first thread arrived seconds after that. Regards José Diaz Seng
Re: CForm field selection-list: "displayed" vs. "selected" values
[EMAIL PROTECTED] wrote: Hi, what's the best way to map the values selectable by a user in a selection-list to other values (e.g. in selection-list we have "human-readable" values, we want to map them to "internal" values)? See my reply to your previous thread; you use the "internal" value as the @value of fd:item, and the "human-readable" value as an fd:label. Monthly Interest Sales Money Statement - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
CForm field selection-list: "displayed" vs. "selected" values
Hi, what's the best way to map the values selectable by a user in a selection-list to other values (e.g. in selection-list we have "human-readable" values, we want to map them to "internal" values)? Thanks in advance. Cheers
Re: CForms Selection-list: cannot replace user-selected item
[EMAIL PROTECTED] wrote: I don't know why Lotus Notes mixes up my emails this way. So here's one more try: Sitemap: I think you don't want to be using the request-param: input module here, but instead use the flow-attr: module which allows access to the viewdata provided by the flowscript in the second argument to sendPage. The request parameters are not affected by flow, so it makes sense that it's getting the value originally submitted by the HTML form. Another option might be to actually use the "short" values as the option values in your selection list, and the "long" value as the label, for example: Monthly Interest Scales Money Statement That way the short value is the one that gets submitted to the server so you don't have to translate it later in your flow, and the user still sees the long value. It would also allow you to translate the label in the future. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Job] Cocoon (freelance) developers needed in Germnany
Hi, We are currently looking to expand our network of freelance Cocoon developers We are working on various Cocoon based projects for large German-speaking corporations in cities such as Düsseldorf, Frankfurt, Vienna and of course Paderborn :). You should be fluent in Cocoon (especially Flow and Forms) and have practical experience integrating databases (e.g. Oracle) using frameworks like Hibernate and Spring. At the moment our emphasis is on freelancers and contract work (full-time employment may also be an option). So, if you speak German and would be interested in becoming part of our team then please feel free to send me your CV or email me off-list to discuss this in more detail. Freundliche Grüße / With kind regards Matthew Langham -- S&N AG Competence Center Open Source Klingenderstr. 5 D 33100 Paderborn voice +49 5251/1581-30 fax+49 5251/1581-71 eMail [EMAIL PROTECTED] Webhttp://www.s-und-n.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon hangs?
Hi, I have a simple webapp that uses a cocoon transformer to interact with a DB XML database. I find that the browser hangs intermittently when running the webapp, then I find this message in the sitemap.log: [sitemap] (Unknown-URI) Unknown-thread/ExcaliburComponentManager: disposing of handler for unreleased component. role [org.apache.cocoon.serialization.SerializerSelector] Has anyone come across this before? I've restarted Cocoon and this message always appears when the webapp hangs? Any help gratefully appreciated. Thanks Ant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Antw: Re: LDAP over SSL
Hello, ldaps:// works only in Java 1.4.2 or higher Martin >>> [EMAIL PROTECTED] Montag, 5. September 2005 15:07:28 >>> On Mon, 2005-09-05 at 14:56 +0200, Christoph Hermann wrote: > Hello, > > is it possible to use the LDAP transformer to connect via SSL? > The only thing i found about this is: > http://66.249.93.104/search?q=cache:UpAk340B8tEJ:archives.real-time.com/pipermail/cocoon-users/2004-February/047030.html+cocoon+ldaps&hl=de > > > and there is no real answer to this. > So, is it possible (i.e. with ldaps://-url)? Or would i have to patch > the LDAPTransformer? > ldaps:// works with port 636 but you must import certificate of the ldap server you want to connect to (with "keytool" java utility). Alberto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: LDAP over SSL
On Mon, 2005-09-05 at 14:56 +0200, Christoph Hermann wrote: > Hello, > > is it possible to use the LDAP transformer to connect via SSL? > The only thing i found about this is: > http://66.249.93.104/search?q=cache:UpAk340B8tEJ:archives.real-time.com/pipermail/cocoon-users/2004-February/047030.html+cocoon+ldaps&hl=de > > and there is no real answer to this. > So, is it possible (i.e. with ldaps://-url)? Or would i have to patch > the LDAPTransformer? > ldaps:// works with port 636 but you must import certificate of the ldap server you want to connect to (with "keytool" java utility). Alberto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
LDAP over SSL
Hello, is it possible to use the LDAP transformer to connect via SSL? The only thing i found about this is: http://66.249.93.104/search?q=cache:UpAk340B8tEJ:archives.real-time.com/pipermail/cocoon-users/2004-February/047030.html+cocoon+ldaps&hl=de and there is no real answer to this. So, is it possible (i.e. with ldaps://-url)? Or would i have to patch the LDAPTransformer? What i want to realize is a simple auth against the ldap server. Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CForms Selection-list: cannot replace user-selected item
I don't know why Lotus Notes mixes up my emails this way. So here's one more try: Sitemap: XML_{request-param:account}_{request-param:reportDate}.xml"/>
Re: CForms Selection-list: cannot replace user-selected item
sorry, my mail program chopped off part of the sitemap definition. The relevant part should read as follows: XML_{request-param:account}_{request-param:reportDate}.xml"/>
CForms Selection-list: cannot replace user-selected item
Hi there, I have a problem with CForms selection lists. What I am trying to do is the following: The user selects a report name in a selection-list where the names are shown in human-readable form (e.g. "Money Statement"). I want to trigger a pdf processing pipeline, but my stylesheets have short names, e.g. the one for "Money Statement" is called "MT950MS.xsl". So this is what I want to include in my call to sendPage. The problem is: This translation doesn't work, what is passed back by sendPage is always the string the user selected. In my flow script (see below) I translate the long name using a function "chooseMessageType": var mt = chooseMessageType(model.reportType); Then I define the hash used in my call to sendPage: var bizdata = { "reportType" : mt, "account" : model.account, "reportDate" : model.reportDate } Finally, the call to sendPage: cocoon.sendPage("create", bizdata); What have I done wrong? I am using Cocoon-2.1.7 with Jetty on Windows 2000. The relevant portions of my Cocoon application are as follows: -- Form Definition: Report type: ... --- Flow: cocoon.load("resource://org/apache/cocoon/forms/flow/_javascript_/Form.js"); function chooseMessageType (longName) { var ret=""; switch (longName) { case "Monthly Interest Scales": ret="MT935"; break; case "Money Statement": ret="MT950MS"; break; } return ret; } function reportSelection() { var url = ""> var form = new Form(url); form.showForm("reportSelection"); var model = form.getModel(); var mt = chooseMessageType(model.reportType); var bizdata = { "reportType" : mt, "account" : model.account, "reportDate" : model.reportDate } cocoon.sendPage("create", bizdata); } --- Sitemap: Kind Regards José Diaz Seng
Re: Browser's "Back" button/ Portal (Again)
Hi all, Sorry to insist, i come back with that problem, it has been discusssed already, but i don't see any clear solution! I'm sure some people here did something to resolve/avoid that? Reminder: happens when user clicks on a link that has been transformed to event by event-transformer - typically a link inside a cachingURI coplet - , then clicks on the back button of his browser, then gets strange behaviour because this last action of going back has not been taken into account by the portal. Finally the user can go back with his browser button, to see what was before, but any action from him will rediret one step forward. I see it as a major issue since everybody uses systematically the back button ! Regards, Phil Philippe Guillard wrote: Hi all, Somebody here knows the clue to Browser's "Back" button issue with Portal Engine ? Fo what i know at the moment: - event-link transformer is working on events, so trouble comes when a user hits the browser back button, then clicks on other links, this doesn't happen if the link is actually a "page label" or a bookmark. - I remember reading about some event history in the portal to handle that, but can't find it. This has been deleted? - What people mean by invalidating the back button? (Doesn't seem realistic to me) - I'm also using page-labels, so i removed action-counter action, but this doesn't help. Related links i found: -http://www.mail-archive.com/users@cocoon.apache.org/msg16199.html -http://www.mail-archive.com/dev@cocoon.apache.org/msg14770.html Regards, Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Portal - links from outside - login
Thanks Ralph. Yes maybe this is the easiest way: check on the label name, if the label name is from outside, automatic anonymous sign-in, if inside, i'll redirect to login. Phil Ralph Goers wrote: Philippe Guillard wrote: Thanks Ralph. Yes i think this is an issue for making public internet WebApp as we see today. My understanding is that Portal is based on Authentication framework, but as anonymous is systematicly authenticated, redirection to login for a protected page doesn't redirect to login. The portal sample site automatically logs in a user as "anonymous" when they access the portal and are not logged in. There is no requirement that you do that unless, of course, you want to allow anonymous users. However, as I understood your request, you want to allow users to go directly to a page. In your sitemap you can check if the pagelabel has been specified and if it has then do the auth-protect. If the user has not logged in this will redirect to login. If you are allowing anonymous users though, you will have to check for that as well. Ralph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Portal - links from outside - login
You use the authentication framework to redirect to login. It isn't a trick, that is just how it works. The "trick" is that you need to remember the user's original request so you can authomatically go there once the login has been completed. Support for that isn't built into the authentication framework, but really should be. Maybe the new cowarp stuff Carsten has provided can do that? I don't know. Ralph Philippe Guillard wrote: Hi all, I use portal with page labels. I'd like to do this: 1- I have a link from outside portal to an internal page, a label in the authenticated part (say not anonymous because he is also authenticated), example : portal?pageLabel=1stTabInside 2- If the user is not authenticated, i redirect directly in login page 3- Then i save the destination label in resource to go there after login success. Somebody has an idea for how to do that for part 2? Should be just a trick in the portal sitemap with authentication framework isn't it? The only trick i could do now is obviously have a pipeline for each lable, check a user is authenticated, then go where he wanted or go to login, really durty i think... Regards, Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]