Menu

#914 Dynamic HTML does not work

v4.0.1
closed
5
2012-08-14
2010-06-11
Tyito
No

The OS is Windows Vista Home Premium SP2.
A dynamic HTML program on v3.2.0.1 does not work on v4.0.1.
Calling ooRexx routine from javascript raises an error like 'Assign an object'.
Calling ooRexx routine from a html event results nothing.

<html>
<head>
<script language="javascript">
function Go()
{
RxGo()
}
</script>
<script language="Object REXX">
::routine RxGo public
window~alert('###')
return ''
</script>
</head>
<body>
<input type="button" onclick="Go()" language="javascript" value="GoJavascript"/>
<input type="button" onclick="RxGo()" language="Object REXX" value="GoRexx"/>
</body>
</html>

Discussion

  • Tyito

    Tyito - 2010-06-11

    Simple DHTML example

     
  • Mark Miesfeld

    Mark Miesfeld - 2010-06-16

    The Windows Scripting Host was disabled in 4.0.0 in order to be able to release the 4.0.0 interpreter. It was felt that the 4.0.0 interpreter had a large number of benefits for the Rexx community as a whole. WSH, unfortunately, was implemented use some undocumented entries into the intrepreter that have been described has hacks. The refactored 4.0.0 interpreter no longer has those hacks.

    WSH needs to be rewritten to work within the documented framework of the interpreter, a formidable task. The intent was, and still is, to do that work and re-enable WSH in some future release. However, at this point there is no time table for that work.

    I'm closing this as invalid, since it is not a bug but rather is operating as planned. Feel free to open a request for enhancement to re-enable WSH. A RFE is the appropriate thing to do.

     

Anonymous
Anonymous

Add attachments
Cancel