Every project brings with it opportunities to enrich the roiGlobal.js library and move more time sensitive user interactions to the client-side world of javascript, D-HTML, JSON, and AJAX. Yet even as I explore these new environments and tools I find myself re-creating patterns from the PWS / SUB.MT500 world. There are few things as elegant and powerful as the declaritive UI specificaton for a computer prompting a user which is called the PID in M2k geekspeak.
Following that pattern Manage 2000 7.3 web pages all have the equivalent of PID available. It is defined in roiGlobal.js based on a Prototype.js class called a Hash. It's name in nvcMetaData, and it is to the web function what PID(40) is to the PWS function. That is to say that dynamically altering the metadata item for an HTML textbox effectively controls its behavior. Thus, application behavior can be achieved by setting properties of the metadata instead of having to code up all the necessary javascript.