> From: Zachary A Lendon [mailto:[EMAIL PROTECTED]]
> 
> 
> Thank you for the info.  I get the below error even when accessing the
> samples in cocoon.  I've tried various map permutations, and even
taken out
> everything else (pipeline related) out of my "framework" dir's
sitemap.  It
> looks like from below that the issue is with my main sitemap, but I've
> changed it back to the original!  From the java source, it appears to
be
> getting null when creating a new instance of EventPipeline...
> 
...
> 
> Here is my pipeline entry:
> <map:pipelines>
>   <map:pipeline>
> 
>      <map:match pattern="**">
>          <map:generate src="framework.xml"/>
>          <map:transform type="xslt" src="framework.xsl"/>
>          <map:parameter name="use-request-parameters" value="true"/>

What it is doing here?
I think you meant:

        <map:transform type="xslt" src="framework.xsl">
          <map:parameter name="use-request-parameters" value="true"/>
        </map:transform>

Vadim


>          <map:serialize/>
>    </map:match>
>     <map:handle-errors>
>      <map:transform
src="context://stylesheets/system/error2html.xsl"/>
>      <map:serialize status-code="404"/>
>    </map:handle-errors>
> 
>    <!-- samples automount -->
> 
>   </map:pipeline>
>  </map:pipelines>
> 
> 
> 
> 
>                     "Vadim Gritsenko"
>                     <vadim.gritsenko@ve     To:     <cocoon-
> [EMAIL PROTECTED]>
>                     rizon.net>              cc:
>                                             Subject:     RE: passing
request
> parameters to xsl using cocoon 2.x
> 
>                     04/23/2002 12:16 AM
>                     Please respond to
>                     cocoon-users
> 
> 
> 
> 
> 
> 
> > From: Zachary A Lendon [mailto:[EMAIL PROTECTED]]
> >
> >
> > My sitemap entry is in there.
> 
> These are transformer's declarations, I meant pipeline entry.
> 
> 
> > The page.xml file tells me what "logicsheet"
> > to use.
> 
> There is no way in Cocoon 2 you could do this.
> 
> 
> >  I'm not doing "mapping" persay in the sitemap file,
> 
> You must.
> 
> 
> > only trying to
> > make sure it transforms my xsl properly.  And it seems to not be
> processing
> > my requests properly,
> 
> Exactly my point - you must have appropriate pipeline entry.
> 
> 
> > and my syntax appears proper so I feel it must be a
> > setting thing.  Documentation is not clear on how to set up the
> sitemap so
> > that request parameters can be handled.  Is my sitemap entry below
> correct?
> >
> > > <map:transformers default="xslt">
> > >     <map:transformer logger="sitemap.transformer.xslt" name="xslt"
> > > pool-grow="2" pool-max="32" pool-min="8" src
> > > ="org.apache.cocoon.transformation.TraxTransformer">
> > >       <use-request-parameters>true</use-request-parameters>
> > >
> <use-browser-capabilities-db>false</use-browser-capabilities-db>
> > >       <use-deli>false</use-deli>
> > >     </map:transformer>
> > >
> > > <map:transformer name="xslt-with-parameters"
> > >     src="org.apache.cocoon.transformation.TraxTransformer">
> > >     <use-request-parameters>true</use-request-parameters>
> > >   </map:transformer>
> 
> Yes. Declarations are fine.
> 
> 
> > if not, how should it be?  If it is, why doesn't my sample from
below
> work?
> > Thank you all in advance for any help you might be able to
provide...
> 
> You should have pipeline which will use declared transformer.
> 
> Vadim
> 
> 
> >
> >                     "Vadim Gritsenko"
> >                     <vadim.gritsenko@ve     To:     <cocoon-
> > [EMAIL PROTECTED]>
> >                     rizon.net>              cc:
> >                                             Subject:     RE: passing
> request
> > parameters to xsl using cocoon 2.x
> >
> >                     04/19/2002 07:10 PM
> >                     Please respond to
> >                     cocoon-users
> >
> >
> >
> >
> >
> >
> > > From: Zachary A Lendon [mailto:[EMAIL PROTECTED]]
> > >
> > > In using the syntax:
> > > http://www.somesite.com/page.xml?param1=test
> > >
> > > and having an associated xsl stylesheet with:
> > >
> > > <?xml version="1.0"?>
> > > <xsl:stylesheet version="1.0" xmlns:xsl
> > > ="http://www.w3.org/1999/XSL/Transform"; xmlns:xsp
> > > ="http://www.apache.org/1999/XSP/Core";>
> > >
> > > <xsl:param name="param1"/>
> > > ..
> > > <h1><xsl:value-of select="$param1"/></h1>
> > >
> > > I am getting the page to render (in html) but am not getting the
> > request
> > > parameter values to show up.  Reading through the documentation, I
> > > attempted to do the following edits to sitemap.xmap:
> > > ..
> > > <map:transformers default="xslt">
> > >     <map:transformer logger="sitemap.transformer.xslt" name="xslt"
> > > pool-grow="2" pool-max="32" pool-min="8" src
> > > ="org.apache.cocoon.transformation.TraxTransformer">
> > >       <use-request-parameters>true</use-request-parameters>
> > >
> <use-browser-capabilities-db>false</use-browser-capabilities-db>
> > >       <use-deli>false</use-deli>
> > >     </map:transformer>
> > >
> > > <map:transformer name="xslt-with-parameters"
> > >     src="org.apache.cocoon.transformation.TraxTransformer">
> > >     <use-request-parameters>true</use-request-parameters>
> > >   </map:transformer>
> > > ..
> > >
> > > Any advice?  This seems simple...
> >
> > You forgot to tell what your sitemap entry looks like.
> >
> > Vadim
> >
> >
> >
---------------------------------------------------------------------
> > 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]>
> >
> >
> >
> >
> >
> > ==========
> > The preceding e-mail message (including any attachments) contains
> > information that may be confidential, be protected by the
> attorney-client
> > or other applicable privileges, or constitute non-public
information.
> It
> > is intended to be conveyed only to the designated recipient(s).  If
> you are
> > not an intended recipient of this message, please notify the sender
by
> > replying to this message and then delete it from your system.  Use,
> > dissemination, distribution, or reproduction of this message by
> unintended
> > recipients is not authorized and may be unlawful.
> > ==========
> >
> >
> >
> >
> >
---------------------------------------------------------------------
> > 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]>
> 
> 
> 
> 
> 
> ==========
> The preceding e-mail message (including any attachments) contains
> information that may be confidential, be protected by the
attorney-client
> or other applicable privileges, or constitute non-public information.
It
> is intended to be conveyed only to the designated recipient(s).  If
you are
> not an intended recipient of this message, please notify the sender by
> replying to this message and then delete it from your system.  Use,
> dissemination, distribution, or reproduction of this message by
unintended
> recipients is not authorized and may be unlawful.
> ==========
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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