These files are an example customization to Continuus ChangeSynergy 3.x to provide matrix style reports. I left Telelogic before seeing Telelogic ChangeSynergy 4.0 so I don't know whether they will work as is. Matrix reports may actually be part of the product now since Irvine development had liked what I did and was considering putting it into the off the shelf product.

A common reporting requirement is a table of counts that, for example, summarize change requests by status or by developer. There was no provision for this in the product, so that the manager had to pull a summary and then do a hand count for their spreadsheets. The manager at the client site where I developed this practically begged me to write it.

The trick in doing counts in ChangeSynergy was to spread the Javascript across three templates. When the user runs a report, the servlets (Wslets) suck in the something_rpt.html file first, then include the something_attr.html file for each record returned by the back-end query and then finish by bringing in one something_ftr.html file. The rpt file defines the Javascript functions to count and then output the summary matrix. The attr file calls the count function with the next record. The ftr file then calls the output function and closes off the html.