Extending Object Classes; Adding A Template For A Child Of A Parent Class - Red Hat DIRECTORY SERVER 7.1 - GATEWAY CUSTOMIZATION Manual

Gateway customization guide
Table of Contents

Advertisement

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>&nbsp;</TD>
<TD>&nbsp;</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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 7.1

Table of Contents