Hi, all.
I tried to evaluate subj, but it's not working (Wt 2.2.2).

Then I tried default application (hello-widgetset) from examples and 
it's not working as well.
Application EntryType does work, but WidgetSet does not.
But in WidgetSet mode all callbacks are called and page seems to be 
rendered (I've put some logging code).

Then I went to firefox's error console and here is what I see:

Error: syntax error
Source File: http://localhost:8090/hello.wtjs?div=hello&Wt-history=Wt-history
Line: 926, Column: 5
Source Code:
  if (



Here's what I see when I open source file noted above (I skip first 
lines of file):

....

var load = function() {
  WT.history._initialize();
  if (!loaded) {
    loaded = true;
    ;
    update(null, 'load', null, false);
    keepAliveTimer = setTimeout(doKeepAlive, 300000);
  }
};

var currentHideLoadingIndicator = null;

var cancelFeedback = function(t) {
  clearTimeout(t);
  document.body.style.cursor = 'auto';

  if (currentHideLoadingIndicator != null) {
    try {
      currentHideLoadingIndicator();
    } catch (e) {
    }
    currentHideLoadingIndicator = null;
  }
};

var waitFeedback = function() {
  document.body.style.cursor = 'wait';
  currentHideLoadingIndicator = hideLoadingIndicator;
  showLoadingIndicator();
};

var handleResponse = function(msg, timer) {
  if (quited)
    return;

  try {
    eval(msg);
    Wt._p_.autoJavaScript();
  } catch (e) {
    alert("Wt internal error: " + e + ", code: " +  e.code 
     + ", description: " + e.description /* + ":" + msg */);
  }

  if (timer)
    cancelFeedback(timer);

  --responsesPending;

  if (pendingEvents.length > 0)
    sendUpdate(true);
};

var randomSeed = new Date().getTime();

var updateTimeout = null;

var update = function(self, signalName, e, feedback) {
  Wt._p_.autoJavaScript();

  if (



It seems that for some reason Wt stopped generating JavaScript after 
last 'if'.
Any ideas why could this happen?

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to