Modena font icons not rendered correctly in commandbutton
Posted: 30 Aug 2015, 13:42
Hi
I am trying to adapt the data grid example provided with the Modena layout for my project and instead of displaying a Font Awesome icon in the command button, I would like to use a Modena material font icon instead. The problem I've got is that the icon is always rendered as a small green "^" symbol.
In the "modena-layout-1.0.1\tag\src\main\webapp\data.xhtml" file I have edit the code as follows:
The browser I'm using is Version 44.0.2403.155.
Is there anything that I can do to allow the Modena font icons to be used in this scenario or is it a bug with the layout?
Kind Regards
Paul
I am trying to adapt the data grid example provided with the Modena layout for my project and instead of displaying a Font Awesome icon in the command button, I would like to use a Modena material font icon instead. The problem I've got is that the icon is always rendered as a small green "^" symbol.
In the "modena-layout-1.0.1\tag\src\main\webapp\data.xhtml" file I have edit the code as follows:
Code: Select all
<p:commandButton icon="icon-check Fs15" update=":form1:carDetail" oncomplete="PF('carDialog').show()" styleClass="BlueTextButton RaisedButton">
<f:setPropertyActionListener value="#{car}" target="#{dataGridView.selectedCar}" />
</p:commandButton>
The browser I'm using is Version 44.0.2403.155.
Is there anything that I can do to allow the Modena font icons to be used in this scenario or is it a bug with the layout?
Kind Regards
Paul