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¶
defaultScheme¶
- Variable type
- String
- Description
- You can set the default scheme for this link, for example
ftp
orhttps
- Default value
- http
- Mandatory
- No
Example¶
{f:uri.external(uri: 'www.example.com', defaultScheme: 'https')}