Check if sitemap will match.

2006-01-09 Thread Felix Röthenbacher
Hi Is it possible to check programmatically if a request will be matched in a sitemap, e.g. cocoon://test/test.html? I tried to use the SourceResolver but resolving a URL for a non-existing pipeline returns a source and calling source.exists() returns true. Thanks for your help Felix -- Felix

Status-code from sitemap

2005-11-17 Thread Felix Röthenbacher
) Send a content-less response with the given status code. Any help is appreciated - Felix -- Felix Röthenbacher [EMAIL PROTECTED] Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org

Accept timed out

2005-11-10 Thread Felix Röthenbacher
) at java.net.ServerSocket.accept(ServerSocket.java:419) at org.mortbay.util.ThreadedServer.acceptSocket(ThreadedServer.java:432) at org.mortbay.util.ThreadedServer$Acceptor.run(ThreadedServer.java:631) What might this exception mean in this context? Thanks for your help - Felix -- Felix

Request object with ServiceManager

2005-11-07 Thread Felix Röthenbacher
Hi is it possible to get the current Request object with the help of the ServiceManager? Thanks for your help - Felix -- Felix Röthenbacher [EMAIL PROTECTED] Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http

Re: Request object with ServiceManager

2005-11-07 Thread Felix Röthenbacher
Upayavira wrote: Felix Röthenbacher wrote: Hi is it possible to get the current Request object with the help of the ServiceManager? You're more likely to get the request object via the ObjectModel. If you have an object model, use ObjectModelHelper.getRequest(om). I'd need to know

Re: Request object with ServiceManager

2005-11-07 Thread Felix Röthenbacher
Upayavira wrote: Felix Röthenbacher wrote: Upayavira wrote: Felix Röthenbacher wrote: Hi is it possible to get the current Request object with the help of the ServiceManager? You're more likely to get the request object via the ObjectModel. If you have an object model, use

Re: Request object with ServiceManager

2005-11-07 Thread Felix Röthenbacher
Upayavira wrote: Felix Röthenbacher wrote: Upayavira wrote: Felix Röthenbacher wrote: Upayavira wrote: Felix Röthenbacher wrote: Hi is it possible to get the current Request object with the help of the ServiceManager? You're more likely to get the request object via

Re: Request object with ServiceManager

2005-11-07 Thread Felix Röthenbacher
Sylvain Wallez wrote: Upayavira wrote: Felix Röthenbacher wrote: snip/ Cocoon 2.1.x, Java Map om = CocoonComponentManager.getCurrentEnvironment().getObjectModel(); Eek! :-) Althought this works, this is an internal class that no more exists in the 2.2 branch

Re: Request object with ServiceManager

2005-11-07 Thread Felix Röthenbacher
Sylvain Wallez wrote: Felix Röthenbacher wrote: The best is if you have an Avalon context at hand (in an Avalon component, implement the Contextualizable interface). Is there such a component I can use with a method getContext() or do I have to create a new one for this purpose? Where

Re: [CForms/flow/ajax] Weird problem with ajax=true

2005-10-14 Thread Felix Röthenbacher
is to comment the workaround for safari ... I wonder why I didn't see this exception when running the cocoon samples ... ? - Felix Does anybody have seen this issue before with cforms and flow? Any ideas and input very welcome. salu2 -- Felix Röthenbacher [EMAIL PROTECTED