Red Hat Version4.1 Benutzerhandbuch

Seite von 156
Object Class Attributes in Template Files
52 Netscape Directory Server Gateway Customization Guide
</TR>
To complete the row, two null cells are added. This maintains the HTML table 
format. For Asian character sets, substitute an ideograhpic space for the non-
breaking space (&nbsp;) shown in Example 5.2
Note
Attribute values are added in pairs. When adding a single attribute to an object 
class, remember to complete the table row.
Deleting Attributes from Object Classes
Deleting an attribute from an object class requires deleting a complete row or 
part of a row from the HTML table where the object is defined. Example 5.3 
shows the steps required to delete the mobile phone attribute from the 
orgperson object class.
Example 5.3 Deleting mobile phone attribute from orgperson object class
1.
Open display-orgperson.html template and delete the mobile phone 
attribute-value pair (boldfaced text below)
<TR>
<TD VALIGN=”TOP” NOWRAP>Pager:</TD>
<TD VALIGN=”TOP” NOWRAP><B>
<!-- DS ATTRIBUTE “attr=pager” “syntax=tel” “cols=>16” 
-->
</B></TD>
<TD VALIGN=”TOP” NOWRAP>Mobile Phone:</TD>
<TD VALIGN=”TOP” NOWRAP><B>
<!-- DS ATTRIBUTE “attr=mobile” “syntax=tel” “cols=>16” 
-->
</B></TD>
</TR>
2.
Insert a null pair to replace the deleted attribute (boldfaced below).
<TR>
<TD VALIGN=”TOP” NOWRAP>Pager:</TD>
<TD VALIGN=”TOP” NOWRAP><B>
<!-- DS ATTRIBUTE “attr=pager” “syntax=tel” “cols=>16” 
-->
</B></TD>