Flex examples 3

This part of the documentation demonstrates the usage of JSP in OpenCms. The main themes of this set of examples are:

  • Exceptions thrown in included elements
  • Different cascadations of file inclusions (JSP and XML)
  • Encoding variants in text files, JSP and XML templates

This test shows how Exceptions thrown in an included sub - element that is actually included by another sub - element are displayed in the error dialog. You should be able to pinpoint the source of the exception from the provided information.

This test shows how Exceptions thrown in an included sub - element are displayed in the error dialog. You should be able to pinpoint the source of the exception from the provided information.

The top level JSP element, this file includes a 'cascade' of other templates of various file types.

This XML Template includes various other Template types to test corrosponding the resource loaders.

A JSP template that includes an XML template.

This XML Template includes another XML Template to test the default XMLTemplate mechanism's behaviour.

Very simple XML template that is included by other templates of the 'cascade' test.

This test shows how to use the cms:include tag with different kind of options / attributes.

A plain text file with the default content encoding.

A plain text file with the content encoding set to ISO-8859-1

A JSP page with the content encoding set to ISO-8859-1

A JSP page with the page encoding set to UTF-8

A JSP page without content or page encoding set

A XML template based page with the default content encoding

A XML template based page with the content encoding set to UTF-8