Red Hat Version4.1 Manual Do Utilizador

Página de 156
Entry-Related Directives
96 Netscape Directory Server Gateway Customization Guide
options=option. Modifies how the attribute is displayed. Legal values are 
described in Table 7.7. 
defaultvalue=default-value . Supplies a default value for the attribute, which 
is shown if no attribute was read fromthe LDAP server. 
within=string-to-embed-in. For each value, outputs the text in string-to-
embed-in, replacing all occurrences ofthe string --value-- with an attribute 
value. 
href=href. Specifies the HREF used for the hyperlink. For example, you can 
specify anonMouseOver JavaScript handler using the "href=" option. 
hrefextra=extra-text. Specifies additional text which is inserted after the 
closing quote of the HREF tag. 
dncomponents=number. Gives the number of DN components to show 
when displaying a DN. For example, if you include "dncomponents=2" and 
display the DN "cn=James Doe, o=Netscape Communciations Corp, c=US", the 
output will be "James Doe, Netscape Communications Corp.". 
size=number. same as cols argument. 
Table 7.7 DS_ATTRIBUTE: Display of options Argument
Options
 Display
sort
sorted attribute values
nolink
do not attempt to display the attribute as a hyperlink
dntags
only applies when using syntax=dn - tags are displayed when 
showing DNs. Normally they are not displayed
dateonly
only applicable when using syntax=time - only display the date, 
omitting the time
readonly
when editing, do not allow the user to modify the attribute’s 
value
dnpicker
only applies when using syntax=dn - embed delete checkboxes 
and Javascript array info. needed for "Find and Add" (Not 
supported in DS 1.0)
 unique
enforce uniqueness when adding or editing values (Not 
supported in DS 1.0)