htmlView: Can't have embedded JavaScript in HTML view
-----------------------------------------------------

                 Key: XAP-430
                 URL: https://issues.apache.org/jira/browse/XAP-430
             Project: XAP
          Issue Type: Bug
          Components: Widgets: Other
         Environment: ff2
            Reporter: Matt Carbone


It is not possible to have javascript in an HTML view within a xap application. 
This should work, similar to having a <script> block in the html body.

<xal xmlns="http://openxal.org/ui/html";>
    <freePane width="1024px" height="768px">
        <htmlView width="500px" height="500px">
            <script language="JavaScript" type="text/javascript">
                function foo(){
                alert('eee');
                }
            </script>
            <div>
                <input type="button" value="yardog" onclick="foo();" />
            </div>
        </htmlView>
    </freePane>
</xal>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to