[Pki-devel] [PATCH] 447 Refactored UI framework.

Endi Sukma Dewata edewata at redhat.com
Thu Apr 10 05:12:44 UTC 2014


Previously the content of table cells was generated by JavaScript
code. Now the content can be defined in the HTML template to allow
cleaner separation from the code. Attributes of the entry being
displayed in the row can now be specified in the template using
${attribute} notation. A special attribute called "parent" can be
used to refer to the attributes of the parent object. The current
templates have been modified to utilize this feature.

The renderIDColumn() in TableItem is no longer needed so it has been
removed. An open() method is added to handle any links in the cell.
The PropertiesTableItem has been moved into tps.js.

The "attributes" property in Dialog and EntryPage has been renamed
to "entry".

Ticket #654

-- 
Endi S. Dewata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-edewata-0447-Refactored-UI-framework.patch
Type: text/x-patch
Size: 33264 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20140410/db7688f0/attachment.bin>


More information about the Pki-devel mailing list