MODULES Uize.Templates.HashTable
SEARCHEXAMPLESVIEW SOURCE CODE

1. Introduction

The Uize.Templates.HashTable module serializes a JavaScript object to a two column HTML table - column one for the keys and column two for the values.

DEVELOPERS: Chris van Rensburg

The Uize.Templates.HashTable module is a JavaScript Template Module that is automatically generated by a build script from a companion Uize.Templates.HashTable.js.jst JavaScript Template (.jst) file.

2. Public Static Methods

2.1. Uize.Templates.HashTable.process

Returns a string, being the generated HTML for the two column table.

SYNTAX

tableHtmlSTR = Uize.Templates.HashTable.process (inputOBJ);

The value of the inputOBJ parameter should be a hash object, where each key/value pair will be serialized as a row in the generated HTML table.

NOTES

the special keys idPrefix, pathToResources, and blankGif will not be serialized into the HTML table