RE: Encoding problem

2004-03-17 Thread Jean-Luc Mathieu
After a lot of tries, it seems that Cocoon authentication is not involved, nor DOM model : it is the fact of transforming such characters in a xsl:comment section that produce this kind of error. If I remove the xsl:comment tags, my string appears without any error. Is anybody knows the problem ?

RE: [POLL] which Cocoon version / JDK version / Servlet Container are you using ?

2004-03-03 Thread Jean-Luc Mathieu
COCOON : 2.1.4 JDK : 1.4.2_03 CONTAINER : Tomcat 4.1.29 PRO/CON 1.4 requirement for 2.2 : PRO > -Message d'origine- > De : news [mailto:[EMAIL PROTECTED] De la part de Jorg Heymans > Envoyé : mardi 2 mars 2004 09:37 > À : [EMAIL PROTECTED] > Objet : [POLL] which Cocoon version / JDK versio

RE: Sub-sitemap static initialization

2004-03-02 Thread Jean-Luc Mathieu
Jorg Heymans > Envoyé : mardi 2 mars 2004 11:55 > À : [EMAIL PROTECTED] > Objet : Re: Sub-sitemap static initialization > > > > Jean-Luc Mathieu wrote: > > > Yes, i had already thought about it, but i can't access to Cocoon > environment - > > i wanted t

RE: Sub-sitemap static initialization

2004-03-02 Thread Jean-Luc Mathieu
r block in the action ? > > ie > class mybla extends action > static{ > //your stuff gets executed only once when the class is loaded > > } > > You can then have different actions for different subsitemaps. > > it's a bit of a bodge but could do the trick here. >

RE: Sub-sitemap static initialization

2004-03-02 Thread Jean-Luc Mathieu
10:04 > À : [EMAIL PROTECTED] > Objet : Re: Sub-sitemap static initialization > > Can you explain your use-case a bit more? Remember TUIMTOWTDIIC > - there usually is more than one way to do it in Cocoon :) > Jean-Luc Mathieu wrote: > > > Hmm, I tested it, and you're

RE: Sub-sitemap static initialization

2004-03-02 Thread Jean-Luc Mathieu
; How does the above guarantee that the action is only run once? > Subsequent requests to blah/whatever from different users will run the > action again IMO, unless there is something in the action that knows it > has been run once. > > > > > The initscript would execute the

RE: Sub-sitemap static initialization

2004-03-01 Thread Jean-Luc Mathieu
> > > > > The initscript would execute the script only once. > > Hope that helps, > Unico > > Jean-Luc Mathieu wrote: > > > Hello ! > > > > > > > > I have to launch an init script (a Java piece of program) at Cocoon star

Sub-sitemap static initialization

2004-03-01 Thread Jean-Luc Mathieu
Hello !   I have to launch an init script (a Java piece of program) at Cocoon startup (more precisely on the time the first user to connect requests a specific sub-sitemap). Is it a simple way to do this using for example sitemaps only, or I have to override CocoonServlet ? Thank you in

Authentication failed

2004-02-26 Thread Jean-Luc Mathieu
Hello ! I wanted to know if it is possible to read the reason of why a login has failed using authentication framework. I had written a class implementing Authenticator, which send when authentication fails a DOM tree like this : reason My pipeline in the sitema

RE: Authentication failed

2004-02-26 Thread Jean-Luc Mathieu
Thanks a lot, it works, and i've better understood signification of these different contexts ... :-) > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 26 février 2004 17:54 > À : [EMAIL PROTECTED] > Objet : Re: Authentication failed > > On February