You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by ma...@student.uni-ulm.de on 2003/10/28 13:55:52 UTC
resources in parent sitemap
Hi,
how can i address the parent sitemap's resources?
Mat
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: resources in parent sitemap
Posted by Mathias Wiegard <Ma...@student.uni-ulm.de>.
Thanks Joerg,
I didn't see your posting...
Mat
--
Mathias Wiegard
Sedanstraße 67
89077 Ulm
GERMANY
Fon: +49 (0731) 6031938
Email: mathias.wiegard@student.uni-ulm.de
> Von: Joerg Heinicke <jh...@virbus.de>
> Antworten an: users@cocoon.apache.org
> Datum: Tue, 28 Oct 2003 17:41:41 +0100
> An: users@cocoon.apache.org
> Betreff: Re: resources in parent sitemap
>
> On 28.10.2003 16:27, Antonio Gallardo wrote:
>
>>> Hi,
>>> how can i address the parent sitemap's resources?
>>
>>
>> Use the context protocol. Sample:
>>
>> context://stylesheets/mystylesheet.xslt
>
> Twice wrong :-)
>
> 1. <map:resource/> are not accessible from outside the sitemap they are
> declared.
>
> 2. cocoon:// to access pipelines in root sitemap. Parent sitemap
> directly is not possible. context:// points to webapp's context
> directory and is so file system based and no longer sitemap/cocoon based.
>
> Joerg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: resources in parent sitemap
Posted by Joerg Heinicke <jh...@virbus.de>.
On 28.10.2003 16:27, Antonio Gallardo wrote:
>>Hi,
>>how can i address the parent sitemap's resources?
>
>
> Use the context protocol. Sample:
>
> context://stylesheets/mystylesheet.xslt
Twice wrong :-)
1. <map:resource/> are not accessible from outside the sitemap they are
declared.
2. cocoon:// to access pipelines in root sitemap. Parent sitemap
directly is not possible. context:// points to webapp's context
directory and is so file system based and no longer sitemap/cocoon based.
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: resources in parent sitemap
Posted by Joerg Heinicke <jh...@virbus.de>.
On 28.10.2003 21:43, Antonio Gallardo wrote:
> Joerg Heinicke dijo:
>
>>Isn't my answer enough? :-)
>>
>>http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106735927130349&w=2
>>
>>It's not possible.
>
>
> lol :-P
>
> I don't understand what Mat has in mind.
>
> Hey, Mat can you explain more in depth what are you trying to do?
He simply wants to access a <map:resource/> declared in the parent
sitemap. Something like <map:call resource="super.myResource"/>.
Joerg
>>On 28.10.2003 19:05, mathias.wiegard@student.uni-ulm.de wrote:
>>
>>
>>>I want to access resources defined in a parent sitemap, like:
>>>
>>><map call:resource name="?!?/acme"/>
>>>
>>>Mat
>>>
>>>Zitat von Antonio Gallardo <ag...@agsoftware.dnsalias.com>:
>>>
>>>
>>>
>>>>>:) Ok, I was not clear enough. What I really mean are resources in
>>>>>the <resources>-Block... ;-)
>>>>
>>>>??
>>>>
>>>>Please explain a little more.
>>>>
>>>>Best Regards,
>>>>
>>>>Antonio Gallardo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: resources in parent sitemap
Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Joerg Heinicke dijo:
> Isn't my answer enough? :-)
>
> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106735927130349&w=2
>
> It's not possible.
lol :-P
I don't understand what Mat has in mind.
Hey, Mat can you explain more in depth what are you trying to do?
Antonio Gallardo
>
> Joerg
>
> On 28.10.2003 19:05, mathias.wiegard@student.uni-ulm.de wrote:
>
>> I want to access resources defined in a parent sitemap, like:
>>
>> <map call:resource name="?!?/acme"/>
>>
>> Mat
>>
>> Zitat von Antonio Gallardo <ag...@agsoftware.dnsalias.com>:
>>
>>
>>>>:) Ok, I was not clear enough. What I really mean are resources in
>>>> the <resources>-Block... ;-)
>>>
>>>??
>>>
>>>Please explain a little more.
>>>
>>>Best Regards,
>>>
>>>Antonio Gallardo
>
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: resources in parent sitemap
Posted by Oleg Dulin <du...@olegdulin.com>.
Why not ? This severely limits my refactoring efforts.
Is there any way to use something like CInclude in the sitemap ?
Regards,
Oleg
Joerg Heinicke wrote:
> Isn't my answer enough? :-)
>
> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106735927130349&w=2
>
> It's not possible.
>
> Joerg
>
> On 28.10.2003 19:05, mathias.wiegard@student.uni-ulm.de wrote:
>
>> I want to access resources defined in a parent sitemap, like:
>>
>> <map call:resource name="?!?/acme"/>
>>
>> Mat
>>
>> Zitat von Antonio Gallardo <ag...@agsoftware.dnsalias.com>:
>>
>>
>>>> :) Ok, I was not clear enough. What I really mean are resources in the
>>>> <resources>-Block... ;-)
>>>
>>>
>>> ??
>>>
>>> Please explain a little more.
>>>
>>> Best Regards,
>>>
>>> Antonio Gallardo
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: resources in parent sitemap
Posted by Joerg Heinicke <jh...@virbus.de>.
Isn't my answer enough? :-)
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106735927130349&w=2
It's not possible.
Joerg
On 28.10.2003 19:05, mathias.wiegard@student.uni-ulm.de wrote:
> I want to access resources defined in a parent sitemap, like:
>
> <map call:resource name="?!?/acme"/>
>
> Mat
>
> Zitat von Antonio Gallardo <ag...@agsoftware.dnsalias.com>:
>
>
>>>:) Ok, I was not clear enough. What I really mean are resources in the
>>><resources>-Block... ;-)
>>
>>??
>>
>>Please explain a little more.
>>
>>Best Regards,
>>
>>Antonio Gallardo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: resources in parent sitemap
Posted by ma...@student.uni-ulm.de.
I want to access resources defined in a parent sitemap, like:
<map call:resource name="?!?/acme"/>
Mat
Zitat von Antonio Gallardo <ag...@agsoftware.dnsalias.com>:
> > :) Ok, I was not clear enough. What I really mean are resources in the
> > <resources>-Block... ;-)
>
> ??
>
> Please explain a little more.
>
> Best Regards,
>
> Antonio Gallardo
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: resources in parent sitemap
Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
> :) Ok, I was not clear enough. What I really mean are resources in the
> <resources>-Block... ;-)
??
Please explain a little more.
Best Regards,
Antonio Gallardo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: resources in parent sitemap
Posted by ma...@student.uni-ulm.de.
:) Ok, I was not clear enough. What I really mean are resources in the
<resources>-Block... ;-)
Best regards,
Mat
Zitat von Antonio Gallardo <ag...@agsoftware.dnsalias.com>:
> > Hi,
> > how can i address the parent sitemap's resources?
>
> Use the context protocol. Sample:
>
> context://stylesheets/mystylesheet.xslt
>
> Best Regards,
>
> Antonio Gallardo
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: resources in parent sitemap
Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
> Hi,
> how can i address the parent sitemap's resources?
Use the context protocol. Sample:
context://stylesheets/mystylesheet.xslt
Best Regards,
Antonio Gallardo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org