>From
getExternalService().getLink(false, esp), you can
get the absolute url of the desired destination.
The url would look like
https://www.something.com:443/.
Then manually replace https by http and ':443' by ''.
Then throw new RedirectException('modified url');
Shing
--- Jonathan Bélisle <[EMAIL PROTECTED]> wrote:
> Peter Schröder wrote:
> > hi jonathan,
> >
> > you may perform a redirect-after-post.
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Jonathan Bélisle
> [mailto:[EMAIL PROTECTED]
> > Gesendet: Dienstag, 13. Februar 2007 17:10
> > An: [email protected]
> > Betreff: ssl link
> >
> > Hi,
> >
> > I'm using tapestry 4.0.2 and I want to post a form
> with ssl.
> > I use the following line for my form :
> >
> > <form jwcid="@Form" scheme="https" port="443"
> listener="listener:doXXX"
> > delegate="ognl:beans.validationDelegate">
> >
> > The problem is that after I submit the form all
> the links in the
> > resulting page are with the https scheme.
> > How can I switch back to http after submitting the
> form.
> >
> >
> > Thanks, Jonathan
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> >
> >
> Hi,
>
> I've tried and it does not work. I'm doing it the
> following way :
>
> ExternalServiceParameter esp= new
> ExternalServiceParameter(pageName,
> parameters);
> getExternalService().getLink(false, esp);
>
> Still gets https links. Is there any way to
> specified the scheme ?
>
> Jonathan
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
Home page :
http://uk.geocities.com/matmsh/index.html
___________________________________________________________
Inbox full of unwanted email? Get leading protection and 1GB storage with All
New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]