I have a page that contains a static text field. In the onBeforeDisplayEvent for the
page, I execute the code below which uses a user session object to set the value
of the static text field. When the page is displayed the static text field is empty,
but
the user session object & the static text field contain the correct value when they are
written to the log. The page works fine when its load method is executed from an
onWebEvent of another page. I'm having problems with it when the load method is
executed from a data objects onDataBaseErrorEvent. Does anybody have any idea
of what could cause this?
String msg = CSpider.getUserSessionObject("usMessage").toString();
CSpLog.send(this,CSpLog.ERROR, "session object - " + new CSpString(msg));
setDisplayFieldValue("stMsg", CSpider.getUserSessionObject("usMessage"));
CSpLog.send(this,CSpLog.ERROR, "static text field - " +
new
CSpString(getDisplayFieldValue("stMsg").toString()));
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]