You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by "Gregor J. Rothfuss" <gr...@apache.org> on 2003/07/09 14:13:15 UTC
what is document-url supposed to be?
>>
michi 2003/07/07 08:38:34
<menu>
@@ -14,6 +15,7 @@
<publication-id><xsp-lenya:publication-id/></publication-id>
<area><xsp-lenya:area/></area>
<document-id><xsp-lenya:document-id/></document-id>
+ <document-url><input:get-attribute module="page-envelope"
as="string" name="document-url"/></document-url>
<<
this is hardly the solution for
Michael Wechner wrote:
>>
In the case of the live URI the "menu/url-info/document-id" is being taken,
where the document-id seems to be the filename without the suffix (e.g.
html).
src/webapp/lenya/xslt/menu/menu.xsl
This might make sense in the case of the default publication, but it
doesn't have
to be true for any other publication and it's too restrictive with
regard to the choice of URLs.
<<
we agreed on well-understood terms for the various parts of a URI,
and adding yet another variable doesn't help.
if document-id doesn't provide the correct value for a publication then
either the publication needs to be fixed, or the document-id reexamined.
-gregor
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: what is document-url supposed to be?
Posted by Michael Wechner <mi...@wyona.org>.
Andreas Hartmann wrote:
> Michael Wechner wrote:
>
>> One problem seems to be that the document-id is just determined by
>> removing the suffix and the suffix is forgotten and the live URI cannot
>> be generated.
>
>
> But for this puropse you can use the document-url page envelope
> parameter, can't you?
well, that's what I am currently doing, but Gregor complained about it ;-)
Thanks
Michael
>
> Andreas
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
>
>
--
Michael Wechner
Wyona Ltd. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: what is document-url supposed to be?
Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
> One problem seems to be that the document-id is just determined by
> removing the suffix and the suffix is forgotten and the live URI cannot
> be generated.
But for this puropse you can use the document-url page envelope
parameter, can't you?
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: what is document-url supposed to be?
Posted by Michael Wechner <mi...@wyona.org>.
Andreas Hartmann wrote:
> Michael Wechner wrote:
>
>> the document-id needs to be reexamined
>
>
> Why? What is not sufficient / correct about the document-id?
One problem seems to be that the document-id is just determined by
removing the suffix and the suffix is forgotten and the live URI cannot
be generated.
Thanks
Michael
>
> Andreas
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
>
>
--
Michael Wechner
Wyona Ltd. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: what is document-url supposed to be?
Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
> the document-id needs to be reexamined
Why? What is not sufficient / correct about the document-id?
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: what is document-url supposed to be?
Posted by Michael Wechner <mi...@wyona.org>.
Gregor J. Rothfuss wrote:
> >>
> michi 2003/07/07 08:38:34
<snip />
> <<
>
> we agreed on well-understood terms for the various parts of a URI,
> and adding yet another variable doesn't help.
agreed
>
> if document-id doesn't provide the correct value for a publication then
> either the publication needs to be fixed, or the document-id reexamined.
the document-id needs to be reexamined
Thanks
Michael
>
> -gregor
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
>
>
--
Michael Wechner
Wyona Ltd. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org