Kbase P55728: Embedded SpeedScript compiler (e4gl-gen.p) doesn't recognize backticks inside a tag.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
SYMPTOM(s):
Embedded SpeedScript compiler (e4gl-gen.p) doesn't recognize backticks inside a <script> tag.
WebSpeed ignores backticks
Using src = "`myProgressVar`" inside a script tag fails with WebSpeed.
e4gl-gen.p
FIX:
The workaround for this issue is in stead of using the ´ inside the <script> tag, assign the tag to a progress variable.
E.g. change:
<script language="SpeedScript">
DEF VAR myProgressVar AS CHAR.
</script>
<script language="JavaScript" src="`myProgressVar`"></script>
To the following:
<script language="speedscript">
DEF VAR myvar AS CHAR.
DEF VAR myProgressVar AS CHAR.
myvar = '<SCRIPT language="javascript" src="`myProgressVar`"><~/script>'.
</script>
<H3> Now running Javascript ... </H3>
`myvar`
<H3> Javascript done... </H3>