Container page demo with different formatters.


Use the Dev Demo Article for this demo. The xsd file for the Dev Demo Article content type:
/system/modules/org.opencms.dev.demo/schemas/article.xsd


The template file for this containerpage:
/system/modules/org.opencms.dev.demo/templates/formatter_demo.jsp


The formatters for this example:
/system/modules/org.opencms.dev.demo/formatters/article/formatter-demo/


The used formatter for this example are configured in the sub sitemap configuration of this example:
/sites/default/dev-demo/formatter-demo/.content/.config

 
Container with width="200" attribute set in the template file.
Show Case 1

This formatter has the maxwidth=250 attribute set in the corresponding resource xsd file.

The note above describes the used formatter.

Container with width="400" set in the template file.
Show Case 2

This formatter has the minwidth="250" and maxwidth="500" attribute set in the corresponding resource xsd file.

The note above describes the used formatter.

Show Case 2a

This formatter has the minwidth="250" and maxwidth="500" attribute set in the corresponding resource xsd file.

The note above describes the used formatter.

Container with width="850" set in the template file.
Show Case 3

This formatter has the maxwidth="500" attribute set in the resource xsd file.

The note above describes the used formatter.

Show Case 3a

This formatter has the maxwidth="500" attribute set in the resource xsd file.

The note above describes the used formatter.

Show Case 3b

This formatter has the maxwidth="500" attribute set in the resource xsd file.

The note above describes the used formatter.

Container with type="leftbox" set in the template file.
Container with type="rightbox" set in the template file.
Show Case Type 1

This formatter has type="leftbox" attribute set in the resource xsd file.

The text above describes the used formatter.

Show Case Type 2

This formatter has type="rightbox" attribute set in the resource xsd file.

The note above describes the used formatter.