Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-1.3.1.GA_P05
-
Fix Version/s: EE-1.3.1.GA_P07
-
Component/s: None
-
Labels:None
-
Environment:Any
-
Assignee Priority:P1
-
Support Case References:Support Case 14210:- https://icesoft.my.salesforce.com/5000g00001mfHPh
Description
The mobi:contentMenuItem has an 'icon' attribute that allows specifying the name of a FontAwesome icon to display it next to the label. This feature is very limited because it can only be used for the simplest case of FontAwesome icons. It doesn't allow stacking, specifying different icon sizes, arbitrary styling or normal characters. This improvement is to add the capability to specify a complex icon configuration.
Activity
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Attachment | screenshot icon facet.png [ 22676 ] |
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Assignee Priority | P1 [ 10010 ] |
| Fix Version/s | EE-1.3.1.GA_P07 [ 13122 ] | |
| Fix Version/s | EE-1.3.1.GA_P06 [ 13117 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #51961 | Thu Sep 28 13:39:33 MDT 2017 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/contentmenuitem/ContentMenuItemRenderer.java
MODIFY
/icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/contentmenuitem/ContentMenuItemMeta.java
|
| Description | The mobi:contentStackMenu has an 'icon' attribute that allows specifying the name of a FontAwesome icon to display it next to the label. This feature is very limited because it can only be used for the simplest case of FontAwesome icons. It doesn't allow stacking, specifying different icon sizes, arbitrary styling or normal characters. This improvement is to add the capability to specify a complex icon configuration. | The mobi:contentMenuItem has an 'icon' attribute that allows specifying the name of a FontAwesome icon to display it next to the label. This feature is very limited because it can only be used for the simplest case of FontAwesome icons. It doesn't allow stacking, specifying different icon sizes, arbitrary styling or normal characters. This improvement is to add the capability to specify a complex icon configuration. |
| Summary | mobi:contentStackMenu, add support for complex FontAwesome icon combinations | mobi:contentMenuItem, add support for complex FontAwesome icon combinations |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Assignee | Ken Fyten [ ken.fyten ] | Arturo Zambrano [ artzambrano ] |
| Fix Version/s | EE-1.3.1.GA_P06 [ 13117 ] |
| Support Case References | Support Case 14210:- https://icesoft.my.salesforce.com/5000g00001mfHPh |
| Field | Original Value | New Value |
|---|---|---|
| Description | The mobi:contentStackMenu has an 'icon' attribute that allows specifying the name of a FontAwesome icon to display it next to the label. This feature is very limited because it can only be used for the simplest case of FontAwesome icons. It doesn't allow stacking, specifying different icon sizes and inverting colours. This improvement is to add the capability to specify a complex icon combination. | The mobi:contentStackMenu has an 'icon' attribute that allows specifying the name of a FontAwesome icon to display it next to the label. This feature is very limited because it can only be used for the simplest case of FontAwesome icons. It doesn't allow stacking, specifying different icon sizes, arbitrary styling or normal characters. This improvement is to add the capability to specify a complex icon configuration. |

The icon facet is actually working for me, as seen in the screenshot. I just copy/pasted the facet markup and put it inside the 'Page 1' content menu item.
The iconPlacement and icon attributes are actually not necessary when using the facet, but the facet will still be displayed if those attributes are declared, since it overrides the icon attribute.
I tested this on Chrome, FF, and Edge.
This was only committed to http://dev.icesoft.com/svn/ossrepo/icemobile/trunk/icemobile
Did it have to be committed somewhere else?