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
PROTECTED]
Objet : Re: Sub-sitemap static initialization
how about using a static initializer 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
valon
framework I think ...
> -Message d'origine-
> De : news [mailto:[EMAIL PROTECTED] De la part de Jorg Heymans
> Envoyé : mardi 2 mars 2004 11:00
> À : [EMAIL PROTECTED]
> Objet : Re: Sub-sitemap static initialization
>
> how about using a static initialize
AIL 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 right. Finally, it's not completely wh
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
: news [mailto:[EMAIL PROTECTED] De la part de Jorg Heymans
Envoyé : mardi 2 mars 2004 08:47
À : [EMAIL PROTECTED]
Objet : Re: Sub-sitemap static initialization
One thing I can think of that you could do is to wrap your sitemap mount
with an action.
The mounting sitemap:
How does the
Hmm, I tested it, and you're right. Finally, it's not completely what I wanted
to do. Any other ideas ?
> -Message d'origine-
> De : news [mailto:[EMAIL PROTECTED] De la part de Jorg Heymans
> Envoyé : mardi 2 mars 2004 08:47
> À : [EMAIL PROTECTED]
>
One thing I can think of that you could do is to wrap your sitemap mount
with an action.
The mounting sitemap:
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 some
This solution suits my needs. Thanks a lot! :-)
> -Message d'origine-
> De : Unico Hommes [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 1 mars 2004 21:45
> À : [EMAIL PROTECTED]
> Objet : Re: Sub-sitemap static initialization
>
>
> I'm not sure I un
I'm not sure I understand what you are trying to do.
At least you won't know what sitemap is going to process your request in
the CocoonServlet.
One thing I can think of that you could do is to wrap your sitemap mount
with an action.
The mounting sitemap:
The initscript would execu
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
11 matches
Mail list logo