You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Bruno Borges <br...@gmail.com> on 2011/08/15 03:44:59 UTC

Set RequestCycle to not try RequestHandlers for static resources

My Wicket app is mapped to / and because of that, lookups are being done for
static resources under /css, /js, /images and so on.

Is there any way to configure Wicket to not trying to find a RequestHandler
for these specific paths?

These paths are going to be processed by the container.

Thanks,

*Bruno Borges*
www.brunoborges.com.br
+55 21 76727099

Re: Set RequestCycle to not try RequestHandlers for static resources

Posted by Bruno Borges <br...@gmail.com>.
I've edited Wiki and added the description for ignorePaths parameter:

https://cwiki.apache.org/confluence/display/WICKET/Best+Practices+and+Gotchas#BestPracticesandGotchas-


*Bruno Borges*
www.brunoborges.com.br
+55 21 76727099



On Sun, Aug 14, 2011 at 10:56 PM, Bruno Borges <br...@gmail.com>wrote:

> Found...
>
> Add an init-param for WicketFilter named 'ignorePaths' with paths separated
> by comma.
>
> *Bruno Borges*
> www.brunoborges.com.br
> +55 21 76727099
>
>
>
> On Sun, Aug 14, 2011 at 10:44 PM, Bruno Borges <br...@gmail.com>wrote:
>
>> My Wicket app is mapped to / and because of that, lookups are being done
>> for static resources under /css, /js, /images and so on.
>>
>> Is there any way to configure Wicket to not trying to find a
>> RequestHandler for these specific paths?
>>
>> These paths are going to be processed by the container.
>>
>> Thanks,
>>
>> *Bruno Borges*
>> www.brunoborges.com.br
>> +55 21 76727099
>>
>>
>

Re: Set RequestCycle to not try RequestHandlers for static resources

Posted by Bruno Borges <br...@gmail.com>.
Found...

Add an init-param for WicketFilter named 'ignorePaths' with paths separated
by comma.
*Bruno Borges*
www.brunoborges.com.br
+55 21 76727099



On Sun, Aug 14, 2011 at 10:44 PM, Bruno Borges <br...@gmail.com>wrote:

> My Wicket app is mapped to / and because of that, lookups are being done
> for static resources under /css, /js, /images and so on.
>
> Is there any way to configure Wicket to not trying to find a RequestHandler
> for these specific paths?
>
> These paths are going to be processed by the container.
>
> Thanks,
>
> *Bruno Borges*
> www.brunoborges.com.br
> +55 21 76727099
>
>