3.0 beta 2

One "aw.js" in multi window app ?

Hello,

I use AW.UI.Grid in multi window application, main window has AW
definition:

...
     <script src="../../runtime/lib/aw.js"></script>
     ...


I am trying to save load time for child windows witch use AW.
Why such a command in a child window (parent's window.open) does not work ??

<script>     
   var Mygrid = new parent.window.opener.AW.UI.Grid;
   ...
</script>


ak
Adam Koles
July 13,
sorry should be:
<script>     
   var Mygrid = new parent.window.AW.UI.Grid;
   ...
</script>

grid shows at child window but is empty and generate planty of errors
saying that there is no definition of AW.
Adam Koles
July 13,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.