rendered paste body
<vbox flex="1" minWidth="500">
<menulist id="plcmenu" height="50" datasources="rdf:null" ref="http://www.mokosync.com/all-plugins">
<template>
<menupopup>
<menuitem uri="rdf:*" label="rdf:http://www.mokosync.com/rdf/plugin#name"/>
</menupopup>
</template>
</menulist>
<listbox flex="1" id = "plch" datasources="" ref="http://www.mokosync.com/all-plugins" minWidth="200" height="400">
<listhead>
<listheader label="Plugin"/>
<listheader label="file"/>
</listhead>
<template>
<listitem uri="rdf:*">
<listcell label="rdf:http://www.mokosync.com/rdf/plugin#name"/>
<listcell label="rdf:http://www.mokosync.com/rdf/plugin#file"/>
</listitem>
</template>
</listbox>
</vbox>
<script>
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
setElementDatasource("plcmenu", getURLFromFile(get_tmpfile(DTMP_CONFPL)));
setElementDatasource("plch", getURLFromFile(get_tmpfile(DTMP_CONFPL)));
</script>
---------------------
function setElementDatasource(ident, url)
{
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
var ds = document.getElementById(ident);
ds.datasources = url;
}