[ http://issues.apache.org/jira/browse/XAP-78?page=comments#action_12448328 ] Trevor Oldak commented on XAP-78: ---------------------------------
Nope, i did some poking around. There're two text nodes because when you disable a menubar item, it gets a white drop shadow. The drop shadow isn't possible without some ugly css hacks, unless you add another text node behind the one you want to shadow. Changing the text attribute changes the drop shadow text, but not the text in front. > Widgets: MenuItem/ MenuBarItem: Cannot change text attribute value in > menuItem or menuBarItem > --------------------------------------------------------------------------------------------- > > Key: XAP-78 > URL: http://issues.apache.org/jira/browse/XAP-78 > Project: XAP > Issue Type: Bug > Components: Widgets > Reporter: Trevor Oldak > > You cannot change text attribute value in menuItem or menuBarItem. The XAL > DOM is correct, but the HTML DOM is not. > One interesting observation is that when you hit select all and copy the > page, and then paste it into notepad, it shows two copies of each > menuItem/menuBarItem. So, if you had a menuBaritem that said "Copy", pasting > the page into notepad would say "CopyCopy". changing the text attribute of > the menu item to "hello world" would make it say "hello worldCopy -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
