ScriptView Examples

Examples Index ...
Confluence Notes

Run Examples

example jnlp jnlp Date of last change otml file most recent revision
xhtml-erb-view learner author Fri, 01 Aug 2008 14:35:40 GMT xhtml-erb-view.otml 14610
xhtml-javascript-view learner author Fri, 01 Aug 2008 14:35:40 GMT xhtml-javascript-view.otml 14610

MacOS X Java Web Start Problem

If you are using Java 1.5 on MacOS 10.4 or 10.5 you will almost certainly need to run some version of the fixes described on our How to fix Mac OS X WebStart bugs, once on each computer you run the Concord SAIL-OTrunk activities on. If you update Java on your Macintosh you will need to fix this problem again. The problem appears on Mac OS X computers when starting a Java Web Start program you have run before -- if a jar file needs to be updated the download process will freeze without completing.


Description of the difference between running an activity in learner mode and author mode

Running an OTrunk example in learner mode uses the default view mode which assumes a learner. In addition if you use the File menu to save the otml only the differences between the activity otml and the changes will be saved. The otml saved is the learner difference otml and is often much smaller than activty otml.

Running an OTrunk example in author mode sets the following jnlp properties:

Setting otrunk.view.author to true causes the entire OTrunk state to be saved as otml when a File save is performed. Setting otrunk.view.mode to authoring is used in the view system to enable authoring affordances in the views. Many examples do not have special authoring views. The Basic Example: document-edit.otml does have both authoring and student view modes.


All Files

OTViewer_XHTMLScriptView.launch
OTViewer_XHTML_ERB_View.launch
index.html
ot-index.html
scripts
xhtml-erb-view.otml
xhtml-javascript-view.otml

The jnlp urls were constructed using the following template:
http://saildataservice.concord.org/2/offering/144/jnlp/540/view?sailotrunk.otmlurl=%otml_url%&sailotrunk.hidetree=false
You can change this string by putting it in a file named: jnlp_url.tmpl in this directory