Nuxeo Server

WebEngine Tutorials

Updated: October 13, 2017 Page Information Edit on GitHub

Installation of samples is broken and has to be reviewed NXDOC-1022.

In this section we will go deeper into WebEngine model by proposing 5 samples on how to use common WebEngine concepts.

To install the sample modules you need to download the compiled JAR and copy them to the $NUXEO_HOME/nxserver/bundles directory.

To correctly understand the tutorials you need to look into all .java and .ftl files you find in the corresponding sample modules. Each sample is well documented in the corresponding classes using java docs.

You should download the binaries and sources (https://maven.nuxeo.org/nexus/index.html#nexus-search;gav~~nuxeo-webengine-samples*~~~) from our Maven repository.

Tutorial 1 - Hello World.

This tutorial demonstrates how to handle requests. This is the simplest object. It requires only one java class which represents the Resource (the entry point).

You can access the tutorial sample at: http://localhost:8080/nuxeo/site/samples/hello

Tutorial 2 - Using Templates

This tutorial demonstrates how to use templates to render dynamic content.

You can access the tutorial sample at: http://localhost:8080/nuxeo/site/samples/templating

Tutorial 3 - Web Object Model

This tutorial demonstrates the basics of the WebEngine Object Model. You can see how to create new Module Resources, Object Resources, Adapter Resources and views.

You can access the tutorial sample at: http://localhost:8080/nuxeo/site/samples/basics

Tutorial 4 - Working with Documents

This tutorial demonstrates how to access Nuxeo Platform Documents through WebEngine. You can access the tutorial sample at: http://localhost:8080/nuxeo/site/samples/documents

Tutorial 5 - Module Extensibility

This tutorial demonstrates how modules can be extended and how the links you are using in your templates can be managed to create easy to maintain and modular applications.

You can access the tutorial sample at: http://localhost:8080/nuxeo/site/samples/extended

9 days ago manonlumeau NXDOC-1346-FT review screenshot
2 years ago Solen Guitter 22 | dd link to atatched sample
2 years ago Damien Metzler 21
3 years ago Solen Guitter 20 | Remove 5.4 reference
6 years ago Solen Guitter 18
6 years ago Solen Guitter 19 | Migrated to Confluence 4.0
6 years ago Stéphane Lacoin 17
6 years ago Stéphane Lacoin 16
6 years ago Stéphane Lacoin 15
6 years ago Stéphane Lacoin 14
7 years ago Stéfane Fermigier 13
7 years ago Julien Carsique 12 | Updating the WebEngine sample paths
7 years ago Wojciech Sulejman 11 | Updating the WebEngine sample paths
7 years ago Bogdan Stefanescu 10
7 years ago Bogdan Stefanescu 9
7 years ago Bogdan Stefanescu 8
7 years ago Bogdan Stefanescu 7
7 years ago Bogdan Stefanescu 6
7 years ago Bogdan Stefanescu 5
7 years ago Bogdan Stefanescu 4
7 years ago Bogdan Stefanescu 3
7 years ago Bogdan Stefanescu 2
7 years ago Bogdan Stefanescu 1
History: Created by Bogdan Stefanescu