Object Class Attributes in Template Files
Insert a null pair to replace the deleted attribute.
2.
<TR>
<TD VALIGN=
<TD VALIGN=
<!-- DS ATTRIBUTE
</B></TD>
<TD> </TD>
<TD> </TD>
</TR>
NOTE
Extending Object Classes
The gateway can be extended to support additional object classes. This requires changing
information in an existing object class template so that the gateway displays the associated
entry type.
NOTE
Adding a Template for a Child of a Parent Class
The easiest way to create a new object class is to extend an existing object class template,
adding and deleting attributes as necessary. The following example shows the steps
required to add a template for a new object class,
adds two custom attributes,
object class.
Copy the
1.
62
Red Hat Directory Server Gateway Customization Guide • April 2005
"
"
TOP
NOWRAP>Pager:</TD>
"
"
TOP
NOWRAP><B>
"
attr=pager
When deleting a single attribute-value pair from a row, replace the two
deleted cells with two cells containing the non-breaking space character.
This maintains the table width and ensures that the background colors are
rendered correctly.
When extending object class definitions, the child should appear below the
parent object class in the HTML file. Otherwise, the gateway cannot
correctly interpret the HTML syntax.
dateOfBirth
display-orgperson.html
display-exampleperson.html
" "
" "
syntax=tel
cols=>16
examplePerson
and
, to the
preferredOS
file, and rename it as
.
"
-->
. The new template
inetOrgPerson