controller-package-config_1_0.dtd Documentation

The chrysalis.xml file for the controller package contains configuration information for the controllers.

Attributes whose names are in italics are optional.

Tag Summary
class Tag holding configuration for a controller class.
config Root tag for the controller package configuration.
default Tag holding default views and errorpages for individual controllers or the entire controller package.
method Tag holding configuration for a controller method.

config

Root tag for the controller package configuration. It has configuration data for all the classes in the controller package.

Content: (default?, class*)

class

Tag holding configuration for a controller class.

Used in: config

Content: (default?, method*)

Attributes

  • name [CDATA]: The controller class's short class name.

default

Tag holding default views and errorpages for individual controllers or the entire controller package.

Used in: config, class

Content: Empty

Attributes

  • view [CDATA]: The default view for the controller or package.
  • errorpage [CDATA]: The default errorpage for the controller or package.

method

Tag holding configuration for a controller method.

Used in: class

Content: Empty

Attributes

  • name [CDATA]: The controller method's name.
  • parameters [CDATA]: The controller method's parameters (in a comma-delimited list).
  • defaults [CDATA]: The controller parameters defaults (in a comma-delimited list).
  • view [CDATA]: The default view for the controller method.
  • errorpage [CDATA]: The default errorpage for the controller method.
  • roles [CDATA]: The list of required user roles for security. If no roles are specified, no authentication is required. If the "AUTHENTICATED" role is specified, the user must be logged in, but need not belong to any particular role. If a comma-delimitted list of roles is specified, the user must belong to one of the specified roles.