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:

https://localhost:8443/MyApp/products?wicket:bookmarkablePage=:com.myapp.ui.UserAccount

Is that a bad idea or is there not a better way?

The cart is stateful so it seems to work fine.

On 5/17/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
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.

johan



On 5/17/06, Vincent Jenks <[EMAIL PROTECTED] > wrote:
>
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 to an external link instead?  I know this can
be done w/ non-wicket pages but would this be a problem when
redirecting to a wicket page?

I'm a little unsure how to proceed w/ this.

Thanks!


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to