PrimeFaces日历处于焦点时不显示日历

PrimeFaces日历处于焦点时不显示日历,primefaces,jsf-2,Primefaces,Jsf 2,使用JSF2.3和PrimeFaces7.0。当我的页面显示时,它会呈现文本框部分,但当我点击它将小部件置于焦点时,不会显示日历。 有什么想法吗?我有下面的xhtml manualsponsorrpt.xhtml <h:head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <h:outputS

使用JSF2.3和PrimeFaces7.0。当我的页面显示时,它会呈现文本框部分,但当我点击它将小部件置于焦点时,不会显示日历。 有什么想法吗?我有下面的xhtml

manualsponsorrpt.xhtml

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <h:outputStylesheet name="css/burnsideweb.css" />
        <title>Manual Sponsor Table Report Generator</title>
    </h:head>
    <h:body>
        <f:view>
            <h:form id="manrptForm" rendered="#{menubean.sponsorAdminAuthorized}">
                <h:outputText value="Manual Sponsor Table Report Generator" styleClass="title"/>
                <p:messages showDetail="true" showSummary="true" >
                    <p:autoUpdate />
                </p:messages>
                <h:panelGrid columns="3" styleClass="tableComp" >
                    <p:calendar id="startDate" value="#{sponsorBean.startDate}" />
                    <h:outputText value=" to "/>
                    <p:calendar id="endDate" value="#{sponsorBean.endDate}" />
                    <p:commandButton value="Return to Sponsor Table Admin" action="sponsor"
                                       id="return"/>
                    <h:outputText value="  "/>
                    <p:commandButton value="Generate Report" action="#{sponsorBean.runManualReports}"
                                       id="process" />
                </h:panelGrid>
             </h:form>
            <h1><h:outputText value="You are trying to access one of the LLTS custom apps from outside the Dashboard; this is not permitted. Please log into the dashboard at http://pm.llts.com:9090/LingoApps/faces/menu/menulogon.jsp and access the custom app you want from there."  
                          rendered="#{!(menubean.sponsorAdminAuthorized)}"/></h1>            
        </f:view>
    </h:body>

手动赞助商表报表生成器

当my

F12控制台中出现任何Javascript错误时?我觉得你的代码还可以。有一段时间没有在PF中编写代码了,但也许你需要在你的日历“onfocus”中添加javascript函数,并告诉它显示日历?或者在日历输入文本中,你必须检查F12,我刚刚创建了MVCE,它对我来说运行良好。您是否可以下载此zip:Unzip并运行
mvn clean jetty:run
,然后在F12控制台中按F12Any javascript errors以导航到无javascript错误?我觉得你的代码还可以。有一段时间没有在PF中编写代码了,但也许你需要在你的日历“onfocus”中添加javascript函数,并告诉它显示日历?或者在日历输入文本中,你必须检查F12,我刚刚创建了MVCE,它对我来说运行良好。您是否可以下载此zip:Unzip并运行
mvn clean jetty:run
,然后按F12键导航至无javascript错误