Installation guide
Table Of Contents
- Gateway Customization Guide
- Contents
- Preface
- Introduction
- Setting Up the Gateway
- Gateway Installation Planning
- HTTP Server Configuration
- Creating a New Gateway Instance
- Gateway .conf File Configuration
- Configuring Gateway Clients
- Gateway Localization
- File Controlling Gateway Functionality
- Editing Entry Types
- Search Attributes, Filters, and Results
- Customizing Graphics and Color
- Parameters Defined in the .conf File
- Gateway Directives
- Introduction
- Context-Related Directives
- Entry-Related Directives
- DS_ENTRYBEGIN
- DS_ENTRYEND
- DS_ATTRIBUTE
- DS_OBJECTCLASS
- DS_VIEW_SWITCHER
- DS_SORTENTRIES
- DS_SEARCHDESC
- DS_POSTEDVALUE
- DS_EDITBUTTON
- DS_DELETEBUTTON
- DS_SAVEBUTTON
- DS_EDITASBUTTON
- DS_NEWPASSWORD
- DS_CONFIRM_NEWPASSWORD
- DS_OLDPASSWORD
- DS_HELPBUTTON
- DS_CLOSEBUTTON
- DS_BEGIN_ENTRYFORM
- DS_END_ENTRYFORM
- DS_EMIT_BASE_HREF
- DS_DNEDITBUTTON
- DS_BEGIN_DNSEARCHFORM
- DS_ATTRVAL_SET
- IF/ ELSE/ ELIF/ ENDIF
- Miscellaneous Directives
- CGI Usage
- Index
- List of Tables

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.