ui:id
Generates a base36 identifier that is unique per request.
This is used internally for the default value for the rootId prop in components. Its exposed as a ViewHelper for convenience.
This ViewHelper can be used whenever you need a unique ID in your templates and should not be used for cryptographic purposes.
Example
<f:variable name="myId">{ui:id()}</f:variable>
this will generate a unique id like «f4»
Arguments
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
prefix |
string | The prefix of the generated ID | No | 'f' |