Pop-up windows using Program D

View: New views
1 Messages — Rating Filter:   Alert me  

Pop-up windows using Program D

by spiker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am currently testing the Program D distribution "out of the box" on Windows XP,  with no custom code, jsp, or html.  I am trying to pop up a window through the Program D application.  To do this I added the following to the aiml.aiml file in the C:\var\ProgramD\resources\testing directory:

<category>
<pattern>GOOGLE *</pattern>
<template>
<![CDATA[">]]>  Google Search  <![CDATA[]]>
</template>
</category>  

When I try to run this in IE I get an "object error".  I then run this through Firefox with Firebug enabled and it does not work there either.  Breakpoints in programd.js show that the response is null.

I have tried many variations of the above, and also have tried popping up a window with the "<script language="JavaScript)" tags with the same results.  

<category>
<pattern>SAY HI</pattern>
<template>
<script language="javascript">window.alert('hi!');</script>
</template>
</category>

I have verified that javascript is enabled in core.xml: 

<entry key="programd.javascript-allowed">true</entry>


Does anyone see any reason why this does not work?

Thanks!

LightInTheBox - Buy quality products at wholesale price