[Freeipa-devel] [PATCH] Restructuring details page.

Endi Sukma Dewata edewata at redhat.com
Mon Feb 7 15:20:40 UTC 2011


Previously the IPA.details_list_section can only be used with widgets
that generates <dd> tag because it uses the following structure:

<dl>
   <dt>Telephone Number:</dt>
   <span name="teleponenumber">
     <dd>111-1111</dd>
     <dd>222-2222</dd>
   </span>
</dl>

The <dd> tag was previously used to handle multi-valued attributes.
Since multi-valued attributes are now handled by the recently added
IPA.multivalued_text_widget, the structure can be changed as follows:

<dl>
   <dt>Telephone Number:</dt>
   <dd>
     <span name="telephonenumber">
       <div>111-1111</div>
       <div>222-2222</div>
     </span>
   </dd>
</dl>

This allows IPA.details_list_section to be used with any widgets
without requiring the <dd> tag.

-- 
Endi S. Dewata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-edewata-0094-Restructuring-details-page.patch
Type: text/x-patch
Size: 44478 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110207/ad2b8655/attachment.bin>


More information about the Freeipa-devel mailing list