Spinner won't display +/- controller

76 Views Asked by At

I'm using primefaces version 5.3 and I want to show a basic spinner which I have copy-pasted from primefaces showcase.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
 xmlns:h="http://java.sun.com/jsf/html"
 xmlns:f="http://java.sun.com/jsf/core"
 xmlns:p="http://primefaces.org/ui"
 xmlns:pm="http://primefaces.org/mobile">

<h:head></h:head>
<h:body>
 <pm:page>
    <pm:content>

        <h:form>
            <h:panelGrid columns="2" cellpadding="5" class="ui-grid">

                <h:outputLabel for="basic" value="Basic Spinner: " />
                <p:spinner id="basic" value="#{spinnerView.number1}" />
            </h:panelGrid>
        </h:form>

    </pm:content>
</pm:page>
</h:body>
</html>

The incrementer/decrementer part won't show.

0

There are 0 best solutions below