f:uri.external

This ViewHelper creates a link to an external page

Tip

If you specify an absolute URL like http:// or ftp:// you don't need to set defaultScheme.

Properties

uri

Variable type
String
Description
URL of the target page

Default value

Mandatory
Yes

defaultScheme

Variable type
String
Description
You can set the default scheme for this link, for example ftp or https
Default value
http
Mandatory
No

Example

{f:uri.external(uri: 'www.example.com', defaultScheme: 'https')}