cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivelin Ivanov" <ive...@apache.org>
Subject Re: [Question] sample-apps page
Date Mon, 20 May 2002 13:00:26 GMT

Thanks for the orientation.

Where is the "front page of refactored samples" in CVS?



----- Original Message -----
From: "Konstantin Piroumian" <kpiroumian@apache.org>
To: <cocoon-dev@xml.apache.org>
Sent: Monday, May 20, 2002 2:59 AM
Subject: Re: [Question] sample-apps page


> Hi Ivelin,
>
> From: "Ivelin Ivanov" <ivelin@apache.org>
> >
> > BTW, I am also wondering how to place an absolute link in the sitemap
> which
> > is relative to the application context path.
> > I was expecting that using
> >     <map:transform src="/stylesheets/xmlform/xmlform2html.xsl"/>
> > will be converted to
> > http://localhost:8080/cocoon/stylesheets/xmlform/xmlform2html.xsl
> > instead it became
> http://localhost:8080/stylesheets/xmlform/xmlform2html.xsl
> > which wasn't what I needed.
> > So now I use relative location which introduces dependency on the
location
> > of the xmlform demo.
> >           <map:transform
> src="../../stylesheets/xmlform/xmlform2html.xsl"/>
> >
> > What is a better solution in this case?
>
> Are you looking for
> <map:transform src="context://stylesheets/xmlform/xmlform2html.xsl"/> ?
>
> Btw, I would recommend to add new samples only to the refactored samples
> directory: /src/webapp/samples. You'll just have to move your subsitemap
and
> all the files from scratchpad 'mount' to /samples - it is also an
> automounted directory. See other samples to get the idea.
>
> Unfortunately, the front page of refactored samples is out of date and
seems
> that nobody have to time to fix it.
>
> Konstantin
>
> >
> >
> >
> > Ivelin
> >
> >
> > >
> > > Obviously there is a problem with linking the other way around too.
> > > You can make a link from the main documentation tree to the relevant
> > > sample. That will work from the Cocoon on localhost, but of course
> > > it results in a broken link on xml.apache.org/cocoon/
> > > --David
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message