fieldset icon problem

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
weikeongho
Posts: 2
Joined: 03 Oct 2016, 08:48

08 Oct 2016, 16:19

I've bought Ultima theme and the steps I took are...

add ultima theme to project library
change the web.xml
add ultima-layout-xxx.zip to resources/ultima-layout-folder

even added primefaces-ultima-blue to resources folder, as did with the sass folder.

When I run the fieldset, I get the following on Firefox.

Image


and in safari, I get
Image


The icon should be a plus sign instead of what I see.

Can anyone help point out what's wrong?

Thanks in advance

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

12 Oct 2016, 10:38

Interesting! Can you please try the following components for us to replicate?

Code: Select all

<h:outputText value="CommandButton-1" />
<p:commandButton type="button" value="With Icon" icon="ui-icon-plus" />

<h:outputText value="CommandButton-2" />
<p:commandButton type="button" value="With Icon (Right Side)" icon="ui-icon-send" iconPos="right"/>
And can you please attach a screenshot?

weikeongho
Posts: 2
Joined: 03 Oct 2016, 08:48

14 Oct 2016, 18:48

Image

Code: Select all

<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <h:form>
            <p:growl id="msgs" showDetail="true" />
            <h:outputText value="CommandButton-1" />
            <p:commandButton type="button" value="With Icon" icon="ui-icon-plus" />

            <h:outputText value="CommandButton-2" />
            <p:commandButton type="button" value="With Icon (Right Side)" icon="ui-icon-send" iconPos="right"/>
            <p:fieldset legend="Toggleable" toggleable="true" toggleSpeed="500">

                <h:panelGrid columns="2" cellpadding="5">
                    <h:outputText value="Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, The_Godfather, parallels the young Vito Corleone's rise with his son Michael's spiritual fall, deepening The_Godfather's depiction of the dark side of the American dream.
                                  In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy,
                                  killing the local Black Hand Fanucci after he demands his customary cut of the tyro's business. With Fanucci gone, Vito's communal stature grows."></h:outputText>

                    <h:outputText value="Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, The_Godfather, parallels the young Vito Corleone's rise with his son Michael's spiritual fall, deepening The_Godfather's depiction of the dark side of the American dream.
                                  In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy,
                                  killing the local Black Hand Fanucci after he demands his customary cut of the tyro's business. With Fanucci gone, Vito's communal stature grows."></h:outputText>
                </h:panelGrid>
            </p:fieldset>
        </h:form>
    </h:body>

</html>


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

15 Oct 2016, 22:42

Which files you have in primefaces-ultima-blue and ultima-layout-xxx? I think you don't have fonts (fonts/MaterialIcons.xx) or _font.scss

Post Reply

Return to “Ultima - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests