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

Endi Sukma Dewata edewata at redhat.com
Thu Apr 3 20:44:18 UTC 2014


A new tps.js has been added to store TPS-specific classes including
PropertiesTable and EntryWithPropertiesPage.

The Navigation has been refactored to simplify page registration.
The render() method now has to be called separately after instance
creation.

The Table has been refactored to improve reusability. The code that
handles a generic array of entry objects has been moved from the
PropertiesTable into the Table class. The code that handles a
Collection of Models has been moved into ModelTable. The Table now
supports entry sorting and attribute mapping. The Table also
supports view and edit modes. In view mode the Table will be
read-only. In edit mode the action buttons will appear.

The EntryPage has been refactored to handle a generic set of fields.
The editable fields can be specified in a list. The code related to
enable/disable buttons and properties table has been moved to
EntryWithPropertiesPage.

Some unused classes have been removed. Incorrect colum names in
the HTML templates have been fixed.

Ticket #654

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


More information about the Pki-devel mailing list