Re: [Wicket-user] HTTPS switching

2006-05-18 Thread Johan Compagner
that would be the way yes.On 5/18/06, Vincent Jenks [EMAIL PROTECTED] wrote: Because it's a shopping cart and either way a form has to besubmitted...so I'd rather do it when the form is submitted and nothave the extra step.I got around it by redirecting externally like the wiki shows, only I used

[Wicket-user] HTTPS switching

2006-05-17 Thread Vincent Jenks
OK, this discussion has been had before but IRC, it was determined that we could use ExternalLink to switch (which would work for me if it weren't a form.) However, what if I'm using a Button? Could an ExternalButton be rigged up that would somehow submit a form as well? Could I maybe redirect

Re: [Wicket-user] HTTPS switching

2006-05-17 Thread Johan Compagner
so your form is first in none https but the submit must go to https?Why would you do that? Why not first move to https then submit the form?Looks safer to me.But if you want you have to control the urlFor of the Form component. Override this to append the https and server part.johanOn 5/17/06,

Re: [Wicket-user] HTTPS switching

2006-05-17 Thread Vincent Jenks
Because it's a shopping cart and either way a form has to be submitted...so I'd rather do it when the form is submitted and not have the extra step. I got around it by redirecting externally like the wiki shows, only I used a url like this:

[Wicket-user] HTTPS switching

2006-03-22 Thread John Patterson
Hi, Is there a standard way to handle switching between http and https? Thanks, John. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live

Re: [Wicket-user] HTTPS switching

2006-03-22 Thread Vincent Jenks
I'm actually dying to know this myself as I'm in the throes of building a shopping cart that will need SSL at some point in the process.Can this in fact be done? Can part of my application somehow reside behind https? I'm sure it's been asked before but I don't see any examples of this

Re: [Wicket-user] HTTPS switching

2006-03-22 Thread Nick Heudecker
This was the subject of a long discussion on IRC. At the time the decision was to do nothing. I've been considering protecting certain pages using mounted URLs and servlet filters, but I haven't gotten past the consideration stage. Eelco and Martijn might be able to weigh in on the details of that

Re: [Wicket-user] HTTPS switching

2006-03-22 Thread tcolar
Tipycally i would leave the application server (tomcat, jetty) alone and run in on port 8080 or whatever then have apache runnin on port 80 and 443. then you configure apache ascially like this: everything on port 80 goes to port 8080, except if it's /cart/* then deny (or redirect to