Installation guide

Table Of Contents
Entry-Related Directives
114 Red Hat Directory Server Gateway Customization Guide • April 2005
DS_OBJECTCLASS
Describes the type of directory entries for which a given template should be used.
Arguments
value=value1,value2,...valueN. Specifies a list of object class values. For a template file
to be used to display a given entry, all of the values given must be values in the entry’s
objectClass attribute.
Example
<!-- DS_OBJECTCLASS "value=person,inetOrgPerson" -->
DS_VIEW_SWITCHER
Display a widget that provides access to all views that are appropriate for this entry.
Usually this directive will be used without any arguments at all, which causes a table that
contains one cell for each available view to be displayed.
Arguments
prefix=text. HTML text to emit before view elements (optional).
suffix=text. HTML text to emit after view elements (optional).
curprefix=text. HTML text to emit before the link to the current (active) view element
(optional).
cursuffix=text. HTML text to emit after the link to the current view element (optional).
altprefix=text. HTML text to emit before each link to an alternative view element
(optional).
altsuffix=text. HTML text to emit after each link to an alternative view element
(optional).
Example
<!-- DS_VIEW_SWITCHER -->
NOTE The gateway does not read the template files to determine which template
to use. Instead, it reads the
dsgw.conf file and scans the template lines in
that file.