[system] / trunk / pg / lib / Applet.pm Repository:
ViewVC logotype

Diff of /trunk/pg/lib/Applet.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 5661 Revision 5994
1################################################################################ 1################################################################################
2# WeBWorK Online Homework Delivery System 2# WeBWorK Online Homework Delivery System
3# Copyright 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/ 3# Copyright 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/
4# $CVSHeader: pg/lib/Applet.pm,v 1.8 2008/03/26 02:42:20 gage Exp $ 4# $CVSHeader: pg/lib/Applet.pm,v 1.14 2009/01/28 17:07:08 gage Exp $
5# 5#
6# This program is free software; you can redistribute it and/or modify it under 6# This program is free software; you can redistribute it and/or modify it under
7# the terms of either: (a) the GNU General Public License as published by the 7# the terms of either: (a) the GNU General Public License as published by the
8# Free Software Foundation; either version 2, or (at your option) any later 8# Free Software Foundation; either version 2, or (at your option) any later
9# version, or (b) the "Artistic License" which comes with this package. 9# version, or (b) the "Artistic License" which comes with this package.
99use MIME::Base64 qw( encode_base64 decode_base64); 99use MIME::Base64 qw( encode_base64 decode_base64);
100 100
101 101
102=head2 Default javaScript functions placed in header 102=head2 Default javaScript functions placed in header
103 103
104=pod
105
104These functions are automatically defined for use for 106These functions are automatically defined for use for
105any javaScript placed in the text of a PG question. 107any javaScript placed in the text of a PG question.
106 108
107 getApplet(appletName) -- finds the applet path in the DOM 109 getApplet(appletName) -- finds the applet path in the DOM
108 110
109 submitAction() -- calls the submit action of the applets 111 submitAction() -- calls the submit action of the applets
110
111 112
112 initializeAction() -- calls the initialize action of the applets 113 initializeWWquestion() -- calls the initialize action of the applets
113 114
114 getQE(name) -- gets an HTML element of the question by name 115 getQE(name) -- gets an HTML element of the question by name
115 or by id. Be sure to keep all names and ids 116 or by id. Be sure to keep all names and ids
116 unique within a given PG question. 117 unique within a given PG question.
117 118
118 getQuestionElement(name) -- long form of getQE(name) 119 getQuestionElement(name) -- long form of getQE(name)
119 120
120 listQuestionElements() -- for discovering the names of inputs in the 121 listQuestionElements() -- for discovering the names of inputs in the
121 PG question. An alert dialog will list all 122 PG question. An alert dialog will list all
122 of the elements. 123 of the elements.
123 Usage: Place this at the END of the question, 124 Usage: Place this at the END of the question, just before END_DOCUMENT():
124 just before END_DOCUMENT():
125 125
126 TEXT(qq!<script> listQuestionElements() </script>!); 126 TEXT(qq!<script> listQuestionElements() </script>!);
127 ENDDOCUMENT(); 127 ENDDOCUMENT();
128 to obtain a list of all of the HTML elements in the question
129
130 List of accessor methods made available by the FlashApplet class:
131 Usage: $current_value = $applet->method(new_value or empty)
132 These can also be set when creating the class -- for exampe:
133 $applet = new FlashApplet(
134 # can be replaced by $applet =FlashApplet() when using AppletObjects.pl
135 codebase => findAppletCodebase("$appletName.swf"),
136 appletName => $appletName,
137 appletId => $appletName,
138 submitActionAlias => 'checkAnswer',
139 );
128 140
129 list of accessor methods format: current_value = $self->method(new_value or empty)
130 141
131 appletId for simplicity and reliability appletId and appletName are always the same 142 appletId for simplicity and reliability appletId and appletName are always the same
132 appletName 143 appletName
133
134 archive the name of the .jar file containing the applet code 144 archive the name of the .jar file containing the applet code
135 code the name of the applet code in the .jar archive 145 code the name of the applet code in the .jar archive
136 codebase a prefix url used to find the archive and the applet itself 146 codebase a prefix url used to find the archive and the applet itself
137 147
138 height rectangle alloted in the html page for displaying the applet 148 height rectangle alloted in the html page for displaying the applet
139 width 149
140
141 params an anonymous array containing name/value pairs 150 params an anonymous array containing name/value pairs
142 to configure the applet [name =>'value, ...] 151 to configure the applet [name =>'value, ...]
143 152
144 header stores the text to be added to the header section of the html page 153 header stores the text to be added to the header section of the html page
145 object stores the text which places the applet on the html page 154 object stores the text which places the applet on the html page
146 155
147 debug in debug mode several alerts mark progress through the procedure of calling the applet 156 debug in debug mode several alerts mark progress through the procedure of calling the applet
148 157
149 config configuration are those customizable attributes of the applet which don't 158 config configuration are those customizable attributes of the applet which don't
150 change as it is used. When stored in hidden answer fields 159 change as it is used. When stored in hidden answer fields
151 it is usually stored in base64 encoded format. 160 it is usually stored in base64 encoded format.
152 base64_config base64 encode version of the contents of config 161 base64_config base64 encode version of the contents of config
153 162
154 configAlias (default: config ) names the applet command called with the contents of $self->config 163 configAlias (default: config ) names the applet command called with the contents of $self->config
155 to configure the applet. The parameters are passed to the applet in plain text using <xml> 164 to configure the applet. The parameters are passed to the applet in plain text using <xml>
156 The outer tags must be <xml> ..... </xml> 165 The outer tags must be <xml> ..... </xml>
157 state state consists of those customizable attributes of the applet which change 166 state state consists of those customizable attributes of the applet which change
158 as the applet is used. It is stored by the calling .pg question so that 167 as the applet is used. It is stored by the calling .pg question so that
159 when revisiting the question the applet 168 when revisiting the question the applet
160 will be restored to the same state it was left in when the question was last 169 will be restored to the same state it was left in when the question was last
161 viewed. 170 viewed.
162 171
163 getStateAlias (default: getState) alias for command called to read the current state of the applet. 172 getStateAlias (default: getState) alias for command called to read the current state of the applet.
164 The state is passed in plain text xml format with outer tags: <xml>....</xml> 173 The state is passed in plain text xml format with outer tags: <xml>....</xml>
165 setStateAlias (default: setState) alias for the command called to reset the state of the applet. 174 setStateAlias (default: setState) alias for the command called to reset the state of the applet.
166 The state is passed in plain text in xml format with outer tags: <xml>....</xml> 175 The state is passed in plain text in xml format with outer tags: <xml>....</xml>
167 176
168 base64_state returns the base64 encoded version of the state stored in the applet object. 177 base64_state returns the base64 encoded version of the state stored in the applet object.
169 178
170 initializeActionAlias -- (default: initializeAction) the name of the javaScript subroutine called to initialize the applet (some overlap with config/ and setState 179 initializeActionAlias -- (default: initializeAction) the name of the javaScript subroutine called to initialize the applet (some overlap with config/ and setState
171 submitActionAlias -- (default: submitAction)the name of the javaScript subroutine called when the submit button of the 180 submitActionAlias -- (default: submitAction)the name of the javaScript subroutine called when the submit button of the
172 .pg question is pressed. 181 .pg question is pressed.
182 answerBox -- name of answer box to return answer to: default defaultAnswerBox
183 getAnswer -- (formerly sendData) get student answer from applet and place in answerBox
184 returnFieldName -- (deprecated) synonmym for answerBox
173 185
174 returnFieldName
175
176
177
178
179 186
180=cut 187=cut
181 188
182 189
183 190
197 getStateAlias => 'getXML', 204 getStateAlias => 'getXML',
198 setStateAlias => 'setXML', 205 setStateAlias => 'setXML',
199 configAlias => 'config', 206 configAlias => 'config',
200 initializeActionAlias => 'setXML', 207 initializeActionAlias => 'setXML',
201 submitActionAlias => 'getXML', 208 submitActionAlias => 'getXML',
202 returnFieldName => 'receivedField', 209 submitActionScript => '', # script executed on submitting the WW question
210 answerBox => 'answerBox',
203 headerText => DEFAULT_HEADER_TEXT(), 211 headerText => DEFAULT_HEADER_TEXT(),
204 objectText => '', 212 objectText => '',
205 debug => 0, 213 debug => 0,
206 @_, 214 @_,
207 }; 215 };
250sub submitActionAlias { 258sub submitActionAlias {
251 my $self = shift; 259 my $self = shift;
252 $self->{submitActionAlias} = shift ||$self->{submitActionAlias}; # replace the current contents if non-empty 260 $self->{submitActionAlias} = shift ||$self->{submitActionAlias}; # replace the current contents if non-empty
253 $self->{submitActionAlias}; 261 $self->{submitActionAlias};
254} 262}
263sub submitActionScript {
264 my $self = shift;
265 $self->{submitActionScript} = shift ||$self->{submitActionScript}; # replace the current contents if non-empty
266 $self->{submitActionScript};
267}
255sub getStateAlias { 268sub getStateAlias {
256 my $self = shift; 269 my $self = shift;
257 $self->{getStateAlias} = shift ||$self->{getStateAlias}; # replace the current contents if non-empty 270 $self->{getStateAlias} = shift ||$self->{getStateAlias}; # replace the current contents if non-empty
258 $self->{getStateAlias}; 271 $self->{getStateAlias};
259} 272}
268 $self->{configAlias} = shift ||$self->{configAlias}; # replace the current contents if non-empty 281 $self->{configAlias} = shift ||$self->{configAlias}; # replace the current contents if non-empty
269 $self->{configAlias}; 282 $self->{configAlias};
270} 283}
271sub returnFieldName { 284sub returnFieldName {
272 my $self = shift; 285 my $self = shift;
273 $self->{returnFieldName} = shift ||$self->{returnFieldName}; # replace the current contents if non-empty 286 $self->{answerBox} = shift ||$self->{answerBox}; # replace the current contents if non-empty
274 $self->{returnFieldName}; 287 $self->{answerBox};
288}
289sub answerBox {
290 my $self = shift;
291 $self->{answerBox} = shift ||$self->{answerBox}; # replace the current contents if non-empty
292 $self->{answerBox};
275} 293}
276sub codebase { 294sub codebase {
277 my $self = shift; 295 my $self = shift;
278 $self->{codebase} = shift ||$self->{codebase}; # replace the current codebase if non-empty 296 $self->{codebase} = shift ||$self->{codebase}; # replace the current codebase if non-empty
279 $self->{codebase}; 297 $self->{codebase};
347 my $appletId = $self->appletId; 365 my $appletId = $self->appletId;
348 my $appletName = $self->appletName; 366 my $appletName = $self->appletName;
349 my $base64_initialState = $self->base64_state; 367 my $base64_initialState = $self->base64_state;
350 my $initializeAction = $self->initializeActionAlias; 368 my $initializeAction = $self->initializeActionAlias;
351 my $submitAction = $self->submitActionAlias; 369 my $submitAction = $self->submitActionAlias;
370 my $submitActionScript = $self->submitActionScript;
352 my $setState = $self->setStateAlias; 371 my $setState = $self->setStateAlias;
353 my $getState = $self->getStateAlias; 372 my $getState = $self->getStateAlias;
354 my $config = $self->configAlias; 373 my $config = $self->configAlias;
355 my $base64_config = $self->base64_config; 374 my $base64_config = $self->base64_config;
356 my $debugMode = ($self->debug) ? "1": "0"; 375 my $debugMode = ($self->debug) ? "1": "0";
357 my $returnFieldName = $self->{returnFieldName}; 376 my $returnFieldName = $self->{returnFieldName};
358# my $encodeStateQ = ($self->debug)?'' : "state = Base64.encode(state);"; # in debug mode base64 encoding is not used. 377 my $answerBox = $self->{answerBox};
359# my $decodeStateQ = "if (!state.match(/<XML>*/i) ) {state = Base64.decode(state)}"; # decode if <XML> is not present
360 my $headerText = $self->header(); 378 my $headerText = $self->header();
361 379
362 $headerText =~ s/(\$\w+)/$1/gee; # interpolate variables p17 of Cookbook 380 $headerText =~ s/(\$\w+)/$1/gee; # interpolate variables p17 of Cookbook
363 381
364 return $headerText; 382 return $headerText;
387 405
388 $objectText = $self->{objectText}; 406 $objectText = $self->{objectText};
389 $objectText =~ s/(\$\w+)/$1/gee; 407 $objectText =~ s/(\$\w+)/$1/gee;
390 return $objectText; 408 return $objectText;
391} 409}
392sub initialize { 410# sub initialize {
393 my $self = shift; 411# my $self = shift;
394 return q{ 412# return q{
395 <script> 413# <script>
396 initializeAction(); 414# initializeAllApplets();
397 // this should really be done in the <body> tag 415# // this should really be done in the <body> tag
398 </script> 416# </script>
399 }; 417# };
400 418#
401} 419# }
402######################################################## 420########################################################
403# HEADER material for one flash or java applet 421# HEADER material for one flash or java applet
404######################################################## 422########################################################
405 423
406use constant DEFAULT_HEADER_TEXT =><<'END_HEADER_SCRIPT'; 424use constant DEFAULT_HEADER_TEXT =><<'END_HEADER_SCRIPT';
407 425 <script src="/webwork2_files/js/Base64.js" language="javascript">
426 </script>
427 <script src="/webwork2_files/js/ww_applet_support.js">
428 //upload functions stored in /opt/webwork/webwork2/htdocs/js ...
429 </script>
408 <script language="JavaScript"> 430 <script language="JavaScript">
431
432 // set debug mode for this applet
433 set_debug($debugMode);
434
435 //////////////////////////////////////////////////////////
436 //TEST code
437 //
438 //
439 //////////////////////////////////////////////////////////
440
441 ww_applet_list["$appletName"] = new ww_applet("$appletName");
442
443
444 ww_applet_list["$appletName"].code = "$code";
445 ww_applet_list["$appletName"].codebase = "$codebase";
446 ww_applet_list["$appletName"].appletID = "$appletID";
447 ww_applet_list["$appletName"].base64_state = "$base64_initializationState";
448 ww_applet_list["$appletName"].base64_config = "$base64_config";
449 ww_applet_list["$appletName"].getStateAlias = "$getState";
450 ww_applet_list["$appletName"].setStateAlias = "$setState";
451 ww_applet_list["$appletName"].configAlias = "$config";
452 ww_applet_list["$appletName"].initializeActionAlias = "$initializeAction";
453 ww_applet_list["$appletName"].submitActionAlias = "$submitAction";
454 ww_applet_list["$appletName"].submitActionScript = "$submitActionScript";
455 ww_applet_list["$appletName"].answerBox = "$answerBox";
456 ww_applet_list["$appletName"].debug = "$debugMode";
457
409 458
410 ////////////////////////////////////////////////////////// 459 //////////////////////////////////////////////////////////
411 //CONFIGURATIONS 460 //CONFIGURATIONS
412 // 461 //
413 // configurations are "permanent" 462 // configurations are "permanent"
414 ////////////////////////////////////////////////////////// 463 //////////////////////////////////////////////////////////
415 464
416 applet_config_list["$appletName"] = function() { 465// applet_config_list["$appletName"] = function() {
417 debug_add("applet_config_list:\n configure $appletName . $config ( $base64_config )" 466// debug_add("applet_config_list:\n attempt to configure $appletName . $config ( $base64_config ) if config function is defined: "
418 + typeof(getApplet("$appletName").$config)
419 ); 467// );
420 try { 468// try {
421 if (( typeof(getApplet("$appletName").$config) == "function" ) ) { 469// if (( typeof(getApplet("$appletName").$config) == "function" ) ) {
422 debug_add("configure $appletName"); 470// debug_add("CONFIGURE $appletName");
423 getApplet("$appletName").$config(Base64.decode("$base64_config")); 471// getApplet("$appletName").$config(Base64.decode("$base64_config"));
424 } 472// }
425 } catch(e) { 473// } catch(e) {
426 alert("Error executing configuration command $config for $appletName: " + e ); 474// alert("Error executing configuration command $config for $appletName: " + e );
427 } 475// }
428 } 476// }
429 //////////////////////////////////////////////////////////// 477// ////////////////////////////////////////////////////////////
430 // 478// //
431 //STATE: 479// //STATE:
432 // state can vary as the applet is manipulated -- it is reset from the questions _state values 480// // state can vary as the applet is manipulated -- it is reset from the questions _state values
433 // 481// //
434 ////////////////////////////////////////////////////////// 482// //////////////////////////////////////////////////////////
435 483//
436 applet_setState_list["$appletName"] = function(state) { 484// applet_setState_list["$appletName"] = function(state) {
437 debug_add("Begin setState"); 485// debug_add("Begin setState for applet $appletName");
486// debug_add("Obtain state from $appletName"+"_state");
438 state = state || getQE("$appletName"+"_state").value; 487// state = state || getQE("$appletName"+"_state").value;
439 if ( base64Q(state) ) { 488// if ( base64Q(state) ) {
440 state=Base64.decode(state); 489// state=Base64.decode(state);
441 } 490// }
442 if (state.match(/<xml/i) || state.match(/<?xml/i) ) { // if state starts with <?xml 491// if (state.match(/<xml/i) || state.match(/<?xml/i) ) { // if state starts with <?xml
443 492//
444 debug_add("applet_setState_list: \n set (decoded) state for $appletName to " + 493// debug_add("applet_setState_list: \n set (decoded) state for $appletName to " +
445 state +"\nfunction type is " +typeof(getApplet("$appletName").$setState) 494// state +"\nfunction type is " +typeof(getApplet("$appletName").$setState)
446 ); 495// );
447 try { 496// try {
448 if (( typeof(getApplet("$appletName").$setState) =="function" ) ) { 497// if (( typeof(getApplet("$appletName").$setState) =="function" ) ) {
449 debug_add("setState for $appletName"); 498// debug_add("setState for $appletName");
450 getApplet("$appletName").$setState( state ); 499// getApplet("$appletName").$setState( state );
451 } 500// }
452 } catch(e) { 501// } catch(e) {
453 alert("Error in setting state of $appletName using command $setState : " + e ); 502// alert("Error in setting state of $appletName using command $setState : " + e );
454 } 503// }
455 } else if (debug) { 504// } else if (debug) {
456 alert("new state was empty string or did not begin with <xml-- state was not reset"); 505// alert("new state was empty string or did not begin with <xml-- state was not reset");
457 } 506// }
458 }; 507// };
459 applet_getState_list["$appletName"] = function () { 508// applet_getState_list["$appletName"] = function () {
460 if (debug) { alert("getState for applet $appletName");} 509// debug_add("get current state for applet $appletName and store it in $appletName"+"_state");
461 var applet = getApplet("$appletName"); 510// var applet = getApplet("$appletName");
462 try { 511// try {
463 if (( typeof(applet.$getState) == "function" ) ) { // there may be no state function 512// if (( typeof(applet.$getState) == "function" ) ) { // there may be no state function
464 state = applet.$getState(); // get state in xml format 513// state = applet.$getState(); // get state in xml format
514// debug_add("state has type " + typeof(state));
515// state = String(state); // geogebra returned an object type instead of a string type
516// debug_add("state converted to type " + typeof(state));
465 } 517// }
466 if (debug) alert("state is " + state); 518//
467 if (!debug) {state = Base64.encode(state) }; // replace state by encoded version unless in debug mode 519// if (!debug) {
520// state = Base64.encode(state);
521// }; // replace state by encoded version unless in debug mode
522//
523// debug_add("state is "+state); // this should still be in plain text
468 getQE("$appletName"+"_state").value = state; //place in state htmlItem (debug: textarea, otherwise hidden) 524// getQE("$appletName"+"_state").value = state; //place state in input item (debug: textarea, otherwise: hidden)
469 } catch (e) { 525// } catch (e) {
470 alert("Error in getting state for $appletName " + e ); 526// alert("Error in getting state for $appletName " + e );
471 } 527// }
472 }; 528// };
473 529//
474 //////////////////////////////////////////////////////////// 530// ////////////////////////////////////////////////////////////
475 // 531// //
476 //INITIALIZE 532// //INITIALIZE
477 // 533// //
478 //////////////////////////////////////////////////////////// 534// ////////////////////////////////////////////////////////////
479 535//
480 536//
481 applet_checkLoaded_list["$appletName"] = function() { // this function returns 0 unless: 537// applet_checkLoaded_list["$appletName"] = function() { // this function returns 0 unless:
482 // applet has already been flagged as ready in applet_isReady_list 538// // applet has already been flagged as ready in applet_isReady_list
483 // applet.config is defined (or alias for .config) 539// // applet.config is defined (or alias for .config)
484 // applet.setState is defined 540// // applet.setState is defined
485 // applet.isActive is defined 541// // applet.isActive is defined
486 // applet reported that it is loaded by calling loadQ() 542// // applet reported that it is loaded by calling loadQ()
487 var ready = 0; 543// var ready = 0;
488 var applet = getApplet("$appletName"); 544// var applet = getApplet("$appletName");
489 if (!debug && applet_isReady_list["$appletName"]) {return(1)}; // memorize readiness in non-debug mode 545// if (!debug && applet_isReady_list["$appletName"]) {return(1)}; // memorize readiness in non-debug mode
490 if ( typeof(applet.$config) == "function") { 546// if ( typeof(applet.$config) == "function") {
491 debug_add( "applet.config is " + typeof(applet.$config) ); 547// debug_add( "applet.config is " + typeof(applet.$config) );
492 ready = 1; 548// ready = 1;
493 } 549// }
494 if( typeof(applet.$getState) == "function") { 550// if( typeof(applet.$getState) == "function") {
495 debug_add( "applet.getState is " + typeof(applet.$getState) ); 551// debug_add( "applet.getState is " + typeof(applet.$getState) );
496 ready =1; 552// ready =1;
497 } 553// }
498 if (typeof(applet.isActive) == "function" && applet.isActive ) { 554// if (typeof(applet.isActive) == "function" && applet.isActive ) {
499 debug_add( "applet.isActive is " + typeof(applet.isActive) ); 555// debug_add( "applet.isActive is " + typeof(applet.isActive) );
500 ready =1; 556// ready =1;
501 } 557// }
502 if (typeof(applet_reportsLoaded_list["$appletName"]) !="undefined" && applet_reportsLoaded_list["$appletName"] != 0 ) { 558// if (typeof(applet_reportsLoaded_list["$appletName"]) !="undefined" && applet_reportsLoaded_list["$appletName"] != 0 ) {
503 debug_add( "applet reports that it is loaded " + applet_reportsLoaded_list["$appletName"] ); 559// debug_add( "applet reports that it is loaded " + applet_reportsLoaded_list["$appletName"] );
504 ready =1; 560// ready =1;
505 } 561// }
506 applet_isReady_list["$appletName"]=ready; 562// applet_isReady_list["$appletName"]= ready;
507 return(ready); 563// return(ready);
508 } 564// }
509 565//
510 applet_initializeAction_list["$appletName"] = function (state) { 566// applet_initializeAction_list["$appletName"] = function (state) {
511 applet_setState_list["$appletName"](state); 567// applet_setState_list["$appletName"](state);
512 }; 568// };
513 569//
514 applet_submitAction_list["$appletName"] = function () { 570// applet_submitAction_list["$appletName"] = function () {
571// if (! applet_isReady_list["$appletName"] ) {
572// alert("$appletName is not ready");
573// }
515 applet_getState_list["$appletName"](); 574// applet_getState_list["$appletName"]();
575// $submitActionScript
516 getQE("$returnFieldName").value = getApplet("$appletName").sendData(); //FIXME -- not needed in general? 576// //getQE("$answerBox").value = getApplet("$appletName").getAnswer(); //FIXME -- not needed in general?
517 }; 577// };
518 </script> 578 </script>
519 579
520END_HEADER_SCRIPT 580END_HEADER_SCRIPT
521 581
522package FlashApplet; 582package FlashApplet;
523@ISA = qw(Applet); 583@ISA = qw(Applet);
524 584
525 585
586=head2 Insertion HTML code for FlashApplet
526 587
527=pod 588=pod
528 589
529The secret to making this applet work with IE in addition to normal browsers 590The secret to making this applet work with IE in addition to normal browsers
530is the addition of the C(<form></form>) construct just before the object. 591is the addition of the C(<form></form>) construct just before the object.
591 652
592 653
593package JavaApplet; 654package JavaApplet;
594@ISA = qw(Applet); 655@ISA = qw(Applet);
595 656
596 657=head2 Insertion HTML code for JavaApplet
597 658
598=pod 659=pod
599 660
600The secret to making this applet work with IE in addition to normal browsers 661The secret to making this applet work with IE in addition to normal browsers
601is the addition of the C(<form></form>) construct just before the object. 662is the addition of the C(<form></form>) construct just before the object.
638 width = "$width" 699 width = "$width"
639 height = "$height" 700 height = "$height"
640 MAYSCRIPT 701 MAYSCRIPT
641 > 702 >
642 $javaParameters 703 $javaParameters
704
705 Sorry, the Applet could not be started. Please make sure that
706Java 1.4.2 (or later) is installed and activated.
707(<a href="http://java.sun.com/getjava">click here to install Java now</a>)
643 </applet> 708 </applet>
644END_OBJECT_TEXT 709END_OBJECT_TEXT
645 710
646sub new { 711sub new {
647 my $class = shift; 712 my $class = shift;

Legend:
Removed from v.5661  
changed lines
  Added in v.5994

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9