[EMAIL PROTECTED] wrote:

Silly me. I have an example you gave me but didn't see where the usecase was called in the sitemap. Now i see that usecases are mounted automatically by filename, eg: usecase-<lenya.usecase>.xmap.


correct

Thanks for the help!


very welcome

Michi

-Justin


-----Michael Wechner <[EMAIL PROTECTED]> wrote: -----

To: user@lenya.apache.org
From: Michael Wechner <[EMAIL PROTECTED]>
Date: 08/17/2005 05:27PM
Subject: Re: Matching urls with a usecase

[EMAIL PROTECTED] wrote:

> Hi Michi,
> > Thanks for the reply. I tried your suggestion (moving it up) but with > not luck. I did however get rid of the redirect and made my own > matcher for usecases (type="wired-usecase") and the matching works > great now. You are right about the matcher higher up though. It seems > like the lenya.usecase gets matched and doesnt get to my xmap. I'd > like to stick to the lenya way though, using the lenya.usecase instead > of wired.usecase. > > Is there something specific, local to my publication, I need to do to > match the lenya.usecase? As soon as I append it to the query string > all my pipelines are ignored.


have you created a usecase sitemap according to your usecase within your
publication, e.g.  usecase-wired.xmap  whereas the usecase would be
called by lenya.usecase=wired

HTH

Michi


> -Justin
>
> -----Michael Wechner <[EMAIL PROTECTED]> wrote: -----
>
> To: user@lenya.apache.org
> From: Michael Wechner <[EMAIL PROTECTED]>
> Date: 08/17/2005 10:32AM
> Subject: Re: Matching urls with a usecase
>
> [EMAIL PROTECTED] wrote:
>
> > ...
> >
> > With he above I get a:
> > org.apache.cocoon.ResourceNotFoundException: No pipeline matched > > request: wired/tab-workflow/index.html
> >
> > The tabs.xmap mounts correctly and redirects to the default tab url > > but after the redirect I can't get it to match the same url only with > > the query string. Not even with the ** pattern matches. Is there > > something I'm missing?
>
>
> maybe the request is being caught within a mounted sitemap "higher" up.
>
> I think Cocoon doesn't let a request out of a mounted sitemap (once it's > in there), although IIRC there is a possibility to this, but I don't > remember how (if at all).
>
> You might want to move your pipeline (mount) to the very top to test > what I am describing.
>
> HTH
>
> Michi
>
> >
> > --
> > Justin Hannus
> > Software Engineer | Lycos Inc.
> > [EMAIL PROTECTED]
> > [781] 370-2988
>
>
>
> -- > Michael Wechner
> Wyona      -   Open Source Content Management   -    Apache Lenya
> http://www.wyona.com                      http://lenya.apache.org
> [EMAIL PROTECTED]                        [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]


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



--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]


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

Reply via email to