URI Object Resolution on Detail Pages
Both of the above URLs are valid detail URLs for a page called
project-details. Structr uses the
name and the
id property of an object for detail object resolution by default. If the requested object was found, Structr will make it available under the current keyword.
The default behaviour can be overridden with the
HtmlServlet.resolveProperties setting in the structr.conf. Structr expects a comma-separated list of <Type.name> pairs like in the following example.
HtmlServlet.resolveProperties = AbstractNode.id, AbstractNode.name, MyEntity.originId
To keep the default behaviour and simply extend the resolution with an additional key, use the above line as an example.
- The Structr Knowledge Graph
- About Structr
- Getting Started
- Installation and Setup
- Working with Structr
- Advanced Topics