Sorry, this reply was meant for another thread :(

---------------------------------------------
               Luca Morandini
               GIS Consultant
              [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Luca Morandini [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 02, 2002 1:14 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Urgent: How do one access the context_root in SiteMap?
>
>
> Vadim,
>
> after a while I was able to set up OptimizeIt and find out that the memory
> consumption was due to an explosion in the number of int[] instances
> (27818), leading to a sudden increase of memory (20769KB).
>
> Most of these int[] are generated in
> org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes().
>
> Should I send you the snapshot (3+MB compressed) ?
>
> Best regards,
>
> ---------------------------------------------
>                Luca Morandini
>                GIS Consultant
>               [EMAIL PROTECTED]
> http://utenti.tripod.it/lmorandini/index.html
> ---------------------------------------------
>
>
> > -----Original Message-----
> > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 01, 2002 11:52 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Urgent: How do one access the context_root in SiteMap?
> >
> >
> > > From: Chitharanjan Das [mailto:[EMAIL PROTECTED]]
> > >
> > > Hello,
> > >   The following are my questions; I did not get much help from the
> > > user docs:
> > > 1. Is there a possibility to define global parameters for the Sitemap?
> > >   For eg: set a value say $global-context-root = /cocoon
> >
> > <map:pipeline>
> >   <map:act type="my-set-parameter-action">
> >     <map:parameter name="global-context-root" value="/cocoon"/>
> >
> >     ...
> >
> >   </map:act>
> > </map:pipeline>
> >
> >
> > > 2. In the generators like XSP's and File,  how does one refer to the
> > > context root
> > >   For eg:
> > >   <map:generate src="docs/samples/samples.xml"/>
> > >           The above statement looks for the document root of the
> > > sub-sitemap. But if I want to refer to the context root of application
> > > (/cocoon). How does one do it.
> >
> > <map:generate src="context://docs/samples/samples.xml"/>
> >
> >
> > > 3. The same as above but in context of map:redirect
> > >   I have a common URI for logout which is defined in the main
> > > sitemap
> > >   If I have to access this URI from sub sitemap I have to give a
> > > URL which contains the context
> > >           For eg:
> > >                   <map:redirect-to uri="/cocoon/logout" />
> >
> > Now you can use your parameter global-context-root.
> >
> > Vadim
> >
> >
> > >   I think it is not a good idea to hardcode the context root in
> > > the sitemap.
> > >
> > > To summarize,
> > >   How can one access the Context root in URI's and src attributes.
> > >
> > >
> > > Regds,
> > > Chiths
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.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/faqs.html>

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

Reply via email to