Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P02
-
Fix Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03, 4.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Support Case References:Support Case #12989 - https://icesoft.my.salesforce.com/5007000000kxFTq
-
Workaround Exists:Yes
-
Workaround Description:
Description
When an ace:menuItem (used in an ace:menuBar for this scenario) value attribute is dynamically updated, the update cases the component to lose a span tag responsible for some styling:
Before:
<a...>
<span class="wijmo-wijmenu-text">
<span class="ui-icon ui-icon-home wijmo-wijmenu-icon-left"></span>
<span class="wijmo-wijmenu-text">Home</span>
</span>
</a>
After:
<a...>
<span class="ui-icon ui-icon-home wijmo-wijmenu-icon-left"></span>
<span class="wijmo-wijmenu-text">Home</span>
</a>
Before:
<a...>
<span class="wijmo-wijmenu-text">
<span class="ui-icon ui-icon-home wijmo-wijmenu-icon-left"></span>
<span class="wijmo-wijmenu-text">Home</span>
</span>
</a>
After:
<a...>
<span class="ui-icon ui-icon-home wijmo-wijmenu-icon-left"></span>
<span class="wijmo-wijmenu-text">Home</span>
</a>
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Arran Mccullough
created issue -
Arran Mccullough
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | Case12989Example2.war [ 17345 ] | |
Attachment | Case12989Example2.zip [ 17346 ] |
Ken Fyten
made changes -
Assignee | Arturo Zambrano [ artzambrano ] | |
Fix Version/s | EE-4.0.0.GA [ 11171 ] | |
Fix Version/s | EE-3.3.0.GA_P03 [ 11572 ] | |
Assignee Priority | P2 [ 10011 ] |
Ken Fyten
made changes -
Workaround Description | A workaround consists of placing the menu inside an h:panelGroup, and inside that same group, adding plan a <span> element with style="display:none;" and rendering the item label inside of it as well. It won't be visible to the user, and since this span will be changing its content at the same time as the menu item label, and because it doesn't have its own client id, it will force the entire panel group (containing the menu) to be completely updated, and this way all the extra nodes and styling are re-applyied by the Wijmo Menu library after the update. One of these <span>'s would have to be added for each menu item label that changes. | |
Workaround Exists | Yes [ 10007 ] |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Arturo Zambrano
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 4.1 [ 11375 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |