ActionLink

A link to an action stored in a resource which is not loaded as part of the editing resource set - it is loaded only during the generation. For example, action link reference may contain interpolation tokens and different actions can be linked based on generation configuration.

The linked action inherits this action link context. As such the same linked action linked by different action links may behave differently depending on the action link context/configuration. I.e. a link may create a different “instance” of linked action. In this case the linked action activator shall also be context dependent - otherwise different instances of the same action will point to the same resource/url.

Supertypes

Members

Attributes

description : EString

Link description.

Type EString
Cardinality 0..1

path : EString

If path is not blank then it is resolved against the context URI to produce a new context URI for the linked action. It can be used to organize generated content into folders in order to avoid name clashes or semantic references, e.g. index.html generated by one action overwriting index.html generated by another.

For example, if the linked action activator is click-me.html and the path is blank, then the linked action will be generated in the same folder as the parent of the action link. If the path is click-me-demo then the linked action content will be generated to click-me-demo/click.html.

https://www.nasdanika.org/builds/master/doc/ token can be used to define the uri relative to the base generation URI (output folder) instead of the parent URI. It might be useful it the parent URI is an absolute external URI. https://www.nasdanika.org/builds/master/doc/ ends with a slash, so there is no need to add a slash. E.g. https://www.nasdanika.org/builds/master/doc/click-me-demo.

Type EString
Cardinality 0..1

ref : EString

Action specification URL interpolated and then relsolved relative to the model location.

Type EString
Cardinality 0..1

title : EString

Link title to display in the editor.

Type EString
Cardinality 0..1