diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-31 08:04:20 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-31 08:04:20 +0000 |
commit | 34f92700da268b74b52aa3f2b6c9e1e2da6ad591 (patch) | |
tree | f1521730f8d1713a46aa84f206d25e8506769412 /java/sca/modules/domain-manager/src/main/resources/composite.html | |
parent | f47f6707497e8645da513d6abbe9fe280e0b7fe2 (diff) |
Improved the Domain Manager widgets to use HTML divs for presentation and iframes for script isolation. This provides better control and performance of the layout while preserving isolation between the scripts of the individual widgets.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@681295 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/domain-manager/src/main/resources/composite.html')
-rw-r--r-- | java/sca/modules/domain-manager/src/main/resources/composite.html | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/java/sca/modules/domain-manager/src/main/resources/composite.html b/java/sca/modules/domain-manager/src/main/resources/composite.html index fa6668c693..33f4535499 100644 --- a/java/sca/modules/domain-manager/src/main/resources/composite.html +++ b/java/sca/modules/domain-manager/src/main/resources/composite.html @@ -20,19 +20,37 @@ <head> <title>SCA Domain - Domain Composite</title> +<script type="text/javascript" src="utils.js"></script> + <link rel="stylesheet" type="text/css" href="manager.css"> </head> <body> - <iframe id="toolbarGadget" src="toolbar-gadget.html" style="top: 0px; left: 0px; width: 100%;"></iframe> - <br><br> + <div id="toolbarGadgetDiv"></div> + <br> <span class=hd1> SCA Domain<br><br> Domain Composite <a href="/composite/"><img src="icons/feed-icon.png" border="0"></a> </span> <br> + Here is the list of SCA composites currently included as top-level composites in your SCA domain. + <br><br> + + <div id="compositeGadgetDiv"></div> - <iframe id="compositeGadget" src="composite-gadget.html" style="left: 0px; width: 100%; height: 100%;"></iframe> + <iframe id="toolbarGadget" src="toolbar-gadget.html"></iframe> + <iframe id="compositeGadget" src="composite-gadget.html"></iframe> </body> + +<script type="text/javascript"> + function ongadget(win, doc) { + if (doc == content(toolbarGadget)) { + toolbarGadgetDiv.innerHTML = doc.body.innerHTML; + } else if (doc == content(compositeGadget)) { + compositeGadgetDiv.innerHTML = doc.body.innerHTML; + } + return document; + } +</script> </html> |