diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-30 18:58:26 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-30 18:58:26 +0000 |
commit | 4723a495f0682128a612aa0c59414214a6316554 (patch) | |
tree | b5a8982afd3db6109bc3ebc0fe9dd40f37895d47 /java/sca/modules/domain-manager/src/main/resources/composite.html | |
parent | 5b25a38af216bbf60a0804068678849dca338ff7 (diff) |
Simplified how widgets get loaded in the domain manager UI iframes. Moved some of the header text from the widgets to the main pages, as in a mashup you don't need these headers in each widget.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@681176 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 | 46 |
1 files changed, 10 insertions, 36 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 bbf2b172b6..fa6668c693 100644 --- a/java/sca/modules/domain-manager/src/main/resources/composite.html +++ b/java/sca/modules/domain-manager/src/main/resources/composite.html @@ -20,45 +20,19 @@ <head> <title>SCA Domain - Domain Composite</title> -<script type="text/javascript" src="../composite/composite.js"></script> - -<script language="JavaScript"> - - //@Reference - var toolbarGadget = new Reference("toolbarGadget"); - - //@Reference - var compositeGadget = new Reference("compositeGadget"); - - function toolbarGadget_getResponse(html) { - var gadget = document.getElementById('toolbarGadget'); - var content = gadget.contentWindow.document; - content.open(); - content.write(html); - content.close(); - } - - function compositeGadget_getResponse(html) { - var gadget = document.getElementById('compositeGadget'); - var content = gadget.contentWindow.document; - content.open(); - content.write(html); - content.close(); - } - - function init() { - toolbarGadget.get('', toolbarGadget_getResponse); - compositeGadget.get('', compositeGadget_getResponse); - } - -</script> - <link rel="stylesheet" type="text/css" href="manager.css"> </head> -<body onload="init()"> - <iframe id="toolbarGadget" style="top: 0px; left: 0px; width: 100%;"></iframe> +<body> + <iframe id="toolbarGadget" src="toolbar-gadget.html" style="top: 0px; left: 0px; width: 100%;"></iframe> + <br><br> + + <span class=hd1> + SCA Domain<br><br> + Domain Composite <a href="/composite/"><img src="icons/feed-icon.png" border="0"></a> + </span> <br> - <iframe id="compositeGadget" style="left: 0px; width: 100%; height: 100%;"></iframe> + + <iframe id="compositeGadget" src="composite-gadget.html" style="left: 0px; width: 100%; height: 100%;"></iframe> </body> </html> |