UltimaMenuRenderer - ui-icon support

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
Hamsterbau
Posts: 409
Joined: 28 Dec 2011, 17:44

08 Sep 2017, 10:58

Hi,

is it possible for the next release just change the UltimaMenuRenderer.java, so not only font awesome will be supported? Support for ui-icon would be great and only the following change should do the trick:

Code: Select all

if(icon.contains("fa fa-") || icon.contains("ui-icon ui-icon-")) {
    writer.writeAttribute("class", icon, null);
} else {
    writer.writeAttribute("class", "material-icons", null);
    writer.writeText(icon, null);
}
Thanks,

Daniel
Primefaces 8.0.7 (PF Extensions 8.0)
JSF: Mojarra 2.3.2 (Spec 2.3) - running on WildFly 22

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

19 Sep 2017, 09:44

Thanks a lot! I added it into next release.

Hamsterbau
Posts: 409
Joined: 28 Dec 2011, 17:44

19 Sep 2017, 13:00

Great! I added it currently directly in a theme JAR, but if this functionality will be implemented directly in the theme i do not have to care on everey new release to check my implementation to be compatible :D

Thanks a lot.
Primefaces 8.0.7 (PF Extensions 8.0)
JSF: Mojarra 2.3.2 (Spec 2.3) - running on WildFly 22

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

22 Sep 2017, 16:08

Yes, I added it into next release. Thanks for the update!

Post Reply

Return to “Ultima - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest