<< Back - Alkacon logo

OpenCms 6.0 interactive documentation:

Flex examples set 3 - Overview page

OpenCms logo - Forward >>

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

file Exception test: Two level include cascade of a JSP that causes an exception     Show Source     Execute

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.

file Exception test: One level include cascade of a JSP that causes an exception     Show Source     Execute

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.

file Cascade test: JSP top level file     Show Source     Execute

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

file Cascade test: XML template top level file     Show Source     Execute

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

file Cascade test: JSP sub level file     Show Source     Execute

A JSP template that includes an XML temlplate.

file Cascade test: XML template top level file (no JSP subelements)     Show Source     Execute

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

file Cascade test: XML template sub level file     Show Source     Execute

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

file Include Test: Tag usage variations     Show Source     Execute

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

file Encoding Test 1: Simple .txt with default 'content-encoding'     Show Source     Execute

A plain text file with the default content encoding.

file Encoding Test 2: Simple .txt with 'content-encoding' set to ISO-8859-1     Show Source     Execute

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

file Encoding Test 3: JSP with 'content-encoding' property set to ISO-8859-1     Show Source     Execute

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

file Encoding Test 4: JSP with 'pageEncoding' set to UTF-8     Show Source     Execute

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

file Encoding Test 5: JSP without 'content-encoding' or 'pageEncoding' set     Show Source     Execute

A JSP page without content or page encoding set

file Encoding Test 6: XML Template page with default encoding     Show Source     Execute

A XML template based page with the default content encoding

file Encoding Test 7: XML Template page with encoding set to 'UTF-8'     Show Source     Execute

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

©2003-2005 Alkacon Software (http://www.alkacon.com) - The OpenCms experts