AW: AW: SSL - ajax login

2009-07-28 Thread Arthur Leigh Allen
i use my own (graphic) buttons in wicket. after getting rid of my own code and just using a modified AjaxFallbackButton with overridden getCallbackUrl() method, the form was submitted but i could see an error in the error console of firefox (translated by me): security error: content from

AW: AW: SSL - ajax login

2009-07-27 Thread Arthur Leigh Allen
I'll try to find out more. Here is the output from wicket debug console: --- SSL-Link clicked: INFO: focus set on link34 INFO: Using XMLHttpRequest transport INFO: INFO: Initiating Ajax POST request on

AW: AW: SSL - ajax login

2009-07-27 Thread Arthur Leigh Allen
Hi again Igor, I did the following now: I called the website directly with https://localhost:8443/projectname and then I performed a login and it worked. Any idea? Thx Arthur Von: Igor Vaynberg igor.vaynb...@gmail.com An: users@wicket.apache.org Gesendet:

AW: AW: SSL - ajax login

2009-07-26 Thread Arthur Leigh Allen
Hi Igor, I used Firebug to have a look at the onClick event. I've inspected two links, one usual ajax link and one for the ssl login. Regarding the first link: href=?wicket:interface=:6:content:container:areaTop:2:panelTop:container:loginForm:linkForgotLogin:container:link::ILinkListener::

AW: AW: SSL - ajax login

2009-07-26 Thread Arthur Leigh Allen
btw: the xml code I saw showed me, that the login was successfully executed because login content was presented in the xml code. Von: Igor Vaynberg igor.vaynb...@gmail.com An: users@wicket.apache.org Gesendet: Freitag, den 24. Juli 2009, 21:51:48 Uhr Betreff:

AW: AW: SSL - ajax login

2009-07-24 Thread Arthur Leigh Allen
Hi Igor, I tried to do it as simple as possible so I returned https://localhost:8443/projectname in the overridden method getCallbackUrl of AjaxFormSubmitBehavior. The result was the same. The link pointed to the url http://locahost:8080/projectname/#. It seems to me that only relative pathes

AW: AW: AW: SSL - ajax login

2009-07-24 Thread Arthur Leigh Allen
it today However I would appreciate a response to the other questions. Thx Arthur Von: Arthur Leigh Allen arthurleigh.al...@yahoo.de An: users@wicket.apache.org Gesendet: Freitag, den 24. Juli 2009, 11:19:23 Uhr Betreff: AW: AW: SSL - ajax login Hi Igor, I tried

AW: AW: SSL - ajax login

2009-07-24 Thread Arthur Leigh Allen
no, sorry... the url is not changing to http://locahost:8080/projectname/# but when I hold the mouse pointer over the link, I see the url in the status bar. When I hold the mouse pointer over other links, I see very long urls a la

AW: AW: SSL - ajax login

2009-07-23 Thread Arthur Leigh Allen
Hi Igor, I did it as you said. I took the code from AjaxFallbackButton and I copied it to an own class. In the constructor I overwrite the getCallbackUrl() method of the AjaxFormSubmitBehavior. I added the value https://localhost:8443/projectname/ as a prefix to super.getCallbackUrl(). By the

AW: AW: SSL - ajax login

2009-07-22 Thread Arthur Leigh Allen
Hi again, I need to know if it's possible to switch to SSL via button or form. Otherwise I have to switch back to wicket 1.3.5. I'm in hurry because we will go online within the next 10-14 days. Can anyone give me a prompt answer please? Thx Best regards Arthur

Re: AW: AW: SSL - ajax login

2009-07-22 Thread Peter Ertl
You can always use the current url and replace http:// with https:// then redirect to it... WebRequest and WebRequest.getHttpServletRequest() provides you with all you need. if you do it in ajax you could use window.location.href to force the redirect from client side... Am

AW: AW: SSL - ajax login

2009-07-22 Thread Arthur Leigh Allen
that's a good hint, thanks a lot i already switched back to wicket 1.3.5 because there are too many changes and the time is too short to makes such changes now i'll try your suggestion Von: Igor Vaynberg igor.vaynb...@gmail.com An: users@wicket.apache.org