FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



Apr 12, 2012, 5:43 AM
272 Posts

Re: executeOnServer() fails with new document

  • Category: Debugging
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 1
Hi,
 
the problem is caused by the following line:
 
   var form = (arguments[1]) ? this.findForm(arguments[1]) : dojo.query('form')[0];
 
where a not existing method is called. By changing this to
 
   var form = (arguments[1]) ? XSP.findForm(arguments[1]) : dojo.query('form')[0];
 
the function works as designed.
 
Sven
 

FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.