you can try tweaking the form so that its action is https, so

class httpsform extens form {
  oncomponenttag(tag) {
     super.oncomponenttag(tag);
     string action=tag.get("action");
     action=requestutils.toabsoluteurl(action);
     action="https"+action.substring(4);
     tag.put("action", action);
  }}

-igor

On Fri, Oct 8, 2010 at 2:44 AM, Melinda Dweer <melinda.dw...@gmail.com> wrote:
> Hi,
>
> I has the following use case: I have some public pages (should be served
> over HTTP)  containing a sign in "panel" which must be submitted over HTTPs.
> I have though of doing this as follows:
>
> -use an iframe to host the sign in "panel": actually it would be a page
> served over HTTPs to the iframe.
> -once the user signs in serve a page to the iframe that contains JavaScript
> to get parent page to be redirected to the private area (served over HTTPs).
>
> I do not tried the above but I assume it might work. My question is if there
> is a cleaner/cleverer way to do this in wicket?
>
> Thanks in advance,
>
> Melinda
>

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

Reply via email to