I am not sure to understand what you want to do exactly.

-----Message d'origine-----
De: Othman Haddad [mailto:[EMAIL PROTECTED]]
Date: mercredi 10 juillet 2002 11:15
À: [EMAIL PROTECTED]
Objet: Réf. : RE: Réf. : RE: xsl vs cocoon



With 2.1-dev the RequestParameterInputModule can be used to to get the value
of a field in an xsp and select a pipeline in function of it ,but not
before!!!
do you have any other key to do that?
 
-------Message original-------
 
De : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
Date : mercredi 10 juillet 2002 10:52:33
A : '[EMAIL PROTECTED]' <mailto:[EMAIL PROTECTED]> 
Sujet : RE: Réf. : RE: xsl vs cocoon
 
> it's partially true, because right now (which is a pitty) there's no
sitemap element that can get a parameter value (which is sometimes very
important)... 

Can't you use an action to set a value for a sitemap variable, then use that
variable inside you component description?


hi,
i agree with olivier,..
>, you 
can also make a component conditionnal 
depending on (for example) a request parameter value in
the HTTP request

it's partially true, because right now (which is a pitty) there's no sitemap
element that can get a parameter value (which is sometimes very
important)... 




regards
othman

-------Message original-------

De : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  <
mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > 
Date : mercredi 10 juillet 2002 10:38:03
A : ' [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ' <
mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > 
Sujet : RE: xsl vs cocoon

Sure.

The sitemap.xmap file makes a mapping between URLs
received from client side to a Cocoon "pipeline".

A pipeline is a chain of java components
that create or modify a XML flux.

For a given URL, Cocoon parses the sitemap.xmap, gets
the corresponding pipeline description, creates 
the corresponding chain of java components and launches 
the first components (it is called a generator
because it is the one which creates the XML flux,
and sends it to the next component).

There is no problem if you want to specify
several XSLT components inside your pipeline.

Advanced feature:
When describing a pipeline in sitemap.xmap, you 
can also make a component conditionnal 
depending on (for example) a request parameter value in
the HTTP request, or may be the speed of the wind
(yes Cocoon is marvellous :-)

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. < http://xml.apache.org/cocoon/faq/index.html
<http://xml.apache.org/cocoon/faq/index.html> 
< http://xml.apache.org/cocoon/faq/index.html
<http://xml.apache.org/cocoon/faq/index.html> > >

To unsubscribe, e-mail: < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
< mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > >
For additional commands, e-mail: < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
< mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > >


.


________________________________________________________________
< http://www.incredimail.com/redir.asp?ad_id=312
<http://www.incredimail.com/redir.asp?ad_id=312&lang=12> &lang=12>
IncrediMail - La
messagerie électronique a enfin évolué -
< http://www.incredimail.com/redir.asp?ad_id=312
<http://www.incredimail.com/redir.asp?ad_id=312&lang=12> &lang=12> Cliquer
ici 




                        
________________________________________________________________
 <http://www.incredimail.com/redir.asp?ad_id=312&lang=12>   IncrediMail - La
messagerie électronique a enfin évolué -
<http://www.incredimail.com/redir.asp?ad_id=312&lang=12> Cliquer ici 

Attachment: ATT575595.gif
Description: GIF image

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to