You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Othman Haddad <oh...@neomalogic.com> on 2002/07/09 11:55:34 UTC

parameter request..

hello,
is it so difficuelt to get the value of a field in an xsp and select a
pipeline in function of it?
ie: 
i've an xsp which contains a file input: "x", the value of  "x" represent
xslt file which i want to apply on a "z.xml" file.

 please, i don't find any way to get a value of a field as a parameter to
apply it in my pipelines!!

thanks for your preciuos help

Re: Réf. : Re: parameter request..

Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 09.Jul.2002 -- 01:49 PM, Othman Haddad wrote:
> hi,
> thanks for your preciuos answer
> 
> >See docs for example (user docs -> concepts -> modules)
> you mean the docs of the snapshot cvs 2.1 version?

yes. 2.0 has it as well, but the feature I'm refering to is available
and documented only in 2.1

> 
> thanks
> 
> 
> De : cocoon-users@xml.apache.org
> Date : mardi 09 juillet 2002 12:20:43
> A : cocoon-users@xml.apache.org; Othman Haddad
> Sujet : Re: parameter request..
> 
> On 09.Jul.2002 -- 11:55 AM, Othman Haddad wrote:
> > hello,
> > is it so difficuelt to get the value of a field in an xsp and select a
> > pipeline in function of it?
> 
> Impossible, actually. Generators (e.g. XSP) are run only when the
> pipeline is already assembled.
> 
> You need to use an action for that. RequestParamAction comes to
> mind. With 2.1-dev you could use the RequestParameterInputModule
> instead. See docs for example (user docs -> concepts -> modules)
> 
> > thanks for your preciuos help
> 

Please correct the settings of you MUA that it doesn't send HTML and
doesn't send line endings (^M)

	Chris.

Please follow up summarizing your problem and which suggested solution
/ information worked for you when you consider your problem
solved. Add "SUMMARY: " to the subject line. This will make FAQ
generation and searching the list easier. In addition, it makes
helping you more fun. Thank you.

-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Réf. : Re: parameter request..

Posted by Othman Haddad <oh...@neomalogic.com>.
hi,
thanks for your preciuos answer

>See docs for example (user docs -> concepts -> modules)
you mean the docs of the snapshot cvs 2.1 version?

thanks

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

De : cocoon-users@xml.apache.org
Date : mardi 09 juillet 2002 12:20:43
A : cocoon-users@xml.apache.org; Othman Haddad
Sujet : Re: parameter request..

On 09.Jul.2002 -- 11:55 AM, Othman Haddad wrote:
> hello,
> is it so difficuelt to get the value of a field in an xsp and select a
> pipeline in function of it?

Impossible, actually. Generators (e.g. XSP) are run only when the
pipeline is already assembled.

You need to use an action for that. RequestParamAction comes to
mind. With 2.1-dev you could use the RequestParameterInputModule
instead. See docs for example (user docs -> concepts -> modules)

> thanks for your preciuos help

Please correct the settings of you MUA that it doesn't send HTML and
doesn't send line endings (^M)

Chris.

Please follow up summarizing your problem and which suggested solution
/ information worked for you when you consider your problem
solved. Add "SUMMARY: " to the subject line. This will make FAQ
generation and searching the list easier. In addition, it makes
helping you more fun. Thank you.

-- 
C h r i s t i a n H a u l
haul@informatik.tu-darmstadt.de
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


.

Re: parameter request..

Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 09.Jul.2002 -- 11:55 AM, Othman Haddad wrote:
> hello,
> is it so difficuelt to get the value of a field in an xsp and select a
> pipeline in function of it?

Impossible, actually. Generators (e.g. XSP) are run only when the
pipeline is already assembled.

You need to use an action for that. RequestParamAction comes to
mind. With 2.1-dev you could use the RequestParameterInputModule
instead. See docs for example (user docs -> concepts -> modules)

> thanks for your preciuos help

Please correct the settings of you MUA that it doesn't send HTML and
doesn't send line endings (^M)

	Chris.

Please follow up summarizing your problem and which suggested solution
/ information worked for you when you consider your problem
solved. Add "SUMMARY: " to the subject line. This will make FAQ
generation and searching the list easier. In addition, it makes
helping you more fun. Thank you.

-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>