This answers my question.  I apologize for overlooking this in the 
documentation.

I was hoping that I could define one placeholder in the customize.xxe_gui file 
that is replaced by all of the menus in the configuration.xxe file, but it 
appears that you have to declare a placeholder per configuration specific menu. 
 The solution you suggest solution will work great for my application.  
However, in the general sense, it seems a little awkward to have a dependency 
from the customize.xxe_gui to a particular configuration.  

I'll attempt to illustrate the problem.  Assume a user has two configurations 
installed: Config1 and Config2.  Config1 wants to define the menus "A" and "B". 
 Config 2 wants to define the menus "C" and "D".  Right now, the xxe_gui file 
would have to declare all 4 placeholders in order to accommodate either 
configuration.  It would be nice if you could define a "menuGroup" in the 
xxe_gui file that would act as a placeholder for all configuration-specific 
menus defined in the current configuration.  When Config1 is loaded, the 
menuGroup is replaced by menus "A" and "B".  When Config2 is loaded, the 
menuGroup is replaced by menus "C" and "C".

I can workaround this particular problem in my application with the approach 
you suggested because I'm only bundling one configuration with XXE.  I just 
think what I suggested above might be a more flexible solution for 
configuration developers.

Cheers,
Mike


-----Original Message-----
From: Hussein Shafie [mailto:[email protected]]
Sent: Wed 4/4/2007 5:20 AM
To: Santy, Michael
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] multiple menus specified in configuration
 
Santy, Michael wrote:
> 
> I am developing an XXE configuration that specifies multiple menus and
> have modified the xxe_gui file to include a the configSpecificMenuItems,
> but only the last menu defined in my configuration replaces the
> configSpecificMenuItems.  Is there any way to replace the
> configSpecificMenuItems with all menus specified in a configuration?

I'm sorry but I'm not sure to understand.

An XXE configuration file may contain multiple menus, though it is not
common to do so.

Such menus are required to have different *name* *attributes*. See
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/menu.html

In such case, the XXE GUI file must define multiple ``pointers'' for
these menus.

Each ``pointer'' must refer to the name attribute of a menu defined in
the configuration file.

How to do this is explained here:
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/multiple_menus.html


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20070404/886c0918/attachment.htm
 

Reply via email to