Yannis, (see comments) > I also tryied to find out, what the problem with the > "this.color.style=..." > depends on. > Actually, there are no ' (what are they called in english, apostroph or > somethinhg similar) in the generated page including the colorname: I usually call them "single quote"s in this context. ;) > > <label style="cursor:hand;font-family:verdana;font-size:12px" > onMouseOver="this.style.color=red" onMouseOut="this.style.color=black" > onClick="toggleMenuDisplay(document.getElementById('TDLnew'), > document.getElementById('TDLnew_img'))"> <img id="TDLnew_img" > src="images/Rarrow.gif" style="border-style:none"/> New </label><div > id="TDLnew" style="display:none"> > > In your property file, the apostrophs are included: > > dd.menu.expander=<label > style\="cursor\:hand;font-family\:verdana;font-size\:11px;font-wei > ght\:bold" > onMouseOver\="this.style.color\='red'" > onMouseOut\="this.style.color\='black'" > onClick\="toggleAppMenuDisplay(document.getElementById(''{0}''), > document.getElementById(''{1}''))"> {2} </label> > > Why that happens, it's something i can't explain ! > hmm... I'll try it myself, but I think doubling the single quotes may do the trick. such as ''. I think it has to do with the way the string is parsed. > > So, that what i know would like to do is, create my own menues, populated > through a collection class or something similar (Array or so). > Do you think that it's possible and if yes, how ??? > Anyway, i should read the manual sometimes more, cause my english is > actually bad. > > Yannis > I'm not sure I know what you mean. If you are talking about creating menus programatically, yes it is possible. Just instantiate a MenuComponent object, set it's attributes, add however many more subcomponents, and do a menuRepository.addMenu(theMenu). You can get a handle to the MenuRepository as an application scope attribute using the following class field as the key: com.fgm.web.menu.MenuRepository.MENU_REPOSITORY_KEY which is = "com.fgm.web.menu.MENU_REPOSITORY" Note that the UseMenuDispalyerTag object looks for the repository using this key. Then you can just display the menu using the tags. step by step: 1. Create your menu using com.fgm.web.menu.MenuComponent 2. Get a handle to the menuRepository using "com.fgm.web.menu.MENU_REPOSITORY" 3. add your menu by: menuComponent.addMenu(theMenu); 4. Display the menus from JSP using the tags that's it Let me know if you have any other problems or questions. :) Scott