in latest 1.3 the wicket path param should not be necessary because wicket
will scan your web.xml to find it for you

-igor


On 3/5/07, John Patterson <[EMAIL PROTECTED]> wrote:

I have reverted to Wicket 1.3 now because of this and the NPE problem
being thrown due to a null version manager.  So from what I remember...

I initially had no filterPath parameter in my web.xml because the
filter was mapped to the webroot /*

Then I copied the configuration from the phonebook app and found that
this did not work either and that the phonebook app is broken due to
this bug.

When debugging I could see that the method
WicketFilter.isWicketRequest() was testing /app (from the filterPath
arg) against /app/ and incorrectly returning false.

On 2 Mar 2007, at 17:45, Eelco Hillenius wrote:

> How did you configure the filter in web.xml?
>
> Eelco
>
> On 2/26/07, John Patterson <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I am trying to use the wicket filter in trunk but cannot get it to
>> respond to a url to my home page.  The same problem seems to happen
>> with the phonebook app.  When I run the phonebook app I enter http://
>> localhost:8080/phonebook which redirects to http://localhost:8080/
>> phonebook/app.
>>
>> The method WicketFilter.isWicketRequest() returns false and so the
>> request is ignored.
>>
>> John.
>>
>> ---------------------------------------------------------------------
>> ----
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?
>> page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to