Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ajax/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 获取渲染日历中的选定日期_Java_Ajax_Primefaces_Calendar - Fatal编程技术网

Java 获取渲染日历中的选定日期

Java 获取渲染日历中的选定日期,java,ajax,primefaces,calendar,Java,Ajax,Primefaces,Calendar,我用来在primefaces中显示或隐藏日历的属性使得无法从日历中获取所选日期 我试着删除它,然后它工作得很好。 那么,我的代码有什么遗漏吗 <p:outputLabel style="width:20%" value="Time unit"></p:outputLabel> <p:selectOneRadio style="width:34%;margin-left:20%" id="choix" value="#{graphe.choix_aff}">

我用来在primefaces中显示或隐藏日历的属性使得无法从日历中获取所选日期

我试着删除它,然后它工作得很好。 那么,我的代码有什么遗漏吗

<p:outputLabel  style="width:20%" value="Time unit"></p:outputLabel>
 <p:selectOneRadio style="width:34%;margin-left:20%" id="choix" value="#{graphe.choix_aff}">
        <f:selectItem itemLabel="Month" itemValue="mois" />
        <f:selectItem itemLabel="Day" itemValue="jour" />
        <f:selectItem itemLabel="Hour" itemValue="heure" />
        <p:ajax update="panel"  listener="#{graphe.handleChange}" />           
 </p:selectOneRadio>


<p:outputPanel id="panel"  >   
 <p:outputLabel  style="width:20%" value="Analysis frame"></p:outputLabel>
<p:calendar  update="@form" style="width:600px" rendered="#{graphe.cal_affiche}" id="popup1" value="#{graphe.date1}" >
<p:ajax event="dateSelect"  listener="#{graphe.dateSelectedAction1}">
</p:ajax>
 </p:calendar>          


<p:commandButton value="View Graph"   actionListener="#{graphe.selected}" />    
多谢各位