Natürlich. ; D

Check out the component reference for DirectLink, ExternalLink, PageLink and ServiceLink - all these components have a "scheme" parameter. Set it to "https" to enable https - this will force the creation of an absolute URL if that scheme does not match that of the current request.

The scheme support is actually part of AbstractLinkComponent (because it implements ILinkComponent), so if you have any application-specific link components you can take advantage of this.

You might want to create a custom link component for your application to handle whether a link should be secure or not.

Component Reference links:
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/DirectLink.html
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/ExternalLink.html
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/PageLink.html
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/ServiceLink.html

API Doc links:
http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/link/AbstractLinkComponent.html
http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/components/ILinkComponent.html

-Filip

Korbinian Bachl skrev:
Hi Filip,

could you point me and others to the doc regarding https in T4 ?

Thanks and Regards,

Korbinian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to