Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-20 Thread Igor Vaynberg
that is pretty weird, what is your servlet mapping? -igor On 12/19/06, Carfield Yim [EMAIL PROTECTED] wrote: On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: no, you shouldnt, its really funny that it forwards to your logon page, is that your homepage? No, my homepage is other class.

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-20 Thread Carfield Yim
Thanks for remind, actually this is what the problem occur... If it is just servlet-mapping servlet-namewicket/servlet-name url-pattern/app/*/url-pattern /servlet-mapping Then everything is alright, but I had do is putting servlet-mapping

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-19 Thread Carfield Yim
I have, but in the AbstractPageAuthorizationStrategy, I have skip the registration.class already. In fact, I need the uri mapping work with authorization scheme, is it not possible? And even I remove that AbstractPageAuthorizationStrategy, I still have this behaviour. On 12/19/06, Erik van

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-19 Thread Igor Vaynberg
working fine over here, make sure your auth strategy really is skipping that class -igor On 12/19/06, Carfield Yim [EMAIL PROTECTED] wrote: On 12/19/06, Carfield Yim [EMAIL PROTECTED] wrote: I have, but in the AbstractPageAuthorizationStrategy, I have skip the registration.class already.

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-19 Thread Carfield Yim
On 12/19/06, Carfield Yim [EMAIL PROTECTED] wrote: I have, but in the AbstractPageAuthorizationStrategy, I have skip the registration.class already. In fact, I need the uri mapping work with authorization scheme, is it not possible? Just wonder, is it really cannot be done?

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-19 Thread Carfield Yim
On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: working fine over here, make sure your auth strategy really is skipping that class The strangle thing is that even if I remove the auth. logic, It still forward to

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-19 Thread Igor Vaynberg
no, you shouldnt, its really funny that it forwards to your logon page, is that your homepage? -igor On 12/19/06, Carfield Yim [EMAIL PROTECTED] wrote: On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: working fine over here, make sure your auth strategy really is skipping that class

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-19 Thread Carfield Yim
On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: no, you shouldnt, its really funny that it forwards to your logon page, is that your homepage? No, my homepage is other class. And eventually I found the solution, If I do mountBookmarkablePage(/signup, Registration.class); Then it forward

[Wicket-user] How can I do URL mapping in wicket?

2006-12-18 Thread Carfield Yim
This is much more complicate than what I thought, I try to add some code to isPageAuthorized() method when the user login as also change the onBeginRequest() method, but it does work and it is hard to figure out what going wrong. Is there already any support of URL mapping that say map

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-18 Thread Nick Heudecker
Are you talking about page mounting? Take a look at mountBookmarkablePage(...) in the Application class. On 12/18/06, Carfield Yim [EMAIL PROTECTED] wrote: This is much more complicate than what I thought, I try to add some code to isPageAuthorized() method when the user login as also change

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-18 Thread Carfield Yim
On 12/19/06, Nick Heudecker [EMAIL PROTECTED] wrote: Are you talking about page mounting? Take a look at mountBookmarkablePage(...) in the Application class. I don't know why but I cannot get it to work, After I add the map, say mountBookmarkablePage(/signup, Registration.class); If

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-18 Thread Erik van Oosten
Perhaps you made Registration protected with some kind of authorization scheme? Erik. Carfield Yim schreef: I don't know why but I cannot get it to work, After I add the map, say mountBookmarkablePage(/signup, Registration.class); If I go to URL: