1

我正在使用 primefaces 5.3 版,我想展示一个基本的微调器,它是从 primefaces 展示中复制粘贴的。

<!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>

增量器/减量器部分不会显示。

4

0 回答 0