|
|||
Flex examples 3This part of the documentation demonstrates the usage of JSP in OpenCms. The main themes of this set of examples are:
Exception test: Two level include cascade of a JSP that causes an exception 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. Exception test: One level include cascade of a JSP that causes an exception 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. Cascade test: JSP top level file The top level JSP element, this file includes a 'cascade' of other templates of various file types. Cascade test: XML template top level file This XML Template includes various other Template types to test corrosponding the resource loaders. Cascade test: JSP sub level file A JSP template that includes an XML temlplate. Cascade test: XML template top level file (no JSP subelements) This XML Template includes another XML Template to test the default XMLTemplate mechanism's behaviour. Cascade test: XML template sub level file Very simple XML template that is included by other templates of the 'cascade' test. Include Test: Tag usage variations This test shows how to use the cms:include tag with different kind of options / attributes. Encoding Test 1: Simple .txt with default 'content-encoding' A plain text file with the default content encoding. Encoding Test 2: Simple .txt with 'content-encoding' set to ISO-8859-1 A plain text file with the content encoding set to ISO-8859-1 Encoding Test 3: JSP with 'content-encoding' property set to ISO-8859-1 A JSP page with the content encoding set to ISO-8859-1 Encoding Test 4: JSP with 'pageEncoding' set to UTF-8 A JSP page with the page encoding set to UTF-8 Encoding Test 5: JSP without 'content-encoding' or 'pageEncoding' set A JSP page without content or page encoding set Encoding Test 6: XML Template page with default encoding A XML template based page with the default content encoding Encoding Test 7: XML Template page with encoding set to 'UTF-8' A XML template based page with the content encoding set to UTF-8 |
|||
©2005 Alkacon Software GmbH (http://www.alkacon.com) - The OpenCms experts |