use-case [was :Re: how to use Input Modules ?]

2002-10-07 Thread Barbara Post

ok, following Christian's piece of advice/explaination (creating a *_new
instance_*) made it work although I have some bugs I will check tomorrow.

My only worry about global-parameters was that the initial proposal implied
a {/name_of_param} path that doesn't work for now (I did not look into the
code though).

I also have a pretty complicated (long) pipeline (pasted below but now with
the use of input modules, so everything prefixed by "baepp"  may be also a
global parameter), and use of global parameters with level 6 depth in the
path kept failing : {../../../../../../taminoserver}. I tried step by step,
every level. Anyway it was unreadable this way... and I could not reach my
XML database. How strange.

Sorry I am not very knowledgeable :-(

Barbara

   
   
   



 
 
 
  
  
  
   
   
   




 http://{baepp:taminoserver}/tamino/{baepp:taminodatabase}/{baepp:tami
nocollection}"/>
 
  
  
  
 
 
 
 
  
  
  
  
  
 
 
 
 
 
 
 
 
 
 
 
  http://{baepp:taminoserver}/tamino/{baepp:taminodatabase}/{baepp:tami
nocollection}"/>
  
  
  
  
 
 



   

   
   






   
   
   
   

   
   
   
   
  
  
  
   
   
   
   
   
   
  
  
  
  
   
  
  
  
 

   


- Original Message -
From: "Piroumian Konstantin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 07, 2002 3:30 PM
Subject: RE: how to use Input Modules ?


> Please let us know if you have any improvement suggestions or some real
> use-cases regarding the input modules (or global parameters)
>
> >
> > Please, do you have an idea when I can fully use sitemap
> > global parameters ? With {../../ ... } it gets messy to read,
> > and {/param} doesn't work for now... (10/03 CVS).
>
> Speaking frankly, I have no idea. Although, I've proposed the global
> parameters idea, but they were implemented by Carsten.
>
> IMO, input modules cover almost all the tasks that global parameters solve
> (except for the propogating values to sub-sitemaps in map:mount).
>
> --
>   Konstantin
>



-
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]>




RE: how to use Input Modules ?

2002-10-07 Thread Piroumian Konstantin

> From: Barbara Post [mailto:[EMAIL PROTECTED]] 
> 
> Thanks Konstantin, your warnings are welcome :-)
> I will have a look on cocoon-dev for more info...

Please let us know if you have any improvement suggestions or some real
use-cases regarding the input modules (or global parameters)

> 
> Please, do you have an idea when I can fully use sitemap 
> global parameters ? With {../../ ... } it gets messy to read, 
> and {/param} doesn't work for now... (10/03 CVS).

Speaking frankly, I have no idea. Although, I've proposed the global
parameters idea, but they were implemented by Carsten. 

IMO, input modules cover almost all the tasks that global parameters solve
(except for the propogating values to sub-sitemaps in map:mount).

--
  Konstantin 

> 
> Don't mean to offend.
> 
> Babs
> - Original Message -
> From: "Piroumian Konstantin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, October 07, 2002 2:03 PM
> Subject: RE: how to use Input Modules ?
> 
> 
> > First of all I should warn you to be careful with 
> InputModules until 
> > some oficial release, cause they are actively discussed 
> right now at 
> > the dev
> list
> > and they can be changed (names, behavior, interfaces). You have been
> warned.
> >
> > To use the DefaultsMetaModule you should tweak your 
> cocoon.xconf where 
> > the module is declared and add the values you need (just like the
> 'defaultSkin'
> >
> > and 'base-uri' values are declared) and then simply use it 
> like this 
> > in
> your
> > sitemap:
> >
> > 
> >
> > Change {defaults:skin} to {defaults:yourVariableName}.
> >
> > --
> >   Konstantin
> >
> > > -Original Message-
> > > From: Barbara Post [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, October 07, 2002 3:45 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: how to use Input Modules ?
> > >
> > >
> > > It seems that DefaultsMetaModule could fit my need : since I have 
> > > troubles with sitemap global parameters, they don't seem to work 
> > > well, how can I use Input Module to feed some variables 
> (constants 
> > > in fact) in ? It's not clear to me.
> > >
> > > Thanks for more info.
> > >
> > > Babs
> > >
> > >
> > > 
> 
> > > -
> > > 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]>
> > >
> >
> > 
> -
> > 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]>
> >
> 
> 
> -
> 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]>
> 

