Issue
Some TGML javascript functions that work correctly in Vista Workstation stop working in Vista Webstation or break graphic performance.
The following errors have occurred.
Please correct these errors and/or contact the system administrator.
An unexpected exception has occurred:
Object reference not set to an instance of an object.
System.NullReferenceException
at TAC.WebStation.Modules.Graphics.TgmlLinkPage.CreateLinkData(TACOSTgmlPicture tgmlPicture, String oID)
at TAC.WebStation.Modules.Graphics.TgmlLinkPage.GetLinkList(TACOSTgmlPicture tgmlPicture, String[] oIDs)
at TAC.WebStation.Modules.Graphics.TgmlLinkPage.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Product Line
TAC Vista
Environment
- Vista Webstation 5.x.x
- Graphic Editor TGML 1.x.x
Cause
Due to the differences in Vista Workstation and Vista Webstation being viewed through internet browsers some TGML javascript functions will not function, function as expected, or cause your TGML graphic page to be unusable resulting in a Java error message.
Resolution
To make TGML graphic pages compatible with Vista Webstation remove the following functions:
- getDate
- getYear
- getMonth
- getDay
- getHour
- getMinute
- getSecond
To make TGML graphic pages compatible with Vista Webstation adjust the unexpected behavior of the following functions:
- setTimer - this function cannot be used in the OnDocumentLoad event
- getStatus - this function will always return a value of 2
- invoke - this function can only be used on links, not bindings.