Hi
Unless you have a specific reason to use that Filter for authorization I
surgest that you take a look at SimplePageAuthorizationStrategy, which
allows you to define which pages should be protected:
http://www.wicketframework.org/apidocs/wicket/authorization/strategies/page/SimplePageAuthorizationStrategy.html
Then you don't have to worry about if the url is correct according to you
filter.
Frank
On 6/6/07, Scott Lusebrink < [EMAIL PROTECTED]> wrote:
I have a Filter which determines if a page is protected or not based of
the URI. If the page is protected and the user is not logged in then it
will redirect them to the login page. On a unprotected page (Request
Account) there is a form which submits their information for a new account.
the action of this form is rendering as
action="/paws?wicket:interface=:11:accountForm::IFormSubmitListener".
This makes the the URI /paws Is there a way to have this form action POST
to its page, to make it
action="/paws/AccountPage?wicket:interface=:11:accountForm::IFormSubmitListener".
Does the page know about its own mapping?
Otherwise I will have to a hack and check the QueryString on anything going to
/paws
Scott
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user