VULAB-27: Communicate to VULab Web from RASCAL

Metadata

Source
VULAB-27
Type
New Feature
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
David Makalsky
Reporter
David Makalsky
Created
2008-09-16T10:52:29.000-0400
Updated
2014-03-04T09:04:56.663-0500
Versions
  1. 0.5B
Fixed Versions
  1. 0.5B
Component
  1. RASCAL

Description

Using a Javascript call, populate a hidden field in VULab Web with the video session ID generated by RASCAL

Comments

  • David Makalsky commented 2008-09-19T14:13:10.000-0400

    VULAB1

  • David Makalsky commented 2008-09-24T11:12:25.000-0400

    a getter in ScreencastApplet called ScreencastApplet.getSessionid() has been created. To access it via javascript on a page that has the applet embedded, simply call the getter as follows:

    function getSessionIdFromApplet(){
    document.example.id.value=document.rascal.getSessionid();

    }

    assuming the applet is named rascal as per the snippet below:

    <APPLET name="rascal" ARCHIVE="rascal.jar,jvftplib.jar" CODE=org.fluidproject.vulab.rac.ScreencastApplet.class WIDTH=200 HEIGHT=100></APPLET>

  • David Makalsky commented 2008-09-24T11:12:37.000-0400

    adding time

  • David Makalsky commented 2008-09-24T11:13:03.000-0400

    time added