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
_
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
An: users@wicket.apache.org
Gesendet: Mittwoch, den 22.
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 wa
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
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
http://localhost:8080/projectname/;jsessionid=wicket:interfac
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::
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
An: users@wicket.apache.org
Gesendet: Freitag, den 24. Juli 2009, 21:51:48 Uhr
Betreff: Re: AW: SSL - ajax login
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
https://localhost:8443/projectname/;jsessionid=039EAC776571BA623EA885F798AC6A10?wicket:interfa
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
An: users@wicket.apache.org
Gesendet: Sonntag, den 26. Juli 200
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
http:
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
esterday, I found it today
However I would appreciate a response to the other questions.
Thx
Arthur
Von: Arthur Leigh Allen
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 t
12 matches
Mail list logo