Closed
Bug 16480
Opened 25 years ago
Closed 24 years ago
Allow overriding of menu "value" in overlay menu items
Categories
(Core :: XUL, defect, P3)
Tracking
()
VERIFIED
WONTFIX
M15
People
(Reporter: cmanske, Assigned: waterson)
Details
When we use a menu item in an overlay, the menu text ("value" attribute) is set in the overlay XUL either directly or in an associated observer. We need to be able to allow different text by setting the value in the "user" of the overlay item by setting a different "value" string. E.g.: in the overlay: <broadcaster id="cmd_1" value="item1" oncommand="foo()"> <menuitem id="menu_1" observes="cmd_1"> User of the overlay: <menuitem id="menu_1" value="My name"> The text on the menu should be "My name", not "item1", but the command would still be "foo()" Note that this currently works when you set an alternate name for a titledbutton in a toolbar, though hyatt thinks this is actually a bug!
Updated•25 years ago
|
Assignee: hyatt → waterson
Comment 1•25 years ago
|
||
reassigning to waterson per hyatt.
Reporter | ||
Comment 2•25 years ago
|
||
I discussed this with Chris and if there's no clear way to know which "setter" of a value attribute should be used, we can live with repeating the value and oncommand attributes in cases where we need to have different "value" text, so we don't reference the overlay item for that case.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M15
Assignee | ||
Comment 3•24 years ago
|
||
lemme know if this is a problem
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 4•24 years ago
|
||
No problem. I've figure out ways to do what I need.
Comment 5•22 years ago
|
||
mass-verifying WontFix bugs which haven't changed since 2001-12-31. use the search string "BoletusEdulis" if you want to filter out this msg.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•