-
Templating and Integration Guide
- Part 1: Concepts
- Part 2: Modules
- Part 3: Templates and Studio
- Part 4: Content Definitions and Views
- Part 5: Advanced Techniques
- Part 6: Setting up an integration environment
- Part 7: Step by step integration
- Further reading and resources
Principles
Any piece of content in Jahia can be created (POST), modified (PUT) or deleted (DELETE) using simple HTTP forms.
First let’s look at the basic setup of a form operation on Jahia content:
<form action="ACTION">
<input/>
</form>
ACTION may be of two types:
-
A path (/sites/ACME/home/page)
- PUT and DELETE methods: modify or delete the node that matches the path
-
POST method:
- If the node doesn’t exist: adds a node matching the path, if parents don’t exists, they are also created. The form data is then used to populate the properties of the node.
- If the node exists: the node is updated with the data submitted in the form
- If the action ends with /*: a node will be created, named after its associated type (specified in the form data).
-
An action (/sites/ACME/home.action.do)
- POST method: executes the action specified in the URL

