On Thursday 04 August 2005 06:48, Pablo Ruggia wrote:
...
>
> 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.

mmmm.

Now you've said that, perhaps I can pass over the equivalent of the properties 
file - ie the org.apache.hivemind.Messages object returned with a 
getMessages() call - and have the component look for specific keys.  Start 
with "app-name", but also have "tab-names" etc as it does for the first level 
menu.

[In order to know what applications to put in the 1st level applications menu, 
my border component copies what the tapesty.workbench border component does 
and looks for keys in its local properties file.  I've change the key to 
"tab-names", get the message and split it using space as a delimeter.  I then 
use the individual localised messages derived from each of these and use the 
message as the text to display in the tab]
-- 
Alan Chandler
http://www.chandlerfamily.org.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to