Re: Wicket 1.5.4 setResponsesPage() removing port from URL

2012-03-15 Thread relong
HttpsMapper was the culprit. I have now set it to only be used when in
production, not development. It works as expected now.

Thanks!

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-4-setResponsesPage-removing-port-from-URL-tp4475303p4475684.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wicket 1.5.4 setResponsesPage() removing port from URL

2012-03-15 Thread relong
All,

In Wicket 1.5.4, when I have a redirect using setResponsePage() on my test
Jetty server, the URL changes from localhost:8080/myapp to localhost/myapp,
which breaks things, obviously.

Here's a code snippet as an example of redirection:

In my Login.class file:

public void onSubmit(){
  

  RequestCycle.get().setResponsePage(new
RequestForm(username.getModelObject()));
}

Any reason why it removes the port from the URL? It didn't do this in
1.4.19. How should I fix this for 1.5?

Thanks!



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-4-setResponsesPage-removing-port-from-URL-tp4475303p4475303.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org