summaryrefslogtreecommitdiffstats
path: root/base/java-tools/src
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2014-04-03 16:41:26 -0400
committerEndi S. Dewata <edewata@redhat.com>2014-04-08 16:06:58 -0400
commit9b5c36b0698de90e5eaed423bd46c6056526590c (patch)
treee053bcd8228378edf0cb46ef159e4750475c09d7 /base/java-tools/src
parent8c34815e2a16de779da4f97900d8407dc7954da5 (diff)
downloadpki-9b5c36b0698de90e5eaed423bd46c6056526590c.tar.gz
pki-9b5c36b0698de90e5eaed423bd46c6056526590c.tar.xz
pki-9b5c36b0698de90e5eaed423bd46c6056526590c.zip
Refactored UI framework.
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
Diffstat (limited to 'base/java-tools/src')
0 files changed, 0 insertions, 0 deletions