[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] adding a menu in Sausalito
- Subject: Re: [cobalt-developers] adding a menu in Sausalito
- From: Michael Stauber <devel@xxxxxxxxxxxxxx>
- Date: Tue Jul 9 11:32:05 2002
- Organization: SOLARSPEED.NET
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Hi Gavin,
> Has anyone had much luck in adding a new root menu to the Sausalito
> architecture, I've tried following the example in the dev guide but no
> luck
The DevGuide is essentially a piece of junk. :o(
Lets see what I can do for you.
Here is a sample menu that works fine on the Qube3, but NOT on the RaQ550:
----------------- /usr/sausalito/ui/menu/solarspeed/avsuite/ -----------------
<item
id="avsuiteMenu"
label="AV-Suite"
description="AV-Suite: Protects all incomming and outgoing emails against
common computer virii."
url="/solarspeed/avsuite/avsplash.html">
<parent id="base_administration" order="100"/>
</item>
----------------- /usr/sausalito/ui/menu/solarspeed/avsuite/ -----------------
That's a top level service, so it'll show up on the left side in
"Administration" below "Usage Information" and "Active Monitor".
Actually I got a screenshot of it:
http://www.solarspeed.net/images/av_settings.gif
Although the above menu works just fine on the Qube3, it doesn't on the
RaQ550. It simply refuses to show up.
So there I use the following approach:
----------------- /usr/sausalito/ui/menu/solarspeed/avsuite/ -----------------
<item
id="avsuiteMenu"
label="AV-Suite"
description="AV-Suite: Protects all emails traffic going through your
server appliance against common computer virii."
requiresChildren="1"
url="/solarspeed/avsuite/avsplash.html"
>
<parent id="base_sysmanage" order="100">
<access require="serverConfig"/>
</parent>
</item>
----------------- /usr/sausalito/ui/menu/solarspeed/avsuite/ -----------------
The tag "parent id" is kinda important here. Apparently the Qube and the
RaQ550 have kinda different parent ids for the default stuff.
--
With best regards,
Michael Stauber
mstauber@xxxxxxxxxxxxxx
Unix/Linux Support Engineer