-
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]>




Re: how to use Input Modules ?

2002-10-07 Thread Barbara Post

Thanks Konstantin, your warnings are welcome :-)
I will have a look on cocoon-dev for more info...

Please, do you have an idea when I can fully use sitemap global parameters ?
With {../../ ... } it gets messy to read, and {/param} doesn't work for
now... (10/03 CVS).

Don't mean to offend.

Babs
- Original Message -
From: "Piroumian Konstantin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 07, 2002 2:03 PM
Subject: RE: how to use Input Modules ?


> First of all I should warn you to be careful with InputModules until some
> oficial release, cause they are actively discussed right now at the dev
list
> and they can be changed (names, behavior, interfaces). You have been
warned.
>
> To use the DefaultsMetaModule you should tweak your cocoon.xconf where the
> module is declared and add the values you need (just like the
'defaultSkin'
>
> and 'base-uri' values are declared) and then simply use it like this in
your
> sitemap:
>
> 
>
> Change {defaults:skin} to {defaults:yourVariableName}.
>
> --
>   Konstantin
>
> > -Original Message-
> > From: Barbara Post [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, October 07, 2002 3:45 PM
> > To: [EMAIL PROTECTED]
> > Subject: how to use Input Modules ?
> >
> >
> > It seems that DefaultsMetaModule could fit my need : since I
> > have troubles with sitemap global parameters, they don't seem
> > to work well, how can I use Input Module to feed some
> > variables (constants in fact) in ? It's not clear to me.
> >
> > Thanks for more info.
> >
> > Babs
> >
> >
> > -
> > 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]>
> >
>
> -
> 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]>
>


-
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]>




Re: how to use Input Modules ?

2002-10-07 Thread Christian Haul

On 07.Oct.2002 -- 04:03 PM, Piroumian Konstantin wrote:
> First of all I should warn you to be careful with InputModules until some
> oficial release, cause they are actively discussed right now at the dev list
> and they can be changed (names, behavior, interfaces). You have been warned.
> 
> To use the DefaultsMetaModule you should tweak your cocoon.xconf where the
> module is declared and add the values you need (just like the 'defaultSkin'
> and 'base-uri' values are declared) and then simply use it like this in your
> sitemap:
> 
> 
> 
> Change {defaults:skin} to {defaults:yourVariableName}.

I should add that it does make sense to have your own instance for
that. Just copy the declaration and use a different name for your
instance.

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
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. 

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




RE: how to use Input Modules ?

2002-10-07 Thread Piroumian Konstantin

First of all I should warn you to be careful with InputModules until some
oficial release, cause they are actively discussed right now at the dev list
and they can be changed (names, behavior, interfaces). You have been warned.

To use the DefaultsMetaModule you should tweak your cocoon.xconf where the
module is declared and add the values you need (just like the 'defaultSkin'
and 'base-uri' values are declared) and then simply use it like this in your
sitemap:



Change {defaults:skin} to {defaults:yourVariableName}.

--
  Konstantin

> -Original Message-
> From: Barbara Post [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, October 07, 2002 3:45 PM
> To: [EMAIL PROTECTED]
> Subject: how to use Input Modules ?
> 
> 
> It seems that DefaultsMetaModule could fit my need : since I 
> have troubles with sitemap global parameters, they don't seem 
> to work well, how can I use Input Module to feed some 
> variables (constants in fact) in ? It's not clear to me.
> 
> Thanks for more info.
> 
> Babs
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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