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
120 Red Hat Directory Server Gateway Customization Guide • April 2005
Arguments
None.
DS_ATTRVAL_SET
Display an attribute based on an attrvset as defined in the dsgw.conf file.
Arguments
set=name. Use information from attribute valueset name.
prefix=text. HTML text to emit before each attribute value element (optional).
suffix=text. HTML text to emit after each attribute value element (optional).
Plus any of the arguments supported by the
DS_ATTRIBUTE directive.
Example
<!-- DS_ATTRVAL_SET "set=CAL" "attr=nsLicensedFor" "type=checkbox"
"prefix=<TR><TD>" "suffix=</TD></TR>" -->
IF/ ELSE/ ELIF/ ENDIF
Set of directives that can be used to include HTML text conditionally.
Arguments for IF and ELIF
condition. Boolean condition; if true, include following block of text.
!condition. Boolean condition; if false, include following block of text.
Arguments for ELSE and ENDIF
None.
Table B-4 Conditions Supported for ELSE and ENDIF
Condition Arguments Description
FoundEntries none Are there any entries being displayed?
Adding none Is the entry being edited a new entry?
Editing none Are we editing an entry?