> > > This gives me an error message when i want to call the page
> > > WARN    (2002-05-18) 11:15.04:125   [cocoon  ]
> > > (/cocoon/creon/search.html) Thread-12/sitemap_xmap: 404, try to
> > > process the error page
> > > org.apache.cocoon.ResourceNotFoundException: Resource not found
> > > file:/F:/Webserver/tomcat/webapps/cocoon/creon/
> >
> > Remember if an action returns null (no Map at all) all child
> > processing inside a pipeline is skipped and you are back
> > matching the request. ...so since you have no other match for
> > the request inside you pipelines you get a "resource not found"
>
> Yes I know this. Nut this isn't the problem. The action is working fine
> and doesn't return null. The problem is he doesn't find the stylesheets
> when it's inside the action.
>
> I copied the wrong error message.
>
> org.apache.cocoon.ResourceNotFoundException: Resource not found
> file:/search/search2.xml
>
> When I use it without the action it works fine.

Hm... why don't you use "search/search2.xml" (without slash) anyway?

> > > I also have a minor problem.
> > >
> > >    <map:match pattern="search.html">
> > >             <map:act set="EnablerSession"/>
> > >                <map:act type="CheckLogon">
> > >                  <map:generate src="/search/search2.xml"
> > > type="serverpages"/>
> > >                 <map:transform src="/search/SearchLayout.xml"/>
> > >                 <map:serialize type="html"/>
> > >               <map:act>
> > >     </map:match>
> > >
> > > When I wnat to use this he tells me I'm usign deprecated API. But
> > > isn't this the way to use action sets?
> >
> > Where does he tell?
> It told me that I#m using deprectaed api, and that he can't compile the
> sitempat because of this.

Could you please post the exact message / exception?
Try to close the action set just before the close of match...
--
Torsten


---------------------------------------------------------------------
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