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
116 Red Hat Directory Server Gateway Customization Guide • April 2005
DS_EDITBUTTON
Displays a button which, when clicked, brings up an editable view of an entry. This
directive must appear within a
DS_ENTRYBEGIN...DS_ENTRYEND block. Typically used
in display templates.
Arguments
label=text. Use text as the label on the button. If not provided, the text Edit is used.
Example
<!-- DS_EDITBUTTON "label=Edit Person" -->
DS_DELETEBUTTON
Displays a button which, when clicked, allows deletion of an entry. This directive must
appear within a
DS_ENTRYBEGIN...DS_ENTRYEND block. Typically used in edit
templates.
Arguments
label=text. Use text as the label on the button. If not provided, the text Delete is used.
Example
<!-- DS_DELETEBUTTON "label=Remove Person" -->
DS_SAVEBUTTON
Displays a button which, when clicked, saves changes to an entry. Typically used in edit
templates. This directive must appear within a
DS_ENTRYBEGIN... DS_ENTRYEND
block.
Arguments
label=text. Use text as the label on the button. If not provided, the text Save is used.
checksubmit=javascript. Submit changes only if the javascript expression is
true.
Examples
<!-- DS_SAVEBUTTON "label=Save Changes" -->