ActionAdapter

Instance class: org.nasdanika.vinci.app.ActionAdapter

Action adapter uses a named adapter factory to generate HTML action. The factory shall be for org.nasdanika.html.app.Action.Supplier.Factory type.

Supertypes

Members

  • Attributes
    • factory : EString - Named adapter factory.
    • 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.

Attributes

factory : EString

Named adapter factory.

Type EString
Cardinality 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://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://nasdanika.org/builds/master/doc/ ends with a slash, so there is no need to add a slash. E.g. https://nasdanika.org/builds/master/doc/click-me-demo.

Type EString
Cardinality 0..1