2 Replies Latest reply on Feb 28, 2009 10:48 AM by kukeltje

    executing javascript in vpe?

    kukeltje

      Is it possible to include javascript in the generated visualdocument and have it 'run' like e.g. would happen on the 'onload' event? or any otherway?

      Or should I manually convert the javascript that runtime generates visual things (dojo ui components) to javacode in the templates? Or could it be made an extension to the VPE? What is easiest? No sorry... what is on the long term the best solution that is still feasible?

        • 1. Re: executing javascript in vpe?
          maxandersen

          javascript is explicitly disabled in VPE to ensure "no funny business" ;)

          We simulate those by generating some approximation per relevant javascript.

          The issue with enabling javascript is that you most likely won't be able to run the dojo javascript since the sourrounding xhtml/xml won't be what the javascript expect.

          But I guess for somethings it could be cool..

          • 2. Re: executing javascript in vpe?
            kukeltje

            Thanks, I kind of expected that. Simulation it will be (somewhere around x-mas :-))