ViewHelper Documentation


This ViewHelper renders the identifier of a persisted object (if it has an identity). Usually the identifier is the UUID of the object, but it could be an array of the identity properties, too.

Useful for using the identifier outside of the form view helpers (e.g. JavaScript and AJAX).

= Examples =

{ -> f:format.identifier()} 97e7e90a-413c-44ef-b2d0-ddfa4387b5ca // depending on {}

<f:format.json>{identifier: '{someObject -> f:format.identifier()}'}</f:format.json> {"identifier":"bf37f335-b273-4353-af77-fd8dc65cb66f"} // depending on the UUID of {someObject}


value anySimpleType

the object to render the identifier for, or NULL if VH children should be used

ViewHelper Resources

Schema Resources