• SSJS not working in my MobileControlsDojo16.nsf :-( ?

    By Harald Osmann 1 decade ago

    Hello,

     

    I do not know what's wrong with my MobileControlsDojo16.nsf database, but SSJS does completly not work:

    A simple new XPage in this db with only one button SSJS code to print into the log does gives not give any response. Firebug only tells "XSP is not defined" . When I copy this simple XPage to an empty database (same ACL, also in root of my 8.5.2 server), it works without any problems.

    Any hint what's wrong with my Mobile Controls database?

    Thanks in advance,

     

    Harald

    • include mConfiguration

      By Niklas Heidloff 1 decade ago

      It loads the necessary xspclientdojo js file

      • Works in XPage but not in Custom Control

        By Harald Osmann 1 decade ago

        Thank you very much; now it work in existing and new XPages!

        But when I copy the code (or the button) into an existing custom control (e.g. myDocument), no SSJS is working...?

        • Still no SSJS in custom controls

          By Harald Osmann 1 decade ago

          Still got the problem: I add a button with a simple SSJS "print("Test");" into the myDocument custom control of the working demo database.... this does not work: No entry in the server log :-(. When I put the same button into into the XPage ("ViewandDocument"), it works.

          Any hint what goes wrong? Why does SSJS not fire inside of the custom controls of the demo? Someone else can confirm this problem?

           

          TIA, Harald

          • I see this too <eom>

            By sean cull 1 decade ago