[Sage] Feature Request

Ganeshan (Work) ganeshan at skyscape.com
Wed Apr 26 09:40:08 EDT 2006


Hello,

Consider the following XUL called SageTest.xul, it is part of a chrome
application say myextension.

<window id="yourwindow" title="RSS Viewer"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<toolbox>
  <toolbar id="nav-toolbar">
    <toolbarbutton label="Back"/>
    <toolbarbutton label="Forward"/>
    <textbox id="urlfield"/>
  </toolbar>
</toolbox>
<hbox flex="1">
  <iframe id="content-sage" src="chrome://sage/content/sage.xul" flex="1"/>
  <splitter collapse="before" resizeafter="farthest">
    <grippy/>
  </splitter>
<browser src="http://www.mozilla.org" type="content" flex="1"/>
</hbox>
</window>

This will display Sage and a browser. When I use the following URL
chrome://myextension/content/SageTest.xul, Sage is displayed along with the
embedded browser. When I click on a feed, I would like to display the feed
url in the embedded browser instead of last browser window that was open. Is
it possible to provide a setting on property , to associate the embedded
window ID and sage in iframe? Please help.

Thanks.
Ganeshan




More information about the Sage mailing list