On 8/4/05, Alan Chandler <[EMAIL PROTECTED]> wrote:
> 
> On Thursday 04 August 2005 02:30, Pablo Ruggia wrote:
> > You can create a Boder component that receives as a parameter the menu, 
> so
> > you can change the menu between applications and also in the same
> > application too.
> >
> ....
> I wrote
> > > > My first component is a variation on the Border class/page from the
> > >
> > > workbench example - except that I want this component to have two 
> levels
> > > of menu.
> 
> That is infact exactly what I am doing.
> 
> The first level menu is the application menu - hence the desire to get the
> application name, so that I can check which tab to activate as selected, 
> the
> second level menu is a page level menu within an application.



So then pass your application name as a parameter too. You can get that name 
from everywhere, like a configuration file or a constant and pass it as a 
parameter.



This component takes as a parameter a string array of the list of page names
> for the second level menu - so each application that uses it will have to
> populate that string array and pass it over to the component.
> 
> --
> Alan Chandler
> http://www.chandlerfamily.org.uk
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to